I developed a BLE device that acts as a master, and connects to sensors that are slaves. Now I want to develop an application that displays the data from my device (master) in real-time, so that application has to act as slave (advertizes).
So it seems its really impossible to develop any kind of app for this, besides on Linux maybe, or on Windows through a custom stack, but I would prefer to do this on a phone, and if possible not an iPhone.
Does anyone knows of any phone/tablet OS which supports this out of the box?
Working on the same type of cases and found that out of all platforms only iOS/Mac OS support both peripheral (slave) and central (master) roles.
For the peripheral role you will have to use CBPeripheralManager, and will have to setup your own service/characteristic. For the central you will have to use CBCentralManager, which will receive CBPeripheral objects through delegate notifications. Then you will have to query it for the services/characteristics/descriptors.
So I would say, today you are out of options for the peripheral role, only iOS/Mac OS.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments