Changes for page DMT01
Last modified by Mengting Qiu on 2025/08/11 18:25
From version 52.3
edited by Mengting Qiu
on 2025/08/04 19:01
on 2025/08/04 19:01
Change comment:
There is no comment for this version
To version 48.2
edited by Mengting Qiu
on 2025/08/04 18:04
on 2025/08/04 18:04
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -337,97 +337,99 @@ 337 337 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 338 338 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 339 339 **Size(bytes)** 340 -)))|=(% 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" %)1|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2340 +)))|=(% 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 341 |(% style="width:99px" %)Value|(% style="width:69px" %)((( 342 - Timestamp342 +BoxBat 343 343 344 344 345 345 )))|(% style="width:130px" %)DevMode|(% style="width:194px" %)MACaddr|(% style="width:106px" %)ProbeBat|(% style="width:97px" %)((( 346 - BoxBat347 -)))|(% style="width:97px" %) Foodtemperature|(% style="width:97px" %)Ambienttemperature346 +Food temperature 347 +)))|(% style="width:97px" %)Ambient temperature|(% style="width:97px" %)Timestamp 348 348 349 -[[image:1754300947187-648.png||height="641" width="1351"]] 350 350 351 351 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 352 352 353 -==== (% style="color:#4472c4" %)**Unit timestamp**(%%) ==== 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" %) 354 354 355 - Unit TimeStamp Example:689085D7(H) =1754301911(D)363 +[[image:1754300947187-648.png||height="641" width="1351"]] 356 356 357 -Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time. 358 358 366 +(% class="wikigeneratedid" id="HUnittimestamp" %) 367 +(% style="color:#4472c4" %)**Unit timestamp** 359 359 360 - ====(% style="color:#4472c4" %)**DevMode**(%%) ====369 +Unit TimeStamp Example: 67CF92A7(H) = 1741656743(D) 361 361 362 - **Example**:371 +Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time. 363 363 364 -If payload is 0x01: BLE_LoRa 365 365 366 -If payload is 0x02: LoRa 374 +(% class="wikigeneratedid" id="HDevMode" %) 375 +(% style="color:#4472c4" %)**DevMode** 367 367 368 -If payload is 0x03: BLE 369 369 370 370 371 -==== (% style="color:#4472c4" %)**MACaddr**(%%) ==== 379 +(% class="wikigeneratedid" id="HMACaddr" %) 380 +(% style="color:#4472c4" %)**MACaddr** 372 372 373 - **Example**:382 +Read:0x(0197)=412 Value: 407 / 10=40.7, So 40.7% 374 374 375 -If the payload is C12309250F1A, the MACaddr is C12309250F1A 376 376 385 +(% class="wikigeneratedid" id="HProbeBat" %) 386 +(% style="color:#4472c4" %)**ProbeBat** 377 377 378 -==== (% style="color:#4472c4" %)**ProbeBat**(%%) ==== 379 - 380 380 **Example:** 381 381 382 -If payload is0x64=100%390 +If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. 383 383 392 +If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm. 384 384 385 - ====(% style="color:#4472c4"%)**BoxBat**(%%)====394 +If payload & 0x80>>7 = 0x01 **~-~->** The PA8 is low level. 386 386 387 - **Example:**396 +If payload & 0x80>>7 =0x00 **~-~->** The PA8 is high level. 388 388 389 -If payload is0x46=70%398 +If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message. 390 390 400 +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. 391 391 392 -==== (% style="color:#4472c4" %)**Food temperature**(%%) ==== 393 393 394 - Becausethe food temperature data isa little-endian sequence, theorderof the front andback bytes needs to be swapped during decoding.403 +(% style="color:#4472c4" %)**Food temperature** 395 395 396 396 **Example**: 397 397 398 -If payload is: D300H=00D3H, temp = 00D3H /10 = 21.1 degree407 +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.409 +If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 401 401 411 +(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 - Becausethe food temperature data isa little-endian sequence, theorderof the front and backbytesneedstobeswapped during decoding.414 +(% style="color:#4472c4" %)**Ambient temperature** 406 406 407 407 **Example**: 408 408 409 -If payload is: D200H=00D2H, temp = 00D2H /10 = 21.0degree418 +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.420 +If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 412 412 422 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 413 413 414 414 415 -== 2.4 Bluetoothe Broadcast Payload == 416 416 417 -=== 2.4.1 Scanning Tools === 418 418 419 - Scanandobtain DMT01 devicebroadcastdata through a third-partymobile phoneapp(such as nRF Connect)427 +== 2.4 Bluetoothe Broadcast Payload == 420 420 421 -Example: 422 422 423 -Note: The following data is obtained through the **nRF Connect tool**. 424 424 425 -[[image:1754305290140-806.jpg||height="680" width="432"]] 426 426 427 427 428 - 429 - 430 - 431 431 = 3. Configure DMT01 ~-~- 需要修改 = 432 432 433 433 == 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