<
From version < 77.89 >
edited by Xiaoling
on 2022/06/10 09:27
To version < 77.107 >
edited by Xiaoling
on 2022/06/10 09:35
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -216,12 +216,9 @@
216 216  
217 217  (((
218 218  In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices.
219 -
220 -
221 221  )))
222 222  
223 223  
224 -
225 225  == 3.2 Example to join LoRaWAN network ==
226 226  
227 227  (((
... ... @@ -230,12 +230,13 @@
230 230  
231 231  [[image:image-20220523172350-1.png||height="266" width="864"]]
232 232  
230 +
233 233  (((
234 234  The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN:
235 235  )))
236 236  
237 237  (((
238 -**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
236 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.
239 239  )))
240 240  
241 241  (((
... ... @@ -244,6 +244,7 @@
244 244  
245 245  [[image:1653297924498-393.png]]
246 246  
245 +
247 247  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
248 248  
249 249  Add APP EUI in the application.
... ... @@ -257,7 +257,7 @@
257 257  
258 258  
259 259  (((
260 -**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
259 +(% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
261 261  )))
262 262  
263 263  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -275,6 +275,8 @@
275 275  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
276 276  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
277 277  
277 +
278 +
278 278  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
279 279  
280 280  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -282,6 +282,8 @@
282 282  [[image:image-20220523174024-3.png]]
283 283  
284 284  (((
286 +
287 +
285 285  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
286 286  )))
287 287  
... ... @@ -626,6 +626,7 @@
626 626  1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
627 627  1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.**
628 628  
632 +
629 629  **AT Command to set Trigger Condition**:
630 630  
631 631  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -639,6 +639,7 @@
639 639  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
640 640  
641 641  
646 +
642 642  (% style="color:#4f81bd" %)**Trigger base on current**:
643 643  
644 644  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -648,6 +648,7 @@
648 648  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
649 649  
650 650  
656 +
651 651  (% style="color:#4f81bd" %)**Trigger base on DI status**:
652 652  
653 653  DI status trigger Flag.
... ... @@ -654,12 +654,13 @@
654 654  
655 655  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
656 656  
663 +
657 657  **Example:**
658 658  
659 659  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
660 660  
661 661  
662 -**Downlink Command to set Trigger Condition**
669 +**Downlink Command to set Trigger Condition:**
663 663  
664 664  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
665 665  
... ... @@ -688,6 +688,7 @@
688 688  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
689 689  
690 690  
698 +
691 691  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
692 692  
693 693  MOD6 Payload : total 11 bytes payload
... ... @@ -701,6 +701,7 @@
701 701  
702 702  * Each bits shows if the corresponding trigger has been configured.
703 703  
712 +
704 704  **Example:**
705 705  
706 706  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -712,6 +712,7 @@
712 712  
713 713  * Each bits shows which status has been trigger on this uplink.
714 714  
724 +
715 715  **Example:**
716 716  
717 717  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -723,6 +723,7 @@
723 723  
724 724  * Each bits shows which status has been trigger on this uplink.
725 725  
736 +
726 726  **Example:**
727 727  
728 728  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0