android-ble-made-easy
android-ble-made-easy copied to clipboard
Manufacturer Data
Hi,
I need to read the advertising data from a beacon (sensor device), so no connection is allowed. With this library I can read out from the advertising data the name, RSSI and MAC, but not the "manufacturer data" in which the beacon sends its user data.
`ble.scanAsync( duration = 2000, onDiscover = { device -> Log.d("Device", "Name: ${device.name}, RSSI: ${device.rsii}, MAC: ${device.macAddress}, advertisingId: ${device.advertisingId}") })
//There is no advertisingData: //device.advertisingData`
- Is it not possible to read the "manufacturer data" from a beacon with this library?
An example how manufacturer data look like: