Changes for page DMT01

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

From version 45.1
edited by Mengting Qiu
on 2025/08/04 17:24
Change comment: Uploaded new attachment "1754299464263-797.png", version {1}
To version 46.2
edited by Mengting Qiu
on 2025/08/04 17:42
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -269,8 +269,129 @@
269 269  
270 270  == 2.3 LoRaWAN Payload ==
271 271  
272 +=== 2.3.1 Device Status, FPORT~=5 ===
272 272  
273 273  
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 +
277 +The Payload format is as below.
278 +
279 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
280 +|(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)**
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 +
284 +Example in TTN:
285 +
286 +[[image:1754299464263-797.png||height="274" width="1384"]]
287 +
288 +
289 +(% style="color:#037691" %)**Sensor Model**(%%): For DMT01, this value is 0x4B
290 +
291 +(% style="color:#037691" %)**Firmware Version**(%%): 0x0101, Means: v1.0.1 version
292 +
293 +(% style="color:#037691" %)**Frequency Band**(%%):
294 +
295 +0x01: EU868
296 +
297 +0x02: US915
298 +
299 +0x03: IN865
300 +
301 +0x04: AU915
302 +
303 +0x05: KZ865
304 +
305 +0x06: RU864
306 +
307 +0x07: AS923
308 +
309 +0x08: AS923-1
310 +
311 +0x09: AS923-2
312 +
313 +0x0a: AS923-3
314 +
315 +0x0b: CN470
316 +
317 +0x0c: EU433
318 +
319 +0x0d: KR920
320 +
321 +0x0e: MA869
322 +
323 +(% style="color:#037691" %)**Sub-Band**(%%):
324 +
325 +AU915 and US915:value 0x00 ~~ 0x08
326 +
327 +CN470: value 0x0B ~~ 0x0C
328 +
329 +Other Bands: Always 0x00
330 +
331 +
332 +=== 2.3.2  Sensor Data. FPORT~=2 ===
333 +
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 +Humidity
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 +
274 274  == 2.4 Bluetoothe Broadcast Payload ==
275 275  
276 276