ABSensor401 accelerometer's data

Hello,
When I print the data that I receive, I can see many data like this :
(uint) 2162625576022122619710918122325172210176962082451671615022400001980

How can I interpret this data? and where are the acceleromter’s data?

Thank you for the help
Tiphaine

How did you get the data? I think it’s not correct.

The beacon will advertising two type packet:

  1. standard iBeacon protocol advertising
  2. sensor data

For sensor data, here’s a hex example:

02 01 06 11 FF 14 00 01 03 59 01 18 02 09 05 0C 04 1C 02 02 00 05 00 00 00 10

The 02 01 06 11 FF 14 00 is the fix prefix.

01 : adv version
03 59 : 03 for battery level index, 59 for the battery level in percent, it’s mean 89% battery.
01 18 : 01 for tempeture index, 18 for the temperature, but the data is not accuracy now.
02 09 05 0C : 02 for orientation sensor data index, 09 05 0C means x, y, z
04 1C 02 02 00 : 04 for light sensor data index, 1C 02 02 00 is the value for light sensor data
05 00 00 00 10 : 05 means index of sequence number, 00 00 00 10 means unsigned integer 32 bit : 16

I change my print and now receive somethink like that (in hex) : 02 01 06 1B FF 4C 00 02 15 E2 C5 6D B5 DF FB 48 D2 B0 60 D0 F5 A7 10 96 E0 00 00 00 00 C6 64

To receive this, I use a new ABSensor401. I just put the battery and print the received data.

The data is a standard iBeacon protocol advertising data. One type of the packet.

Ok thank you, I find the mistake, I receive the good data now.