Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
iconfalse

Because of the fact that floating point is not supported → every calculation behind a decimal point will be "rounded up" to a whole number. This is why the script will calculate the temperature and acceleration values scaled by 1000 (multiplied by 1000).
So, if you see the temperature as temp=25546, the real temperature is 25.546 C (25546/1000) and if you see accelZ=15, the real acceleration against the z-axis will be 0.015 m/s2 (15/1000).


Info

Because of the fact that floating point is not supported → every calculation behind a decimal point will be "rounded up" to a whole number. This is why the script will calculate the temperature and acceleration values scaled by 1000 (multiplied by 1000).
So, if you see the temperature as temp=25546, the real temperature is 25.546 C (25546/1000) and if you see accelZ=15, the real acceleration against the z-axis will be 0.015 m/s2 (15/1000).

iBeacon packet structure

iBeacon is one of the supported advertising packet types. You can find more information about the protocol following the link.

...