Changes for page DMT01
Last modified by Mengting Qiu on 2025/08/11 18:25
From version 52.5
edited by Mengting Qiu
on 2025/08/04 19:05
on 2025/08/04 19:05
Change comment:
There is no comment for this version
To version 55.1
edited by Mengting Qiu
on 2025/08/04 19:56
on 2025/08/04 19:56
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -414,8 +414,13 @@ 414 414 415 415 == 2.4 Bluetoothe Broadcast Payload == 416 416 417 -=== 2.4.1 ScanningTools===417 +=== 2.4.1 How to use the scanning tool === 418 418 419 + 420 + 421 + 422 +=== 2.4.2 Data Analysis === 423 + 419 419 Scan and obtain DMT01 device broadcast data through a third-party mobile phone app (such as nRF Connect) 420 420 421 421 Example: ... ... @@ -425,13 +425,81 @@ 425 425 [[image:1754305290140-806.jpg||height="680" width="432"]] 426 426 427 427 428 -If the scanned payload is 0x0201060609444D5430310EFF **01C12309250F1AD100CD0064460512 **E001E001433 +If the scanned payload is 0x0201060609444D5430310EFF **01C12309250F1AD100CD006446 **0512E001E001 429 429 435 +(% style="color:red" %)**Note**(%%): 430 430 437 +* The first 12 bytes in the payload are the Bluetooth packet header data and do not need to be decoded. 438 +* The last 6 bytes in the payload are the Bluetooth packet trailer data and do not need to be decoded. 431 431 440 +So the payload is:**01C12309250F1AD100CD006446** 432 432 433 433 443 +==== (% style="color:#4472c4" %)**Bluetooth data packet frame header**(%%) ==== 434 434 445 +Example: 0x0201060609444D5430310EFF 446 + 447 + 448 +==== (% style="color:#4472c4" %)**DevMode**(%%) ==== 449 + 450 +**Example**: 451 + 452 +If payload is 0x01: BLE_LoRa 453 + 454 +If payload is 0x02: LoRa 455 + 456 +If payload is 0x03: BLE 457 + 458 + 459 +==== (% style="color:#4472c4" %)**MACaddr**(%%) ==== 460 + 461 +**Example**: 462 + 463 +If the payload is C12309250F1A, the MACaddr is C12309250F1A 464 + 465 + 466 +==== (% style="color:#4472c4" %)**ProbeBat**(%%) ==== 467 + 468 +**Example:** 469 + 470 +If payload is 0x64 = 100% 471 + 472 + 473 +==== (% style="color:#4472c4" %)**BoxBat**(%%) ==== 474 + 475 +**Example:** 476 + 477 +If payload is 0x46 = 70% 478 + 479 + 480 +==== (% style="color:#4472c4" %)**Food temperature**(%%) ==== 481 + 482 +Because the food temperature data is a little-endian sequence, the order of the front and back bytes needs to be swapped during decoding. 483 + 484 +**Example**: 485 + 486 +If payload is: D300H = 00D3H, temp = 00D3H /10 = 21.1 degree 487 + 488 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 489 + 490 + 491 +==== (% style="color:#4472c4" %)**Ambient temperature**(%%) ==== 492 + 493 +Because the food temperature data is a little-endian sequence, the order of the front and back bytes needs to be swapped during decoding. 494 + 495 +**Example**: 496 + 497 +If payload is: D200H = 00D2H, temp = 00D2H /10 = 21.0 degree 498 + 499 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 500 + 501 + 502 +==== (% style="color:#4472c4" %)**Bluetooth data packet frame tail**(%%) ==== 503 + 504 +Example: 0x0512E001E001 505 + 506 + 507 + 435 435 = 3. Configure DMT01 ~-~- 需要修改 = 436 436 437 437 == 3.1 Configure Methods ==