Changes for page DMT01
Last modified by Mengting Qiu on 2025/08/11 18:25
From version 45.2
edited by Mengting Qiu
on 2025/08/04 17:25
on 2025/08/04 17:25
Change comment:
There is no comment for this version
To version 47.1
edited by Mengting Qiu
on 2025/08/04 17:49
on 2025/08/04 17:49
Change comment:
Uploaded new attachment "1754300947187-648.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -272,14 +272,14 @@ 272 272 === 2.3.1 Device Status, FPORT~=5 === 273 273 274 274 275 -Users can use the downlink command(**0x26 01**) to ask LTC2-LBto send device configure detail, include device configure status. DMT01 will uplink a payload via FPort=5 to server.275 +Users can use the downlink command(**0x26 01**) to ask DMT01 to send device configure detail, include device configure status. DMT01 will uplink a payload via FPort=5 to server. 276 276 277 277 The Payload format is as below. 278 278 279 279 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 280 280 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 281 -|(% style="width:103px" %)**Size (bytes)**|(% style="width: 72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2**282 -|(% style="width:103px" %)Value|(% style="width: 72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT281 +|(% style="width:103px" %)**Size (bytes)**|(% style="width:91px" %)**1**|(% style="width:98px" %)**2**|(% style="width:103px" %)**1**|(% style="width:112px" %)**1** 282 +|(% style="width:103px" %)Value|(% style="width:91px" %)Sensor Model|(% style="width:98px" %)Firmware Version|(% style="width:103px" %)Frequency Band|(% style="width:112px" %)Sub-band 283 283 284 284 Example in TTN: 285 285 ... ... @@ -288,7 +288,7 @@ 288 288 289 289 (% style="color:#037691" %)**Sensor Model**(%%): For DMT01, this value is 0x4B 290 290 291 -(% style="color:#037691" %)**Firmware Version**(%%): 0x010 0, Means: v1.0.0version291 +(% style="color:#037691" %)**Firmware Version**(%%): 0x0101, Means: v1.0.1 version 292 292 293 293 (% style="color:#037691" %)**Frequency Band**(%%): 294 294 ... ... @@ -328,16 +328,72 @@ 328 328 329 329 Other Bands: Always 0x00 330 330 331 -(% style="color:#037691" %)**Battery Info**(%%): 332 332 333 - Checkthebatteryvoltage.332 +=== 2.3.2 Sensor Data. FPORT~=2 === 334 334 334 + 335 +Sensor Data is uplink via FPORT=2 336 + 337 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 338 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 339 +**Size** 340 + 341 +**(bytes)** 342 +)))|=(% style="width: 40px;background-color:#4F81BD;color:white" %)2|=(% style="width: 90px;background-color:#4F81BD;color:white" %)4|=(% style="width: 150px; background-color: #4F81BD;color:white" %)6|=(% 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" %)2|=(% style="width: 80px; background-color: #4F81BD;color:white" %)4 343 +|(% style="width:99px" %)Value|(% style="width:69px" %)((( 344 +BoxBat 345 + 346 + 347 +)))|(% style="width:130px" %)DevMode|(% style="width:194px" %)MACaddr|(% style="width:106px" %)ProbeBat|(% style="width:97px" %)((( 348 +Food temperature 349 +)))|(% style="width:97px" %)Ambient temperature|(% style="width:97px" %)Timestamp 350 + 351 +[[image:image-20230524144456-2.png||height="180" width="1142"]] 352 + 353 + 354 +==== (% style="color:#4472c4" %)**Battery**(%%) ==== 355 + 356 +Sensor Battery Level. 357 + 335 335 Ex1: 0x0B45 = 2885mV 336 336 337 337 Ex2: 0x0B49 = 2889mV 338 338 339 339 363 +==== (% style="color:#4472c4" %)**Temperature**(%%) ==== 340 340 365 +**Example**: 366 + 367 +If payload is: 0105H: (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree 368 + 369 +If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 370 + 371 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 372 + 373 + 374 +==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 375 + 376 +Read:0x(0197)=412 Value: 407 / 10=40.7, So 40.7% 377 + 378 + 379 +==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== 380 + 381 +**Example:** 382 + 383 +If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. 384 + 385 +If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm. 386 + 387 +If payload & 0x80>>7 = 0x01 **~-~->** The PA8 is low level. 388 + 389 +If payload & 0x80>>7 =0x00 **~-~->** The PA8 is high level. 390 + 391 +If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message. 392 + 393 +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. 394 + 395 + 396 + 341 341 == 2.4 Bluetoothe Broadcast Payload == 342 342 343 343
- 1754300947187-648.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +175.0 KB - Content