Closed yene closed 7 years ago
Data comes from a scan response, the response data gets added to the previous advertisement and later replaces the manufacturer data. https://github.com/paypal/gatt/blob/master/linux/hci.go#L261
Raw bytes of the scan repsonse:
[2 1 4 0 81 120 104 243 123 152 16 2 10 0 4 22 83 81 67 7 255 0 0 0 84 0 0 184]
Same issue was reported in noble https://github.com/sandeepmistry/noble/issues/305
It seems my Wellcore iBeacon has additional manufacturer data, which replaces the existing in unmarshall.
As you can see it is the standard 25 byte iBeacon sequence, followed by
[255 0 0 0 84 0 0]
. I don't know for what the extra bytes are. The iBeacon works fine with iOS.