Versions Compared

Key

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

...

15ff4f090100cea6000000000200a01c91085700005fa01c91085700005f

15ff4f09 (first 4 octets) ManufacturerData. Is the same (constant data) for every MikroTik format's payload.

...

  • As noted before, multi-byte values are in little-endian and that means, to calculate the realm value, you will need to switch octets places (switch octets order). So the first step is to swap places for the values from 0x0200 to 0x0002. 0x0002 converted from hexadecimal to decimal is 02.
  • Keep in mind that acceleration is in signed 8.8 fixed point format and that means that you basically need to divide the result by "256". So the second step is to divide the value by 256 → (0x0002 hex or 02 dec)/256 = 0.0078 m/s2.
  • The same calculation principle applies to the acceleration for the X and the Y-axis. In our example, they are just happen to be 0 . S→ 0x0000/256=0.

a01c (15th and 16th octets) → temperature detected by the tag.


iBeacon packet structure

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

...