miro TrackIt
Payload
Unless otherwise noted, payloads will use big endian data encoding. |
1. Device Settings Format
1.1. Downlink
The device settings downlink payload shall be in an TLV format which is defined as:
Tag |
Length |
Number of Commands |
Data |
0x4C |
Variable number |
Variable number |
Device Settings |
The device setting result downlink messages are sent to port 151.
1.2. Uplink
The device settings uplink payload shall be in an TLV format which is defined as:
Tag |
Length |
Number of Commands |
Data |
0x4C |
Variable number |
Variable number |
Device Settings |
The device setting result uplink messages are sent to port 199.
1.3. Device Settings
Set Accelerometer
Tag | Size | Range | Description | Format | Default Value |
---|---|---|---|---|---|
0x24 |
0x01 |
[0,1] |
Enable or disable accelerometer |
uint8 |
[1] |
Set Scan Interval
Tag | Size | Range | Description | Format | Default Value |
---|---|---|---|---|---|
0x26 |
0x02 |
[10,1800] [sec] |
Steady state interval for localization |
uint16 |
60 [sec] |
Set Keep Alive Frame Interval
Tag | Size | Range | Description | Format | Default Value |
---|---|---|---|---|---|
0x28 |
0x02 |
[10,1440] [sec] |
Heartbeat message interval |
uint16 |
86400 [sec] |
Set ADR Profile
Tag | Size | Range | Description | Format | Default Value |
---|---|---|---|---|---|
0x3E |
0x01 |
[0,3] |
0 = Network controlled |
uint16 |
[0] |
Get Accelerometer
Tag | Size | Range | Description | Format | Default Value |
---|---|---|---|---|---|
0x25 |
0x00 |
- |
Requests the accelerometer enabled flag |
- |
- |
Get Scan Interval
Tag | Size | Range | Description | Format | Default Value |
---|---|---|---|---|---|
0x27 |
0x00 |
- |
Requests the steady state interval |
- |
- |
2. Localization
The navigation result uplink messages are sent to port 199. The GNSS and Wi-Fi resutls are merged into the same message. The payload length depends on the number of results.
2.1. Wi-Fi Results
Byte | Size | value | Range | Description | Format |
---|---|---|---|---|---|
1 |
1 |
0x08 |
fixed |
Message type |
uint8 |
2 |
1 |
0xXX |
[1..255] |
Message length |
uint8 |
3-8 |
6 |
MAC:1 |
[1..255] |
MAC-address |
uint8 * 6 |
9 |
1 |
RSSI:1 |
[1..255] |
RSSI-value |
uint8 |
10-15 |
6 |
MAC:2 |
[1..255] |
MAC-address |
uint8 * 6 |
16 |
1 |
RSSI:2 |
[1..255] |
RSSI-value |
uint8 |
… |
|||||
(N-6)-(N-5) |
6 |
MAC:N |
[1..255] |
MAC-address |
uint8 * 6 |
N |
1 |
RSSI:N |
[1..255] |
RSSI-value |
uint8 |
2.2. GNSS Results
Byte | Size | value | Range | Description | Format |
---|---|---|---|---|---|
1 |
1 |
0x07 |
fixed |
Message type |
uint8 |
2 |
1 |
0xXX |
[1..255] |
Message length |
uint8 |
3 - N |
(N-3) |
NAV |
dynamic |
result value |
uint8 |
2.3. Localization Example
Please consider the Semtech web page for GNSS and Wi-Fi payload examples.