Skip to main content

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

MessageDirectionPortSize
Settings_downlink

↓ Downlink

151242 bytes
Settings_uplink

↑ Uplink

15151 bytes
Ble_steady

↑ Uplink

16050 bytes
Ble_moving

↑ Uplink

16150 bytes
Ble_steady_with_timestamp

↑ Uplink

16244 bytes
Ble_moving_with_timestamp

↑ Uplink

16344 bytes
Gnss_na_steady_with_timestamp

↑ Uplink

19448 bytes
Gnss_na_moving_with_timestamp

↑ Uplink

19548 bytes
Wifi_steady

↑ Uplink

19750 bytes
Wifi_moving

↑ Uplink

19850 bytes
Wifi_steady_with_timestamp

↑ Uplink

20044 bytes
Wifi_moving_with_timestamp

↑ Uplink

20144 bytes

Firmware Version Compatibility

Firmware VersionSupported MessagesChanges
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
-
No description available for this message type.

Direction

↓ Downlink

Port

151

Firmware Version

v1.0.0

Message Type

Settings_downlink

Payload Structure

Packet Diagram

242 bytes
474.5% of 51B
commands_data
tag
1B
length
1B
number_of_commands
1B
commands_data
239B

Field Details

FieldTypeSizeUnitDescription
tag
uint81 byte-
TLV settings container tag identifier (0x4C).
76enum value--settings_tag
length
uint81 byte-
Number of bytes occupied by the TLV command data that follows the settings header.
number_of_commands
uint81 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
No description available for this message type.

Direction

↑ Uplink

Port

151

Firmware Version

v1.0.0

Message Type

Settings_uplink

Payload Structure

Packet Diagram

51 bytes
100.0% of 51B
commands_data
tag
1B
length
1B
number_of_commands
1B
commands_data
48B

Field Details

FieldTypeSizeUnitDescription
tag
uint81 byte-
TLV settings container tag identifier (0x4C).
76enum value--settings_tag
length
uint81 byte-
Number of bytes occupied by the TLV command data that follows the settings header.
number_of_commands
uint81 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
No description available for this message type.

Direction

↑ Uplink

Port

160

Firmware Version

v1.0.0

Message Type

Ble_steady

Payload Structure

Packet Diagram

50 bytes
98.0% of 51B
ble_data
tag
1B
ble_data
49B

Field Details

FieldTypeSizeUnitDescription
tag
uint81 byte-
BLE message format tag (0x01 for RSSI + MAC tuples).
1enum 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
No description available for this message type.

Direction

↑ Uplink

Port

161

Firmware Version

v1.0.0

Message Type

Ble_moving

Payload Structure

Packet Diagram

50 bytes
98.0% of 51B
ble_data
tag
1B
ble_data
49B

Field Details

FieldTypeSizeUnitDescription
tag
uint81 byte-
BLE message format tag (0x01 for RSSI + MAC tuples).
1enum 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
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

47 bytes
92.2% of 51B
ble_data
unix_timestamp
4B
tag
1B
ble_data
42B

Field Details

FieldTypeSizeUnitDescription
unix_timestamp
uint321 bytesecond
Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer.
tag
uint81 byte-
BLE message format tag (0x01 for RSSI + MAC tuples).
1enum 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
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

47 bytes
92.2% of 51B
ble_data
unix_timestamp
4B
tag
1B
ble_data
42B

Field Details

FieldTypeSizeUnitDescription
unix_timestamp
uint321 bytesecond
Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer.
tag
uint81 byte-
BLE message format tag (0x01 for RSSI + MAC tuples).
1enum 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
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

51 bytes
100.0% of 51B
u_gnssloc_nav
unix_timestamp
4B
ghdr
1B
u_gnssloc_nav
46B

Field Details

FieldTypeSizeUnitDescription
unix_timestamp
uint321 bytesecond
Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer.
ghdr
uint81 byte-
Group Header containing the End-of-Group flag, reserved bits, and the group token.
bit 7bit field--eog_flag
bits 5,6bit field--rfu
bits 0,1,2,3,4bit 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
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

51 bytes
100.0% of 51B
u_gnssloc_nav
unix_timestamp
4B
ghdr
1B
u_gnssloc_nav
46B

Field Details

FieldTypeSizeUnitDescription
unix_timestamp
uint321 bytesecond
Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer.
ghdr
uint81 byte-
Group Header containing the End-of-Group flag, reserved bits, and the group token.
bit 7bit field--eog_flag
bits 5,6bit field--rfu
bits 0,1,2,3,4bit 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
No description available for this message type.

Direction

↑ Uplink

Port

197

Firmware Version

v1.0.0

Message Type

Wifi_steady

Payload Structure

Packet Diagram

50 bytes
98.0% of 51B
wifi_data
tag
1B
wifi_data
49B

Field Details

FieldTypeSizeUnitDescription
tag
uint81 byte-
Wi-Fi message format tag (0x01 for RSSI + MAC tuples).
1enum 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
No description available for this message type.

Direction

↑ Uplink

Port

198

Firmware Version

v1.0.0

Message Type

Wifi_moving

Payload Structure

Packet Diagram

50 bytes
98.0% of 51B
wifi_data
tag
1B
wifi_data
49B

Field Details

FieldTypeSizeUnitDescription
tag
uint81 byte-
Wi-Fi message format tag (0x01 for RSSI + MAC tuples).
1enum 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
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

47 bytes
92.2% of 51B
wifi_data
unix_timestamp
4B
tag
1B
wifi_data
42B

Field Details

FieldTypeSizeUnitDescription
unix_timestamp
uint321 bytesecond
Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer.
tag
uint81 byte-
Wi-Fi message format tag (0x01 for RSSI + MAC tuples).
1enum 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
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

47 bytes
92.2% of 51B
wifi_data
unix_timestamp
4B
tag
1B
wifi_data
42B

Field Details

FieldTypeSizeUnitDescription
unix_timestamp
uint321 bytesecond
Unix timestamp in seconds, encoded as a 4-byte big-endian unsigned integer.
tag
uint81 byte-
Wi-Fi message format tag (0x01 for RSSI + MAC tuples).
1enum 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

Source:definitions/smartlabel/ble_moving__1_0_0.xml

Generator: Truvami Protocol Documentation Generator

Was this page helpful?

Cookie Settings

We use cookies to enhance your browsing experience and analyze site traffic. Privacy Policy