Uplink Messages
Raw CBOR uplink messages from Thingsee PRESENCE — measurement data, system info, and diagnostics transmitted over Wirepas mesh
This section documents the raw CBOR-encoded messages transmitted between Thingsee PRESENCE and the Wirepas mesh network. Most customers do not need this — the Haltian IoT platform handles CBOR encoding/decoding automatically.
You need this reference only if you:
21/21haltian-iot/wirepas/gw-event/received_data/{gateway-id}/sink1/{network-id}/21/21Each message is identified by a tsmId (message structure ID). The gateway adds metadata fields (tsmTs, tsmGw) before forwarding to your backend.
For general CBOR encoding/decoding guidance, see CBOR-JSON Conversion Reference.
| Page | Description |
|---|---|
| Uplink Messages | Messages sent from the sensor (measurements, diagnostics) |
| Downlink Commands | Messages sent to the sensor (configuration, queries) |
All CBOR messages share these header fields:
| JSON Property | CBOR Index | Description |
|---|---|---|
tsmId | 1 | Message structure identifier |
tsmEv | 2 | Event type (see below) |
tsmTs | 3 | UTC timestamp in seconds (added by gateway) |
tsmTuid | 4 | Device unique identifier |
tsmGw | 5 | Gateway identifier (added by gateway) |
| tsmEv | Name | Direction | Description |
|---|---|---|---|
| 7 | State change | Uplink | Occupancy state transition |
| 10 | Timed | Uplink | Periodic report at configured interval |
| 11 | Startup | Uplink | Device boot-up / power-on |
| 29 | Error | Uplink | Critical error report |
| 30 | Command | Downlink | Configuration command from cloud |
| 31 | Response | Uplink | Device response to command |
Raw CBOR uplink messages from Thingsee PRESENCE — measurement data, system info, and diagnostics transmitted over Wirepas mesh
Raw CBOR downlink commands for Thingsee PRESENCE — configuration messages sent to the sensor over Wirepas mesh