Search code examples
androidiosxamarinbluetoothbluetooth-lowenergy

Is it possible to broadcast over Bluetooth LE without targeting a device?


I am building an app with Xamarin and MvvmCross that requires the use of Bluetooth LE, but this question is pertaining to Bluetooth LE technology in general, not specific to any platform.

Reading tutorials, I noticed that when a device transmits data over Bluetooth LE, it's always targeting another Bluetooth device, so that no other device can acquire the transmission.

My question is, is it mandatory to target a device? Or can I just blindly broadcast the transmission and let any Bluetooth device acquire the transmission?

I am targeting both Android and iOS platforms, if that is relevant.

EDIT

Also, is it bad practice to blindly broadcast sensitive data? Does targeting a device guarantee security/data privacy?


Solution

  • It is not relavant if you use iOS or Android. The relevant part is the setup of the devices: One device acts as Master device and can connect to several slave devices. It is all about the setup and the roles which you allocate. You can also e.g. let a thermometer broadcast data and all BLE Smartphones which has access via the Protocal Stack (knows the UUID number) can retrieve data.