From version 48.9
edited by Mengting Qiu
on 2025/08/04 18:10
on 2025/08/04 18:10
Change comment:
There is no comment for this version
To version 53.6
edited by Mengting Qiu
on 2025/08/04 19:44
on 2025/08/04 19:44
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -349,10 +349,8 @@ 349 349 [[image:1754300947187-648.png||height="641" width="1351"]] 350 350 351 351 352 -01C12309250F1A6446D300D200D300D200D300D200D300D200D300D200D300D200D300D200D300D200D300D200D300D200 353 353 354 -(% class="wikigeneratedid" id="HUnittimestamp" %) 355 -(% style="color:#4472c4" %)**Unit timestamp** 353 +==== (% style="color:#4472c4" %)**Unit timestamp**(%%) ==== 356 356 357 357 Unit TimeStamp Example: 689085D7(H) = 1754301911(D) 358 358 ... ... @@ -359,77 +359,146 @@ 359 359 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time. 360 360 361 361 362 -(% class="wikigeneratedid" id="HDevMode" %) 363 -(% style="color:#4472c4" %)**DevMode** 360 +==== (% style="color:#4472c4" %)**DevMode**(%%) ==== 364 364 365 -Example: 362 +**Example**: 366 366 367 - if payload is 0x01:364 +If payload is 0x01: BLE_LoRa 368 368 366 +If payload is 0x02: LoRa 369 369 370 -(% class="wikigeneratedid" id="HMACaddr" %) 371 -(% style="color:#4472c4" %)**MACaddr** 368 +If payload is 0x03: BLE 372 372 373 -Read:0x(0197)=412 Value: 407 / 10=40.7, So 40.7% 374 374 371 +==== (% style="color:#4472c4" %)**MACaddr**(%%) ==== 375 375 376 -(% class="wikigeneratedid" id="HProbeBat" %) 377 -(% style="color:#4472c4" %)**ProbeBat** 373 +**Example**: 378 378 375 +If the payload is C12309250F1A, the MACaddr is C12309250F1A 376 + 377 + 378 +==== (% style="color:#4472c4" %)**ProbeBat**(%%) ==== 379 + 379 379 **Example:** 380 380 381 -If payload &0x01= 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt.382 +If payload is 0x64 = 100% 382 382 383 -If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm. 384 384 385 - Ifpayload & 0x80>>7= 0x01**~-~->**ThePA8 is low level.385 +==== (% style="color:#4472c4" %)**BoxBat**(%%) ==== 386 386 387 - If payload & 0x80>>7 =0x00**~-~->** The PA8 is highlevel.387 +**Example:** 388 388 389 -If payload >>2 =0x00**~-~->** means MOD=1,This is a sampling uplink message.389 +If payload is 0x46 = 70% 390 390 391 -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. 392 392 392 +==== (% style="color:#4472c4" %)**Food temperature**(%%) ==== 393 393 394 -(% class="wikigeneratedid" id="HBoxBat" %) 395 -(% style="color:#4472c4" %)**BoxBat** 394 +Because the food temperature data is a little-endian sequence, the order of the front and back bytes needs to be swapped during decoding. 396 396 397 - Sensor Battery Level.396 +**Example**: 398 398 399 - Ex1: 0x0B45=2885mV398 +If payload is: D300H = 00D3H, temp = 00D3H /10 = 21.1 degree 400 400 401 - Ex2: 0x0B49=2889mV400 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 402 402 403 403 404 -(% style="color:#4472c4" %)** Foodtemperature**403 +==== (% style="color:#4472c4" %)**Ambient temperature**(%%) ==== 405 405 405 +Because the food temperature data is a little-endian sequence, the order of the front and back bytes needs to be swapped during decoding. 406 + 406 406 **Example**: 407 407 408 -If payload is: 0 105H:(0105 & 8000==0), temp = 0105H /10 = 26.1 degree409 +If payload is: D200H = 00D2H, temp = 00D2H /10 = 21.0 degree 409 409 410 -If payload is: FF 3FH:(FF3F& 8000 == 1), temp = (FF3FH - 65536)/10 = -19.3 degrees.411 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 411 411 412 -(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 413 413 414 414 415 - (% style="color:#4472c4"%)**Ambientmperature**415 +== 2.4 Bluetoothe Broadcast Payload == 416 416 417 +=== 2.4.1 Scanning Tools === 418 + 419 +Scan and obtain DMT01 device broadcast data through a third-party mobile phone app (such as nRF Connect) 420 + 421 +Example: 422 + 423 +Note: The following data is obtained through the **nRF Connect tool**. 424 + 425 +[[image:1754305290140-806.jpg||height="680" width="432"]] 426 + 427 + 428 +If the scanned payload is 0x0201060609444D5430310EFF **01C12309250F1AD100CD006446 **0512E001E001 429 + 430 +(% style="color:red" %)**Note**(%%): 431 + 432 +* The first 12 bytes in the payload are the Bluetooth packet header data and do not need to be decoded. 433 +* The last 6 bytes in the payload are the Bluetooth packet trailer data and do not need to be decoded. 434 + 435 +So the payload is:**01C12309250F1AD100CD006446** 436 + 437 + 438 +==== (% style="color:#4472c4" %)**Bluetooth data packet frame header**(%%) ==== 439 + 440 +Example: 0x0201060609444D5430310EFF 441 + 442 + 443 +==== (% style="color:#4472c4" %)**DevMode**(%%) ==== 444 + 445 +**Example**: 446 + 447 +If payload is 0x01: BLE_LoRa 448 + 449 +If payload is 0x02: LoRa 450 + 451 +If payload is 0x03: BLE 452 + 453 + 454 +==== (% style="color:#4472c4" %)**MACaddr**(%%) ==== 455 + 417 417 **Example**: 418 418 419 -If payload is :0105H: (0105 & 8000 == 0), temp=0105H/10=26.1degree458 +If the payload is C12309250F1A, the MACaddr is C12309250F1A 420 420 421 -If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 422 422 423 -( FF3F& 8000:Judge whetherthe highestbit is 1, when the highest bit is 1, it is negative)461 +==== (% style="color:#4472c4" %)**ProbeBat**(%%) ==== 424 424 463 +**Example:** 425 425 465 +If payload is 0x64 = 100% 426 426 427 -== 2.4 Bluetoothe Broadcast Payload == 428 428 468 +==== (% style="color:#4472c4" %)**BoxBat**(%%) ==== 429 429 470 +**Example:** 430 430 472 +If payload is 0x46 = 70% 431 431 432 432 475 +==== (% style="color:#4472c4" %)**Food temperature**(%%) ==== 476 + 477 +Because the food temperature data is a little-endian sequence, the order of the front and back bytes needs to be swapped during decoding. 478 + 479 +**Example**: 480 + 481 +If payload is: D300H = 00D3H, temp = 00D3H /10 = 21.1 degree 482 + 483 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 484 + 485 + 486 +==== (% style="color:#4472c4" %)**Ambient temperature**(%%) ==== 487 + 488 +Because the food temperature data is a little-endian sequence, the order of the front and back bytes needs to be swapped during decoding. 489 + 490 +**Example**: 491 + 492 +If payload is: D200H = 00D2H, temp = 00D2H /10 = 21.0 degree 493 + 494 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 495 + 496 + 497 +Bluetooth data packet frame tail 498 + 499 + 433 433 = 3. Configure DMT01 ~-~- 需要修改 = 434 434 435 435 == 3.1 Configure Methods ==
- 1754305091443-355.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +408.8 KB - Content
- 1754305290140-806.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +133.1 KB - Content