<
From version < 34.47 >
edited by Xiaoling
on 2023/07/01 15:24
To version < 36.1 >
edited by Saxer Lin
on 2023/07/10 13:49
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Saxer
Content
... ... @@ -156,6 +156,7 @@
156 156  
157 157  [[image:image-20230630160843-7.png]]
158 158  
159 +
159 159  == 1.9 Mechanical ==
160 160  
161 161  
... ... @@ -236,11 +236,13 @@
236 236  === 2.3.1 Device Status, FPORT~=5 ===
237 237  
238 238  
239 -Users can use the downlink command(**0x26 01**) to ask DS03A-LB to send device configure detail, include device configure status. DS03A-LB will uplink a payload via FPort=5 to server.
240 +Include device configure status. Once DS03A-LB Joined the network, it will uplink this message to the server. After that, DS03A-LB will uplink Device Status every 12 hours.
240 240  
241 -The Payload format is as below.
242 +Users can also use the downlink command**(0x26 01)** to ask DS03A-LB to resend this uplink. This uplink payload also includes the DeviceTimeReq to get time.
242 242  
243 243  
245 +The Payload format is as below.
246 +
244 244  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
245 245  |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
246 246  |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2**
... ... @@ -307,7 +307,7 @@
307 307  === 2.3.2  Sensor Configuration, FPORT~=4 ===
308 308  
309 309  
310 -DS03A-LB will only send this command after getting the downlink command (0x26 02) from the server.
313 +DS03A-LB will only send this command after getting the downlink command **(0x26 02)** from the server.
311 311  
312 312  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
313 313  |(% colspan="8" style="background-color:#d9e2f3; color:#0070c0; width:515px" %)**Sensor Configuration FPORT=4**
... ... @@ -322,6 +322,11 @@
322 322  Alarm interval(unit: min)
323 323  )))
324 324  
328 +Example parse in TTNv3
329 +
330 +[[image:image-20230630155527-3.png||height="146" width="902"]]
331 +
332 +
325 325  * (((
326 326  (% style="color:blue" %)**TDC: (default: 0x001C20)**
327 327  )))
... ... @@ -347,7 +347,6 @@
347 347  
348 348  Shows the configure value of [[Alarm Base on Timeout Feature>>||anchor="H3.3.3A0AlarmBaseonTimeout"]]
349 349  
350 -[[image:image-20230630155527-3.png||height="146" width="902"]]
351 351  
352 352  
353 353  * (((
... ... @@ -365,7 +365,7 @@
365 365  * Every 2 hours, this interval [[can be changed>>||anchor="H3.3.1A0SetTransmitIntervalTime"]].
366 366  * There is an Open/Close event.  (This info can be disabled by AT+DISALARM=1)
367 367  
368 -**1) When (% style="color:blue" %)AT+TTRCHANNEL=1(%%), Uplink Payload totals (% style="color:blue" %)11 bytes. (Default mode)**
375 +**1) When (% style="color:blue" %)AT+TTRCHANNEL=1(%%), Uplink Payload totals (% style="color:blue" %)11 bytes. (Default mode)(%%)**
369 369  
370 370  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
371 371  |=(% colspan="5" style="background-color:#D9E2F3;color:#0070C0;width:515px" %)**Real-Time Open/Close Status, FPORT=2**
... ... @@ -395,9 +395,9 @@
395 395  (% style="color:blue" %)**Count mod:Default=0**
396 396  )))
397 397  
398 -MOD=0 ~-~-> Uplink total open door times since factory
405 +0: Uplink total open door times since factory
399 399  
400 -MOD=1 ~-~-> Uplink total open door times since last FPORT=2 uplink.
407 +1: Uplink total open door times since last FPORT=2 uplink.
401 401  
402 402  
403 403  * (% style="color:blue" %)**TDC flag**
... ... @@ -441,7 +441,7 @@
441 441  [[image:image-20230701094042-1.png||height="154" width="763"]]
442 442  
443 443  
444 -**2) When (% style="color:blue" %)AT+TTRCHANNEL=2(%%), Uplink Payload totals (% style="color:blue" %)18 bytes**.
451 +**2) When (% style="color:blue" %)AT+TTRCHANNEL=2(%%), Uplink Payload totals (% style="color:blue" %)18 bytes(%%)**(% style="color:blue" %).
445 445  
446 446  (When the maximum DR of some frequencies is 11 bytes, it will cause the server to receive empty packets)
447 447  
... ... @@ -451,11 +451,11 @@
451 451  |=(% colspan="8" style="background-color:#D9E2F3;color:#0070C0; width: 515px;" %)**Real-Time Open/Close Status, FPORT=2**
452 452  |(% style="width:50px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:125px" %)**3**|(% style="width:100px" %)**4**|(% style="width:86px" %)**1**|(% style="width:96px" %)**3**|(% style="width:126px" %)**3**
453 453  |(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
454 -Status1 & [[Alarm>>||anchor="H3.3.4A0AlarmBaseonTimeout"]]1
461 +Status1 & Alarm1
455 455  )))|(% style="width:95px" %)Total open door events1|(% style="width:125px" %)(((
456 456  The last door open duration1 (unit: sec)
457 457  )))|(% style="width:100px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]|(% style="width:86px" %)(((
458 -Status2 & [[Alarm>>||anchor="H3.3.4A0AlarmBaseonTimeout"]]2
465 +Status2 & Alarm2
459 459  )))|(% style="width:96px" %)Total open door events2|(% style="width:126px" %)The last door open duration2 (unit: sec)
460 460  
461 461  **Status1 & Alarm1:**
... ... @@ -484,12 +484,12 @@
484 484  
485 485  
486 486  * (((
487 -(% id="cke_bm_695345S" style="color:blue; display:none" %)** **(% style="color:blue" %)**Count mod:Default=0**
494 +(% style="color:blue" %)**Count mod:Default=0**
488 488  )))
489 489  
490 -MOD=0 ~-~-> Uplink total open door times since factory
497 +0: Uplink total open door times since factory
491 491  
492 -MOD=1 ~-~-> Uplink total open door times since last FPORT=2 uplink.
499 +1: Uplink total open door times since last FPORT=2 uplink.
493 493  
494 494  
495 495  * (% style="color:blue" %)**TDC flag**
... ... @@ -503,7 +503,7 @@
503 503  (% style="color:#0000ff" %)**Alarm1 or Alarm2**
504 504  )))
505 505  
506 -See [[Alarm Base on Timeout>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DS03A-LB/#H3.3.3A0AlarmBaseonTimeout]]
513 +See [[Alarm Base on Timeout>>||anchor="H3.3.3A0AlarmBaseonTimeout"]]
507 507  
508 508  
509 509  * (((
... ... @@ -544,7 +544,7 @@
544 544  |=(% colspan="5" style="background-color:#D9E2F3;color:#0070C0;width:515px" %)**Real-Time Open/Close Status, FPORT=3**
545 545  |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4**
546 546  |(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
547 -Status & [[Alarm>>||anchor="H3.3.4A0AlarmBaseonTimeout"]]
554 +Status & [[Alarm>>||anchor="H3.3.3A0AlarmBaseonTimeout"]]
548 548  )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)(((
549 549  The last door open duration (unit: sec)
550 550  )))|(% style="width:108px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]
... ... @@ -564,7 +564,7 @@
564 564  )))
565 565  
566 566  * (((
567 -Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.2A0Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, DS03A-LB will send max bytes according to the current DR and Frequency bands.
574 +Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.3A0Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, DS03A-LB will send max bytes according to the current DR and Frequency bands.
568 568  )))
569 569  
570 570  For example, in the US915 band, the max payload for different DR is:
... ... @@ -816,7 +816,6 @@
816 816  
817 817  DS03A-LB can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are:
818 818  
819 -
820 820  * (((
821 821  (% style="color:blue" %)**Keep Status: Status to be monitor**
822 822  )))
... ... @@ -852,7 +852,7 @@
852 852  **cc dd:** timeout.
853 853  
854 854  
855 -1)**AT+TTRIG1**:(PA8 of pin)
861 +**1) AT+TTRIG1 : (PA8 of pin)**
856 856  
857 857  (% style="color:blue" %)**AT Command to configure:**
858 858  
... ... @@ -871,13 +871,11 @@
871 871  
872 872  (% style="color:blue" %)**Downlink Command to configure:**
873 873  
874 -If user send 0xA9 01 01 00 1E: equal to AT+TTRIG1=1,30 or
880 +If user send 0xA9 01 01 00 1E: equal to AT+TTRIG1=1,30 **or** 0xA9 01 00 00 00: Equal to AT+TTRIG1=0,0.
875 875  
876 - 0xA9 01 00 00 00: Equal to AT+TTRIG1=0,0.
877 877  
883 +**2) AT+TTRIG2 : (PA4 of pin,need to use AT+TTRCHANNEL=2)**
878 878  
879 -2)**AT+TTRIG2**:(PA4 of pin,need to use AT+TTRCHANNEL=2)
880 -
881 881  (% style="color:blue" %)**AT Command to configure:**
882 882  
883 883  * (((
... ... @@ -895,11 +895,9 @@
895 895  
896 896  (% style="color:blue" %)**Downlink Command to configure:**
897 897  
898 -If user send 0xA9 02 00 00 1E: equal to AT+TTRIG2=0,30 or
902 +If user send 0xA9 02 00 00 1E: equal to AT+TTRIG2=0,30  **or**  0xA9 02 00 00 00: Equal to AT+TTRIG2=0,0.
899 899  
900 - 0xA9 02 00 00 00: Equal to AT+TTRIG2=0,0.
901 901  
902 -
903 903  === 3.3.4  TTRIG1 & TTRIG2 timeout status alarm ===
904 904  
905 905  
... ... @@ -1030,8 +1030,8 @@
1030 1030  
1031 1031  (% style="color:blue" %)**AT Command:**
1032 1032  
1033 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
1034 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 288px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1035 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1036 +|=(% style="width: 163px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 290px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1035 1035  |(% style="width:155px" %)AT+CLRC|(% style="width:259px" %)clear the open door times and the duration of the last open door.|(% style="width:44px" %)(((
1036 1036  OK
1037 1037  )))
... ... @@ -1092,9 +1092,8 @@
1092 1092  
1093 1093  Firmware and changelog can be downloaded from : **[[Firmware download link>>http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
1094 1094  
1097 +Methods to Update Firmware:
1095 1095  
1096 -**Methods to Update Firmware:**
1097 -
1098 1098  * (Recommanded way) OTA firmware update via wireless:** [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
1099 1099  * Update through UART TTL interface: **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
1100 1100  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0