<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CBOR Reference on Haltian Developer Documentation</title><link>https://developer.haltian.io/haltian-iot/devices/sensors/thingsee-environment/cbor-reference/</link><description>Recent content in CBOR Reference on Haltian Developer Documentation</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://developer.haltian.io/haltian-iot/devices/sensors/thingsee-environment/cbor-reference/index.xml" rel="self" type="application/rss+xml"/><item><title>Uplink Messages</title><link>https://developer.haltian.io/haltian-iot/devices/sensors/thingsee-environment/cbor-reference/uplink/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://developer.haltian.io/haltian-iot/devices/sensors/thingsee-environment/cbor-reference/uplink/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>This page documents the &lt;strong>Wirepas CBOR&lt;/strong> messages transmitted by the sensor over the mesh network. These are the raw on-wire messages — field names and structure differ from the &lt;strong>Haltian IoT JSON&lt;/strong> API exposed to end users. For the Haltian IoT API format, see &lt;a href="../../uplink-messages/">Data Output&lt;/a>.&lt;/p>
&lt;p>Thingsee ENVIRONMENT transmits CBOR-encoded messages over &lt;strong>Wirepas endpoint 21/21&lt;/strong>. The gateway adds header fields (&lt;code>tsmTs&lt;/code>, &lt;code>tsmGw&lt;/code>) and forwards messages to the cloud.&lt;/p>
&lt;p>Each message is identified by &lt;code>tsmId&lt;/code> (message structure ID). Each example below is shown in both &lt;strong>JSON&lt;/strong> (decoded CBOR) and &lt;strong>CBOR&lt;/strong> (numeric indexes as transmitted on the wire).&lt;/p></description></item><item><title>Downlink Commands</title><link>https://developer.haltian.io/haltian-iot/devices/sensors/thingsee-environment/cbor-reference/downlink/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://developer.haltian.io/haltian-iot/devices/sensors/thingsee-environment/cbor-reference/downlink/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>This page documents the &lt;strong>Wirepas CBOR&lt;/strong> commands sent to the sensor over the mesh network. These are the raw on-wire messages — field names and structure differ from the &lt;strong>Haltian IoT JSON&lt;/strong> API exposed to end users.&lt;/p>
&lt;p>Downlink messages use the &lt;strong>command/response pattern&lt;/strong>: the cloud sends a command (&lt;code>tsmEv: 30&lt;/code>) and the sensor replies with a response (&lt;code>tsmEv: 31&lt;/code>) echoing the current configuration with all fields populated.&lt;/p>
&lt;p>All messages are CBOR-encoded and sent over &lt;strong>Wirepas endpoint 21/21&lt;/strong>. Each example below shows both the &lt;strong>JSON&lt;/strong> (decoded CBOR) and &lt;strong>CBOR&lt;/strong> (numeric indexes as transmitted on the wire) formats.&lt;/p></description></item></channel></rss>