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
Change comment: There is no comment for this version
To version 46.3
edited by Mengting Qiu
on 2025/08/04 17:45
Change comment: There is no comment for this version

Summary

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-LB to 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" %)BAT
281 +|(% 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**(%%): 0x0100, Means: v1.0.0 version
291 +(% 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,70 @@
328 328  
329 329  Other Bands: Always 0x00
330 330  
331 -(% style="color:#037691" %)**Battery Info**(%%):
332 332  
333 -Check the battery voltage.
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(bytes)**
340 +)))|=(% 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" %)1|=(% style="width: 80px; background-color: #4F81BD;color:white" %)**2**|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2
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 +)))
348 +
349 +[[image:image-20230524144456-2.png||height="180" width="1142"]]
350 +
351 +
352 +==== (% style="color:#4472c4" %)**Battery**(%%) ====
353 +
354 +Sensor Battery Level.
355 +
335 335  Ex1: 0x0B45 = 2885mV
336 336  
337 337  Ex2: 0x0B49 = 2889mV
338 338  
339 339  
361 +==== (% style="color:#4472c4" %)**Temperature**(%%) ====
340 340  
363 +**Example**:
364 +
365 +If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
366 +
367 +If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
368 +
369 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
370 +
371 +
372 +==== (% style="color:#4472c4" %)**Humidity**(%%) ====
373 +
374 +Read:0x(0197)=412    Value:  407 / 10=40.7, So 40.7%
375 +
376 +
377 +==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ====
378 +
379 +**Example:**
380 +
381 +If payload & 0x01 = 0x01  **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt.
382 +
383 +If payload & 0x01 = 0x00  **~-~->** This is a normal uplink message, no alarm.
384 +
385 +If payload & 0x80>>7 = 0x01  **~-~->** The PA8 is low level.
386 +
387 +If payload & 0x80>>7 =0x00  **~-~->** The PA8 is high level.
388 +
389 +If payload >> 2 = 0x00  **~-~->**  means MOD=1, This is a sampling uplink message.
390 +
391 +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.
392 +
393 +
394 +
341 341  == 2.4 Bluetoothe Broadcast Payload ==
342 342  
343 343