please see the code
did you get the BLE advertising data from the packet?
we have the msgpack part handled and we have the advertising binary but we dont know how to translate that to data that is useful to us - readable text.
trying to make sure we can read the data off the advertising packet including the mac of the beacon / bluetooth device we are seeing.
Anyone able to help? we have the data unpacked but trying to see if there are any JS libraries to help with decoding the HEX data into readable text?
is there a better way to get support?
There’s no exists js library to parse whole data. But you can get RSSI and mac address from the data first. see the packet format.
Do you want get the iBeacon format? Please check the link
ok thank you we will look at this - we struggled to get them to parse properly. We are working with ibeacon. Do you have any working code samples that would allow us to get UUID, battery, rssi, mac from the beacon.
Please also check node-beacon-scanner’s parser. It supports iBeacon protocol. You may change a little code to match your requirements.