You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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`
An example how manufacturer data look like:
![image](https://private-user-images.githubusercontent.com/91602464/268200166-5e09141e-6ddd-4f24-bc1b-e43f1719ef0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODA4MjAsIm5iZiI6MTczOTE4MDUyMCwicGF0aCI6Ii85MTYwMjQ2NC8yNjgyMDAxNjYtNWUwOTE0MWUtNmRkZC00ZjI0LWJjMWItZTQzZjE3MTllZjBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA5NDIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc0MzYyODNkZGVlZDdmMzdmOTY5OGJlNDU1MDNkNjE5NGI4ODcyZDhkOWIwM2ZmMTdiNjRmZGE5ZGFjYjUyYjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DAclW0wtRUxtSbjLSoBrSVngyqT6Uf5PVvWnOV6HeoA)
The text was updated successfully, but these errors were encountered: