How to use CBOR

Thingsee messages are created using open CBOR binary data serialization. This page has a list of all properties that are, at the moment, available for CBOR message content. New properties are added based on need. Note that private properties can be created in case your product is such that needs to keep its properties and message profiles in private.

CBOR indexes for message headers

Github link to be added

JSON property CBOR index Example Description
tsmId 1 1200 Message identifier
tsmEv 2 10 Event identifier
tsmTs 3 1492844596 Timestamp
tsmTuid 4 "TSPODR123" Thing identifier
tsmGw 5 "TSGWAS321" Gateway identifier
tsmDstTuid 7 "TSGWAS321" Destination thing identifier
tsmGwTs 8 1492844601 Gateway timestamp
tsmCloudTs 9 1492844602 Cloud timestamp

CBOR indexes for data payload

You can create your own profiles using these existing properties, or request a new property to be added. Github link to be added

JSON property CBOR index Multiplier (1eX) Example
batl 21 1 882
chrg 22 0 2
requestTsmId 23 0 1310
transactionId 25 0 1493312188
status 27 0 0
interval 28 0 0
temp 30 1 224
lght 31 0 720
humd 32 1 724
airp 33 3 102092358
level 34 0 0
accx 40 0 0
accy 41 0 -100
accz 42 0 900
move 43 0 1
moveCount 44 0 7
dist 45 0 152
hall 46 0 1
hallCount 47 0 1
lat 50 7 650000000
lon 51 7 240000000
lacr 52 2 1234
spd 53 2 461
hdg 54 1 187
alt 55 0 1012
wpnode 60 NA '123456'
rssi 61 0 78
rssiDbm 65 0 -70
swVersion 70 NA 'sensorFW1.0.2/BL1.0.0'
modelCode 71 NA 'TSGW2G'
cellRsrp 90 0
cellRsrq 91 0
cellSinr 92 0
cellRssi 93 0
cellLac 94 0
cellId 95 0
cellTac 96 0
cellRscp 97 0
cellEcn0 98 0
cellRat 99
hwid 110 NA '0010'
neighNodeInfo 150 0 1
neighRadioPower 151 0 1
scratchpadSeqNumber 152 0 0
diagnosticMask 153 0 0
restartCount 154 0 1
errorCount 155 0 123
neighRadioPowerDbm 156 0 -40
imei 160
imsi 161
mcc_mnc 162
operatorName 163
angle 190 1 900
measurementInterval 256 0 60
measurementFrequency 257 0 25
reportInterval 258 0 300
accelerometerMode 262 0 0
enableLed 264 0 0
weatherMode 266 0 0
hallMode 267 0 0
leakageMode 268 0 0
autoCalibration 269
calibrationValue 270
temperatureHysteresis 275 1 5
humidityHysteresis 276 1 20
pressureHysteresis 277 3 20000
lightHysteresis 278 0 100
resistanceHysteresis 279 0 10000
orientationHysteresis 280 0 5
carbonDioxideHysteresis 281 0 10
tvocHysteresis 282 0 5
carbonDioxide 283 0 624
tvoc 284 0 50
lghtint 295 0 86323
histogram0 1000 0 2
histogram1 1001 0 7
histogram2 1002 0 13
histogram3 1003 0 45
histogram4 1004 0 234
histogram5 1005 0 153
histogram6 1006 0 78
histogram7 1007 0 45
histogram8 1008 0 32
histogram9 1009 0 2
Next