-
• #2
What version of the Espruino firmware do you have? Manufacturer Data decoding got added ~6 months ago I think, so if you had an older version it wouldn't have been included.
Just FYI but I'd consider using
NRF.findDevices(print)
for what you're doing too, as it aggregates multiple advertising packets. -
• #4
That firmware should be fine. Since you blanked out the
data
array I can't see if the manufacturer data was actually in the advertising packet or not, but I'd be pretty sure it isn't if it's not being decoded.Which just leaves whether the data is the the 'scan response' packet - which would require an 'active' scan. That's something that you'd need a 'cutting edge' build for, and then I think
NRF.findDevices(print, {active:true})
should do it. -
• #5
@Gordon, I'm pretty sure that the manufacturer data is not in the packet since, I could not find the byte '0xff' that indicates the manufacturerData.
Gordon by the way , you are right. It is an active scan. I have been searching on doing an active scan using ESPRUINO
Let me try what you have suggested.
Thanks Again!!
-
• #7
Perhaps the device you're using to scan isn't in the beacon's whitelist? Sounds like that can cause issues sometimes - but I'm not sure what else to suggest.
If this were an official board I could spend a bit more time helping you out - but I can't afford to spent time on support for non-official boards.
Maybe someone else will be able to suggest something?
Hello Everyone!!
I have been trying to get advertisement data from a custom ble device(with nRF52832 chip) that has been advertising ambient pressure every 5 minutes.
When I use the below code snippet ,
But I could not get the manufacturerData that has been advertised, which can be seen in "nRF Connect" mobile application.
Simply I could not get the manufacturerData of 30 bytes, which is again shown in Raw data: part in mobile app.
Any help is greatly appreciated
Thanks in advance!!