These are chat archives for sandeepmistry/node-bleacon

8th
Jul 2015
Andre Smith
@Drenerdo
Jul 08 2015 09:13
Awesome
I would love to check out the code snippet but in the meantime I will experiment some more on my end
Sandeep Mistry
@sandeepmistry
Jul 08 2015 12:12

@Drenerdo turns out I don't have a code snippet, but here's a summary of my findings:

"960C4A 9B-244C-11E2-B299-00A0C60077AD" represents:
Battery level = 0xa - 8 = 2
8 is the fixed offset
Temperature = 0x9b - 70 = 85 °F
70 is the fixed offset

"8C00453659EC9C476B84CE" is the payload that is looked up in the cloud service (0x008c is the Gimbal Company ID).

If you modify https://github.com/sandeepmistry/noble/blob/master/examples/advertisement-discovery.js to start scanning with duplicates, you can use the above info to extract battery level and temp
the 0x8c.... is the value of the manufacturer data