Changes for page DMT01

Last modified by Mengting Qiu on 2025/08/11 18:25

From version 45.3
edited by Mengting Qiu
on 2025/08/04 17:26
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,7 +272,7 @@
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  
... ... @@ -329,7 +329,69 @@
329 329  Other Bands: Always 0x00
330 330  
331 331  
332 +=== 2.3.2  Sensor Data. FPORT~=2 ===
332 332  
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 +
356 +Ex1: 0x0B45 = 2885mV
357 +
358 +Ex2: 0x0B49 = 2889mV
359 +
360 +
361 +==== (% style="color:#4472c4" %)**Temperature**(%%) ====
362 +
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 +
333 333  == 2.4 Bluetoothe Broadcast Payload ==
334 334  
335 335