I am trying to determine if it is possible for multiple mobile devices to periodically talk to a single peripheral device using BLE communication. I know that simultaneous connections are not allowed with BLE so the app would have to be time sliced, connect to the peripheral device, downloading the data, and then disconnect from the peripheral device. Once disconnected, the peripheral device would start advertising again and another mobile device could connect, download the data, and disconnect again. The peripheral device would be talking to multiple mobile devices, however only talking to them one at a time. Also, my application only needs to update the mobile device once a minute and the amount of data that gets transferred is minimal.
One of my concerns is since the peripheral device would constantly be advertising, the app would need the ability after a successful connection and data download, to put the Bluetooth to sleep and then wake up once a minute and try to connect again. Otherwise my fear is that the same mobile device could be connecting and disconnecting to the peripheral device not allowing other devices to connect. Will Apple allow the app to have control of the Bluetooth or allow the Bluetooth to sleep?
My other concern is trying to make the app automatically remember and connect to the peripheral device at will without any user notification, except for the first time. The goal is to make the app straightforward and seamless where the user would not always be prompted once a minute to connect to the peripheral device.
Thanks in advance,
- Josh