Changes for page DMT01
Last modified by Mengting Qiu on 2025/08/11 18:25
From version 45.4
edited by Mengting Qiu
on 2025/08/04 17:26
on 2025/08/04 17:26
Change comment:
There is no comment for this version
To version 46.4
edited by Mengting Qiu
on 2025/08/04 17:47
on 2025/08/04 17:47
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -272,7 +272,7 @@ 272 272 === 2.3.1 Device Status, FPORT~=5 === 273 273 274 274 275 -Users can use the downlink command(**0x26 01**) to ask LTC2-LBto send device configure detail, include device configure status. DMT01 will uplink a payload via FPort=5 to server.275 +Users can use the downlink command(**0x26 01**) to ask DMT01 to send device configure detail, include device configure status. DMT01 will uplink a payload via FPort=5 to server. 276 276 277 277 The Payload format is as below. 278 278 ... ... @@ -329,7 +329,71 @@ 329 329 Other Bands: Always 0x00 330 330 331 331 332 +=== 2.3.2 Sensor Data. FPORT~=2 === 332 332 334 + 335 +Sensor Data is uplink via FPORT=2 336 + 337 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 338 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 339 +**Size** 340 + 341 +**(bytes)** 342 +)))|=(% style="width: 40px;background-color:#4F81BD;color:white" %)2|=(% style="width: 90px;background-color:#4F81BD;color:white" %)4|=(% style="width: 150px; background-color: #4F81BD;color:white" %)6|=(% style="width: 80px; background-color: #4F81BD;color:white" %)**2**|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2|=(% style="width: 80px; background-color: #4F81BD;color:white" %)4 343 +|(% style="width:99px" %)Value|(% style="width:69px" %)((( 344 +BoxBat 345 + 346 + 347 +)))|(% style="width:130px" %)DevMode|(% style="width:194px" %)MACaddr|(% style="width:106px" %)ProbeBat|(% style="width:97px" %)((( 348 +Food temperature 349 +)))|(% style="width:97px" %)Ambient temperature|(% style="width:97px" %)Timestamp 350 + 351 +[[image:image-20230524144456-2.png||height="180" width="1142"]] 352 + 353 + 354 +==== (% style="color:#4472c4" %)**Battery**(%%) ==== 355 + 356 +Sensor Battery Level. 357 + 358 +Ex1: 0x0B45 = 2885mV 359 + 360 +Ex2: 0x0B49 = 2889mV 361 + 362 + 363 +==== (% style="color:#4472c4" %)**Temperature**(%%) ==== 364 + 365 +**Example**: 366 + 367 +If payload is: 0105H: (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree 368 + 369 +If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 370 + 371 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 372 + 373 + 374 +==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 375 + 376 +Read:0x(0197)=412 Value: 407 / 10=40.7, So 40.7% 377 + 378 + 379 +==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== 380 + 381 +**Example:** 382 + 383 +If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. 384 + 385 +If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm. 386 + 387 +If payload & 0x80>>7 = 0x01 **~-~->** The PA8 is low level. 388 + 389 +If payload & 0x80>>7 =0x00 **~-~->** The PA8 is high level. 390 + 391 +If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message. 392 + 393 +If payload >> 2 = 0x31 **~-~->** means MOD=31, this message is a reply message for polling, this message contains the alarm settings. see [[this link>>path:#HPolltheAlarmsettings:]] for detail. 394 + 395 + 396 + 333 333 == 2.4 Bluetoothe Broadcast Payload == 334 334 335 335