Open binloan opened 4 years ago
I guess it's due to the fact that instead of merging both manufacturer data
packets - noble just overwrites them : https://github.com/noble/noble/blob/c4cd18a7a429bb832f6c4ca793be3faf9af884e9/lib/hci-socket/gap.js#L233
I built a script reading advertisements from surrounding BLE devices on my Mac. It works decent. However, once I switched over to Linux (RPi4) it broke. As it seems, the noble linux versions replaces the advertisement package
manufacturer data
frame with the scan responsemanufacturer data
frame (if both contain either manufacturer data). This doesn't happen on the Mac. There I'm receiving two separatediscover
callbacks with either advertisementmanufacturer data
or scan responsemanufacturer data
.Is there any way to work around/fix this? Thanks.