Changes for page DMT01

Last modified by Xiaoling on 2025/08/15 17:26

From version 55.1
edited by Mengting Qiu
on 2025/08/04 19:56
Change comment: There is no comment for this version
To version 49.2
edited by Mengting Qiu
on 2025/08/04 18:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -350,7 +350,8 @@
350 350  
351 351  
352 352  
353 -==== (% style="color:#4472c4" %)**Unit timestamp**(%%) ====
353 +(% class="wikigeneratedid" id="HUnittimestamp" %)
354 +(% style="color:#4472c4" %)**Unit timestamp**
354 354  
355 355  Unit TimeStamp Example: 689085D7(H) = 1754301911(D)
356 356  
... ... @@ -357,7 +357,8 @@
357 357  Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time.
358 358  
359 359  
360 -==== (% style="color:#4472c4" %)**DevMode**(%%) ====
361 +(% class="wikigeneratedid" id="HDevMode" %)
362 +(% style="color:#4472c4" %)**DevMode**
361 361  
362 362  **Example**:
363 363  
... ... @@ -368,7 +368,8 @@
368 368  If payload is 0x03: BLE
369 369  
370 370  
371 -==== (% style="color:#4472c4" %)**MACaddr**(%%) ====
373 +(% class="wikigeneratedid" id="HMACaddr" %)
374 +(% style="color:#4472c4" %)**MACaddr**
372 372  
373 373  **Example**:
374 374  
... ... @@ -375,7 +375,8 @@
375 375  If the payload is C12309250F1A, the MACaddr is C12309250F1A
376 376  
377 377  
378 -==== (% style="color:#4472c4" %)**ProbeBat**(%%) ====
381 +(% class="wikigeneratedid" id="HProbeBat" %)
382 +(% style="color:#4472c4" %)**ProbeBat**
379 379  
380 380  **Example:**
381 381  
... ... @@ -382,7 +382,8 @@
382 382  If payload is 0x64 = 100%
383 383  
384 384  
385 -==== (% style="color:#4472c4" %)**BoxBat**(%%) ====
389 +(% class="wikigeneratedid" id="HBoxBat" %)
390 +(% style="color:#4472c4" %)**BoxBat**
386 386  
387 387  **Example:**
388 388  
... ... @@ -389,122 +389,35 @@
389 389  If payload is 0x46 = 70%
390 390  
391 391  
392 -==== (% style="color:#4472c4" %)**Food temperature**(%%) ====
397 +(% style="color:#4472c4" %)**Food temperature**
393 393  
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.
395 -
396 396  **Example**:
397 397  
398 -If payload is: D300H = 00D3H, temp = 00D3H /10 = 21.1 degree
401 +If payload is: 0105H (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
399 399  
400 -If payload is: 3FFFH  = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees.
403 +If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
401 401  
405 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
402 402  
403 -==== (% style="color:#4472c4" %)**Ambient temperature**(%%) ====
404 404  
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.
408 +(% style="color:#4472c4" %)**Ambient temperature**
406 406  
407 407  **Example**:
408 408  
409 -If payload is: D200H = 00D2H, temp = 00D2H /10 = 21.0 degree
412 +If payload is: 0105H (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
410 410  
411 -If payload is: 3FFFH  = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees.
414 +If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
412 412  
416 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
413 413  
414 414  
419 +
415 415  == 2.4 Bluetoothe Broadcast Payload ==
416 416  
417 -=== 2.4.1 How to use the scanning tool ===
418 418  
419 419  
420 420  
421 421  
422 -=== 2.4.2 Data Analysis ===
423 -
424 -Scan and obtain DMT01 device broadcast data through a third-party mobile phone app (such as nRF Connect)
425 -
426 -Example:
427 -
428 -Note: The following data is obtained through the **nRF Connect tool**.
429 -
430 -[[image:1754305290140-806.jpg||height="680" width="432"]]
431 -
432 -
433 -If the scanned payload is 0x0201060609444D5430310EFF  **01C12309250F1AD100CD006446   **0512E001E001
434 -
435 -(% style="color:red" %)**Note**(%%):
436 -
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.
439 -
440 -So the payload is:**01C12309250F1AD100CD006446**
441 -
442 -
443 -==== (% style="color:#4472c4" %)**Bluetooth data packet frame header**(%%) ====
444 -
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 -
508 508  = 3. Configure DMT01  ~-~- 需要修改 =
509 509  
510 510  == 3.1 Configure Methods ==
1754305091443-355.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -408.8 KB
Content
1754305290140-806.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -133.1 KB
Content