Is it possible for a BTLE (4.0) peripheral to remain advertising after a central has connected, and could another central then also connect simultaneously?
I can find nothing addressing this clearly, while it is clear that a central can connect to n-many peripherals at once.
Introduction. Since Bluetooth 4.1, a peripheral device can connect to multiple centrals. Silicon Labs Bluetooth stack supports connection to multiple centrals simultaneously, with a maximum number of 32 centrals. This document shows how to handle multiple connections in your Bluetooth application.
Indeed it is possible to connect to more than one peripheral from your Android device.
In the BLE world, the central/peripheral difference is very easy to define and recognize: Central - the BLE device which initiates an outgoing connection request to an advertising peripheral device. Peripheral - the BLE device which accepts an incoming connection request after advertising.
The Bluetooth Core Specification Version 4 says this on page 200:
"The Periph- eral role is optimized for devices that support a single connection and are less complex than central devices. Devices supporting the peripheral role only require Controllers that support the Controller’s slave role. The Central role supports multiple connections and is the initiator for all connections with devices in the peripheral role. Devices supporting the central role require a Controller that support the Controller’s master role and generally supports more complex functions compared to the other LE GAP roles."
Which looks like a no to me, but it's not quite as specific as you might have hoped.
You can find a list of the adopted Bluetooth specifications from bluetooth.com (formerly bluetooth.org) at this link:
https://www.bluetooth.com/specifications/adopted-specifications
The quote above comes from Core Version 4.0 page 200 and is also available in the Core Version 4.2 on page 98.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With