Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maximum number of peripherals on CoreBluetooth?

I am interested in working with BLE proximity sensor on iOS and have been looking up for a few answers to my query but could not find any solid ones.

1) Is there a maximum number of BLE slaves the CoreBluetooth can handle?

2) Will the slaves (about 10 devices) be able to be operated all at once i.e. if any slaves were to disconnect, master will be alerted while not affecting others?

like image 533
Cheng Avatar asked Nov 20 '12 08:11

Cheng


People also ask

What is CBPeripheral?

Overview. The CBPeripheral class represents remote peripheral devices that your app discovers with a central manager (an instance of CBCentralManager ). Peripherals use universally unique identifiers (UUIDs), represented by NSUUID objects, to identify themselves.

What is core Bluetooth?

The Core Bluetooth framework is an abstraction of the Bluetooth low energy protocol stack. That said, it hides many of the low-level details of the specification from you, the developer, making it much easier for you to develop apps that interact with Bluetooth low energy devices.

How do I enable ble on my Iphone?

On your iOS device go into "Settings-> Bluetooth" and turn on your BLE device. You should see the device listed in your available devices. Initially it might be described as simply "Keyboard" but eventually it will switch over to "Adafruit EZ-Key" followed by a four character identifier.


1 Answers

Theoretically, there is no limit to the number of Bluetooth LE devices that can be connected to a single iOS device (if the iOS device is acting as central and the LE devices as peripherals).

In practice, however, the limit seems to be somewhere above 20 LE devices being connected simultaneously to the iOS master. That number comes from both Bluetooth LE transmitter manufacturers and accessory developers that I've talked to. The exact figure will probably vary based on the particular iOS device involved and the transmitting properties of the Bluetooth LE accessories.

like image 136
Brad Larson Avatar answered Oct 11 '22 14:10

Brad Larson