Caution! Article for developers

Information on this page is intended particularly for users with advanced technical knowledge.

CBOR

Jul 30, 2024 · 1 minutes to read

Treon Gateway

CBOR

CBOR is a data format based on JSON that we use to compress some of our newer features.
CBOR resources on the Gateway use DM messages with “Ver”:“2.1” instead of “Ver”:“2” to differentiate from the plain JSON type messages.

You can learn more about implementing CBOR here.

Treon Content using CBOR

You can view and download the .cddl specification files here

ObjectDescriptionSpecification
33584Node InventoryDownload
33585Wirepas ParametersDownload

Using CBOR content

When reading CBOR content you will need to use a tool like https://cbor.me/ You can just paste the “Val” result into the second box (Bytes) and click the arrow to get the full information.

For writing new values you will need to download the appropriate .cddl file to encode the data

 

Treon Support

You still have questions? Our dedicated team of experts is happy to help you! Please contact Treon Support directly by e-mail.

Did you know? Treon offers Premium Support and Maintenance Packages for our customers. Get even more out of Treon and boost your sales - inquire now about features and prices!

   


Was this article helpful? Let us know.
Next
Previous