smartlabel-v2 Protocol v1.0.0
Documentation for LoRaWAN payload structures and field definitions for the smartlabel-v2 device.
Device Information
Device Name | smartlabel-v2 |
Device Type | smartlabel-v2 |
Protocol Version | 1.0.0 |
Firmware Versions | 1.0.0 |
Manufacturer | Truvami |
Quick Reference
| Message | Direction | Port | Size |
|---|---|---|---|
| Settings_downlink | ↓ Downlink | 151 | 242 bytes |
| Settings_uplink | ↑ Uplink | 151 | 51 bytes |
| Ble_steady | ↑ Uplink | 160 | 50 bytes |
| Ble_moving | ↑ Uplink | 161 | 50 bytes |
| Ble_steady_with_timestamp | ↑ Uplink | 162 | 44 bytes |
| Ble_moving_with_timestamp | ↑ Uplink | 163 | 44 bytes |
| Gnss_na_steady_with_timestamp | ↑ Uplink | 194 | 48 bytes |
| Gnss_na_moving_with_timestamp | ↑ Uplink | 195 | 48 bytes |
| Wifi_steady | ↑ Uplink | 197 | 50 bytes |
| Wifi_moving | ↑ Uplink | 198 | 50 bytes |
| Wifi_steady_with_timestamp | ↑ Uplink | 200 | 44 bytes |
| Wifi_moving_with_timestamp | ↑ Uplink | 201 | 44 bytes |
Firmware Version Compatibility
| Firmware Version | Supported Messages | Changes |
|---|---|---|
| 1.0.0 | ble_movingble_moving_with_timestampble_steadyble_steady_with_timestampgnss_na_moving_with_timestampgnss_na_steady_with_timestampsettings_downlinksettings_uplinkwifi_movingwifi_moving_with_timestampwifi_steadywifi_steady_with_timestamp | - |
Settings_downlink Downlink (Port 151)
No description available for this message type.Direction | ↓ Downlink | Port | 151 |
Firmware Version | v1.0.0 | Message Type | Settings_downlink |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
tag | uint8 | 1 byte | - | TLV settings container tag identifier (0x4C). |
76 | enum value | - | - | settings_tag |
length | uint8 | 1 byte | - | Number of bytes occupied by the TLV command data that follows the settings header. |
number_of_commands | uint8 | 1 byte | - | Number of TLV commands contained in the settings payload. |
commands_data | uint8[239] | 239 bytes | - | Variable-length TLV command data. Each command is encoded as tag (1 byte), length (1 byte), followed by value bytes. Commands may set or get configuration values or trigger actions. |
Examples
Settings_downlink Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0 F1 F2
Settings_uplink Uplink (Port 151)
No description available for this message type.Direction | ↑ Uplink | Port | 151 |
Firmware Version | v1.0.0 | Message Type | Settings_uplink |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
tag | uint8 | 1 byte | - | TLV settings container tag identifier (0x4C). |
76 | enum value | - | - | settings_tag |
length | uint8 | 1 byte | - | Number of bytes occupied by the TLV command data that follows the settings header. |
number_of_commands | uint8 | 1 byte | - | Number of TLV commands contained in the settings payload. |
commands_data | uint8[48] | 48 bytes | - | Variable-length TLV command data. Each command is encoded as tag (1 byte), length (1 byte), followed by value bytes. The Smart Label v2 uplink buffer is limited to 51 bytes total. |
Examples
Settings_uplink Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33
Ble_steady Uplink (Port 160)
No description available for this message type.Direction | ↑ Uplink | Port | 160 |
Firmware Version | v1.0.0 | Message Type | Ble_steady |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
tag | uint8 | 1 byte | - | BLE message format tag (0x01 for RSSI + MAC tuples). |
1 | enum value | - | - | rssi_mac_format |
ble_data | uint8[49] | 49 bytes | - | Variable-length array of BLE scan results. Each result contains 1 byte signed RSSI followed by a 6-byte MAC address. |
Examples
Ble_steady Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32
Ble_moving Uplink (Port 161)
No description available for this message type.Direction | ↑ Uplink | Port | 161 |
Firmware Version | v1.0.0 | Message Type | Ble_moving |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
tag | uint8 | 1 byte | - | BLE message format tag (0x01 for RSSI + MAC tuples). |
1 | enum value | - | - | rssi_mac_format |
ble_data | uint8[49] | 49 bytes | - | Variable-length array of BLE scan results. Each result contains 1 byte signed RSSI followed by a 6-byte MAC address. |
Examples
Ble_moving Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32
Ble_steady_with_timestamp Uplink (Port 162)
No description available for this message type.Direction | ↑ Uplink | Port | 162 |
Firmware Version | v1.0.0 | Message Type | Ble_steady_with_timestamp |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
unix_timestamp | uint32 | 1 byte | second | Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer. |
tag | uint8 | 1 byte | - | BLE message format tag (0x01 for RSSI + MAC tuples). |
1 | enum value | - | - | rssi_mac_format |
ble_data | uint8[42] | 42 bytes | - | Variable-length array of BLE scan results. Each result contains 1 byte signed RSSI followed by a 6-byte MAC address. |
Examples
Ble_steady_with_timestamp Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C
Ble_moving_with_timestamp Uplink (Port 163)
No description available for this message type.Direction | ↑ Uplink | Port | 163 |
Firmware Version | v1.0.0 | Message Type | Ble_moving_with_timestamp |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
unix_timestamp | uint32 | 1 byte | second | Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer. |
tag | uint8 | 1 byte | - | BLE message format tag (0x01 for RSSI + MAC tuples). |
1 | enum value | - | - | rssi_mac_format |
ble_data | uint8[42] | 42 bytes | - | Variable-length array of BLE scan results. Each result contains 1 byte signed RSSI followed by a 6-byte MAC address. |
Examples
Ble_moving_with_timestamp Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C
Gnss_na_steady_with_timestamp Uplink (Port 194)
No description available for this message type.Direction | ↑ Uplink | Port | 194 |
Firmware Version | v1.0.0 | Message Type | Gnss_na_steady_with_timestamp |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
unix_timestamp | uint32 | 1 byte | second | Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer. |
ghdr | uint8 | 1 byte | - | Group Header containing the End-of-Group flag, reserved bits, and the group token. |
bit 7 | bit field | - | - | eog_flag |
bits 5,6 | bit field | - | - | rfu |
bits 0,1,2,3,4 | bit field | - | - | grp_token |
u_gnssloc_nav | uint8[46] | 46 bytes | - | Variable-length U-GNSSLOC-NAV data produced by the LR1110 GNSS scan. Together with the timestamp and group header, the encoded uplink is limited by the 51-byte Smart Label v2 uplink buffer. |
Examples
Gnss_na_steady_with_timestamp Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30
Gnss_na_moving_with_timestamp Uplink (Port 195)
No description available for this message type.Direction | ↑ Uplink | Port | 195 |
Firmware Version | v1.0.0 | Message Type | Gnss_na_moving_with_timestamp |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
unix_timestamp | uint32 | 1 byte | second | Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer. |
ghdr | uint8 | 1 byte | - | Group Header containing the End-of-Group flag, reserved bits, and the group token. |
bit 7 | bit field | - | - | eog_flag |
bits 5,6 | bit field | - | - | rfu |
bits 0,1,2,3,4 | bit field | - | - | grp_token |
u_gnssloc_nav | uint8[46] | 46 bytes | - | Variable-length U-GNSSLOC-NAV data produced by the LR1110 GNSS scan. Together with the timestamp and group header, the encoded uplink is limited by the 51-byte Smart Label v2 uplink buffer. |
Examples
Gnss_na_moving_with_timestamp Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30
Wifi_steady Uplink (Port 197)
No description available for this message type.Direction | ↑ Uplink | Port | 197 |
Firmware Version | v1.0.0 | Message Type | Wifi_steady |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
tag | uint8 | 1 byte | - | Wi-Fi message format tag (0x01 for RSSI + MAC tuples). |
1 | enum value | - | - | rssi_mac_format |
wifi_data | uint8[49] | 49 bytes | - | Variable-length array of Wi-Fi scan results. Each result contains 1 byte signed RSSI followed by a 6-byte MAC address. |
Examples
Wifi_steady Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32
Wifi_moving Uplink (Port 198)
No description available for this message type.Direction | ↑ Uplink | Port | 198 |
Firmware Version | v1.0.0 | Message Type | Wifi_moving |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
tag | uint8 | 1 byte | - | Wi-Fi message format tag (0x01 for RSSI + MAC tuples). |
1 | enum value | - | - | rssi_mac_format |
wifi_data | uint8[49] | 49 bytes | - | Variable-length array of Wi-Fi scan results. Each result contains 1 byte signed RSSI followed by a 6-byte MAC address. |
Examples
Wifi_moving Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32
Wifi_steady_with_timestamp Uplink (Port 200)
No description available for this message type.Direction | ↑ Uplink | Port | 200 |
Firmware Version | v1.0.0 | Message Type | Wifi_steady_with_timestamp |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
unix_timestamp | uint32 | 1 byte | second | Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer. |
tag | uint8 | 1 byte | - | Wi-Fi message format tag (0x01 for RSSI + MAC tuples). |
1 | enum value | - | - | rssi_mac_format |
wifi_data | uint8[42] | 42 bytes | - | Variable-length array of Wi-Fi scan results. Each result contains 1 byte signed RSSI followed by a 6-byte MAC address. |
Examples
Wifi_steady_with_timestamp Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C
Wifi_moving_with_timestamp Uplink (Port 201)
No description available for this message type.Direction | ↑ Uplink | Port | 201 |
Firmware Version | v1.0.0 | Message Type | Wifi_moving_with_timestamp |
Payload Structure
Packet Diagram
Field Details
| Field | Type | Size | Unit | Description |
|---|---|---|---|---|
unix_timestamp | uint32 | 1 byte | second | Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer. |
tag | uint8 | 1 byte | - | Wi-Fi message format tag (0x01 for RSSI + MAC tuples). |
1 | enum value | - | - | rssi_mac_format |
wifi_data | uint8[42] | 42 bytes | - | Variable-length array of Wi-Fi scan results. Each result contains 1 byte signed RSSI followed by a 6-byte MAC address. |
Examples
Wifi_moving_with_timestamp Example
Sample payload data
Payload Data
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C
For detailed information about data types, units, and encoding formats, see the Field Reference guide.
Document Metadata
definitions/smartlabel/ble_moving__1_0_0.xmlGenerator: Truvami Protocol Documentation Generator