Micro Tracker Reference Guide FW 1.7 V1.1
Page 28 of 39
11th october 2018
Restricted distribution
v_bat5
: encoded voltage at T0 + 2 seconds.
v_bat6
: encoded voltage at T0 + 2.5 seconds.
Notes:
1-
Most of time a WIFI timeout occurs due to low battery.
2-
v_bat
encoding uses
lo
=2.8,
hi
=4.2,
nbits
=8,
nresv
=2. It is expressed in volt with a step of 5.5mV
3-
Encoded form is detailed in the
Encoded form
section
5.5.4
WIFI failure payload
Common header
Data
Byte 0-4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Byte 10
Byte 11
Header
v_bat1
v_bat2
v_bat3
v_bat4
v_bat5
v_bat6
Error
v_bat1
: encoded voltage at the start time (T0) of the WIFI scan.
v_bat2
: encoded voltage at T0 + 0.5 second.
v_bat3
: encoded voltage at T0 + 1 second.
v_bat4
: encoded voltage at T0 + 1.5 second.
v_bat5
: encoded voltage at T0 + 2 seconds.
v_bat6
: encoded voltage at T0 + 2.5 seconds.
Error
:
➢
0
–
WIFI connection failure
➢
1
–
Scan failure
➢
2
–
Antenna unavailable
➢
3
–
WIFI not supported on this device
Notes:
1-
Most of time a WIFI timeout occurs due to a low battery condition.
2-
v_bat
encoding uses
lo
=2.8,
hi
=4.2,
nbits
=8,
nresv
=2. It is expressed in volt with a step of 5.5mV
3-
Encoded form is detailed in the
Encoded form
section
5.5.5
WIFI BSSID payload
Common header
Data
Byte 0-4
Byte5
B 6-11
Byte12
B 13-18
Byte19
B 20-25
Byte26
B 27-33
Byte 34
Header
Age
BSSID0
RSSI0
BSSID1
RSSI1
BSSID2
RSSI2
BSSID3
RSSI3
Age
: encoded form of scan age with
lo
=0,
hi
=2040,
nbits
=8,
nres
=0. Expressed in seconds.
BSSID x
: BSSID of the WIFI station x.
RSSI x
: Receive Signal Strength Indication of the WIFI station x. Non encoded form (signed 8 bits). It is
expressed in dBm.
Notes
1-
The payload contains the listened WIFI stations (up to 4).
2-
If less than 4 stations are listened, the payload will be reduced.
3-
BSSID address is provided in big endian format. So, the byte 6 of the payload contains the MSB of the
BSSID0, while the byte 11 contains its LSB.
4-
Encoded form is detailed in the
Encoded form
section.