Changes for page DMT01
Last modified by Mengting Qiu on 2025/08/11 18:25
From version 48.3
edited by Mengting Qiu
on 2025/08/04 18:05
on 2025/08/04 18:05
Change comment:
There is no comment for this version
To version 50.1
edited by Mengting Qiu
on 2025/08/04 18:46
on 2025/08/04 18:46
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -337,109 +337,95 @@ 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" %) 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" %)4340 +)))|=(% 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" %)2 341 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 356 Timestamp 357 357 358 358 359 359 )))|(% style="width:130px" %)DevMode|(% style="width:194px" %)MACaddr|(% style="width:106px" %)ProbeBat|(% style="width:97px" %)((( 360 - Food temperature361 -)))|(% style="width:97px" %) Ambienttemperature|(% style="width:97px" %)346 +BoxBat 347 +)))|(% style="width:97px" %)Food temperature|(% style="width:97px" %)Ambient temperature 362 362 363 363 [[image:1754300947187-648.png||height="641" width="1351"]] 364 364 365 365 366 -(% class="wikigeneratedid" id="HUnittimestamp" %) 367 -(% style="color:#4472c4" %)**Unit timestamp** 368 368 369 -Unit TimeStampExample: 67CF92A7(H) =1741656743(D)353 +==== (% style="color:#4472c4" %)**Unit timestamp**(%%) ==== 370 370 355 +Unit TimeStamp Example: 689085D7(H) = 1754301911(D) 356 + 371 371 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time. 372 372 373 373 374 -(% class="wikigeneratedid" id="HDevMode" %) 375 -(% style="color:#4472c4" %)**DevMode** 360 +==== (% style="color:#4472c4" %)**DevMode**(%%) ==== 376 376 362 +**Example**: 377 377 364 +If payload is 0x01: BLE_LoRa 378 378 379 -(% class="wikigeneratedid" id="HMACaddr" %) 380 -(% style="color:#4472c4" %)**MACaddr** 366 +If payload is 0x02: LoRa 381 381 382 - Read:0x(0197)=412Value:407/ 10=40.7,So 40.7%368 +If payload is 0x03: BLE 383 383 384 384 385 -(% class="wikigeneratedid" id="HProbeBat" %) 386 -(% style="color:#4472c4" %)**ProbeBat** 371 +==== (% style="color:#4472c4" %)**MACaddr**(%%) ==== 387 387 388 -**Example :**373 +**Example**: 389 389 390 -If payload &0x01=0x01**~-~->** This is anAlarmMessage.Itmeans that thetemperature andhumidity exceed the alarmvalue or triggeran interrupt.375 +If the payload is C12309250F1A, the MACaddr is C12309250F1A 391 391 392 -If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm. 393 393 394 - Ifpayload & 0x80>>7= 0x01**~-~->** ThePA8 is low level.378 +==== (% style="color:#4472c4" %)**ProbeBat**(%%) ==== 395 395 396 - If payload & 0x80>>7 =0x00**~-~->** The PA8 is highlevel.380 +**Example:** 397 397 398 -If payload >>2 =0x00**~-~->** means MOD=1,This is a sampling uplink message.382 +If payload is 0x64 = 100% 399 399 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. 401 401 385 +==== (% style="color:#4472c4" %)**BoxBat**(%%) ==== 402 402 403 -(% class="wikigeneratedid" id="HBoxBat" %) 404 -(% style="color:#4472c4" %)**BoxBat** 387 +**Example:** 405 405 406 - SensorBatteryLevel.389 +If payload is 0x46 = 70% 407 407 408 -Ex1: 0x0B45 = 2885mV 409 409 410 - Ex2:0x0B49=889mV392 +==== (% style="color:#4472c4" %)**Food temperature**(%%) ==== 411 411 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. 412 412 413 -(% style="color:#4472c4" %)**Food temperature** 414 - 415 415 **Example**: 416 416 417 -If payload is: 0 105H:(0105 & 8000==0), temp = 0105H /10 = 26.1 degree398 +If payload is: D300H = 00D3H, temp = 00D3H /10 = 21.1 degree 418 418 419 -If payload is: FF 3FH:(FF3F& 8000 == 1), temp = (FF3FH - 65536)/10 = -19.3 degrees.400 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 420 420 421 -(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 422 422 403 +==== (% style="color:#4472c4" %)**Ambient temperature**(%%) ==== 423 423 424 - (%style="color:#4472c4"%)**Ambienttemperature**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. 425 425 426 426 **Example**: 427 427 428 -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 429 429 430 -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. 431 431 432 -(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 433 433 434 434 415 +== 2.4 Bluetoothe Broadcast Payload == 435 435 417 +=== 2.4.1 Scanning Tools === 436 436 437 - ==2.4BluetootheBroadcastPayload==419 +Scan and obtain BPT01 device broadcast data through a third-party mobile phone app (such as nRF Connect) 438 438 421 +Example: 439 439 423 +Note: The following data is obtained through the nRF Connect tool. 440 440 441 441 442 442 427 + 428 + 443 443 = 3. Configure DMT01 ~-~- 需要修改 = 444 444 445 445 == 3.1 Configure Methods ==