CBOR Reference

Raw Wirepas CBOR message specification for Thingsee ENVIRONMENT — for customers operating their own gateways and cloud infrastructure

Overview

This section documents the raw CBOR-encoded messages transmitted between Thingsee ENVIRONMENT and the Wirepas mesh network. Most customers do not need this — the Haltian IoT platform handles CBOR encoding/decoding automatically.

Communication Basics

  • Wirepas endpoint: 21/21
  • Encoding: CBOR (Concise Binary Object Representation)
  • MQTT topic: haltian-iot/wirepas/gw-event/received_data/{gateway-id}/sink1/{network-id}/21/21

Each 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.

Pages in This Section

PageDescription
Uplink MessagesMessages sent from the sensor (measurements, diagnostics)
Downlink CommandsMessages sent to the sensor (configuration, queries)

Common Header Fields

All CBOR messages share these header fields:

JSON PropertyCBOR IndexDescription
tsmId1Message structure identifier
tsmEv2Event type (see below)
tsmTs3UTC timestamp in seconds (added by gateway)
tsmTuid4Device unique identifier
tsmGw5Gateway identifier (added by gateway)

Uplink Messages

Raw CBOR messages transmitted by Thingsee ENVIRONMENT over the Wirepas mesh network — temperature, humidity, pressure, light, hall sensor, vibration, battery, and diagnostics

Downlink Commands

Raw CBOR configuration commands sent to Thingsee ENVIRONMENT over the Wirepas mesh network — sensor modes, thresholds, intervals, and network roles