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 48.1
edited by Mengting Qiu
on 2025/08/04 18:02
on 2025/08/04 18:02
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 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,110 @@ 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:510px" %) 338 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 339 +**Size(bytes)** 340 +)))|=(% style="width: 40px;background-color:#4F81BD;color:white" %)1|=(% style="width: 90px;background-color:#4F81BD;color:white" %)1|=(% style="width: 150px; background-color: #4F81BD;color:white" %)6|=(% style="width: 80px; background-color: #4F81BD;color:white" %)1|=(% 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 341 +|(% style="width:99px" %)Value|(% style="width:69px" %)((( 342 +BoxBat 343 + 344 + 345 +)))|(% style="width:130px" %)DevMode|(% style="width:194px" %)MACaddr|(% style="width:106px" %)ProbeBat|(% style="width:97px" %)((( 346 +Food temperature 347 +)))|(% style="width:97px" %)Ambient temperature|(% style="width:97px" %)Timestamp 348 + 349 + 350 + 351 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 352 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 353 +**Size(bytes)** 354 +)))|=(% style="width: 40px;background-color:#4F81BD;color:white" %)4|=(% style="width: 90px;background-color:#4F81BD;color:white" %)1|=(% style="width: 150px; background-color: #4F81BD;color:white" %)6|=(% style="width: 80px; background-color: #4F81BD;color:white" %)1|=(% 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 355 +|(% style="width:99px" %)Value|(% style="width:69px" %)((( 356 +Timestamp 357 + 358 + 359 +)))|(% style="width:130px" %)DevMode|(% style="width:194px" %)MACaddr|(% style="width:106px" %)ProbeBat|(% style="width:97px" %)((( 360 +Food temperature 361 +)))|(% style="width:97px" %)Ambient temperature|(% style="width:97px" %) 362 + 363 +[[image:1754300947187-648.png||height="641" width="1351"]] 364 + 365 + 366 +(% class="wikigeneratedid" id="HBoxBat" %) 367 +(% style="color:#4472c4" %)**BoxBat** 368 + 369 +Sensor Battery Level. 370 + 371 +Ex1: 0x0B45 = 2885mV 372 + 373 +Ex2: 0x0B49 = 2889mV 374 + 375 + 376 +(% class="wikigeneratedid" id="HDevMode" %) 377 +(% style="color:#4472c4" %)**DevMode** 378 + 379 + 380 + 381 +(% class="wikigeneratedid" id="HMACaddr" %) 382 +(% style="color:#4472c4" %)**MACaddr** 383 + 384 +Read:0x(0197)=412 Value: 407 / 10=40.7, So 40.7% 385 + 386 + 387 +(% class="wikigeneratedid" id="HProbeBat" %) 388 +(% style="color:#4472c4" %)**ProbeBat** 389 + 390 +**Example:** 391 + 392 +If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. 393 + 394 +If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm. 395 + 396 +If payload & 0x80>>7 = 0x01 **~-~->** The PA8 is low level. 397 + 398 +If payload & 0x80>>7 =0x00 **~-~->** The PA8 is high level. 399 + 400 +If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message. 401 + 402 +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. 403 + 404 + 405 +(% style="color:#4472c4" %)**Food temperature** 406 + 407 +**Example**: 408 + 409 +If payload is: 0105H: (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree 410 + 411 +If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 412 + 413 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 414 + 415 + 416 +(% style="color:#4472c4" %)**Ambient temperature** 417 + 418 +**Example**: 419 + 420 +If payload is: 0105H: (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree 421 + 422 +If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 423 + 424 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 425 + 426 + 427 +(% class="wikigeneratedid" id="HUnittimestamp" %) 428 +(% style="color:#4472c4" %)**Unit timestamp** 429 + 430 +Unit TimeStamp Example: 67CF92A7(H) = 1741656743(D) 431 + 432 +Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time. 433 + 434 + 435 + 333 333 == 2.4 Bluetoothe Broadcast Payload == 334 334 335 335
- 1754300947187-648.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +175.0 KB - Content