<
From version < 27.1
edited by Edwin Chen
on 2022/11/22 09:38
To version < 21.1 >
edited by Bei Jinggeng
on 2022/11/15 10:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Bei
Content
... ... @@ -11,11 +11,13 @@
11 11  
12 12  
13 13  Shipped LT-22222-L is base on LoRaWAN protocol. We also develop a open source Point to Point LoRa protocol for LT-22222-L. The source code and hex file can be found at:
14 +)))
14 14  
15 -* [[Source Code>>https://github.com/dragino/LT-22222-L]].
16 -* [[Firmware>>https://github.com/dragino/LT-22222-L/releases]].
16 +(((
17 +[[Point to Point Software for LT-22222-L>>https://github.com/dragino/LT-22222-L]].
17 17  )))
18 18  
20 +
19 19  = 2. Features for this firmware =
20 20  
21 21  == 2.1  Point To Point ==
... ... @@ -368,7 +368,7 @@
368 368  )))
369 369  
370 370  
371 -=== 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3.2) ===
373 +=== 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3) ===
372 372  
373 373  
374 374  **AT+TRIGx=a          **Trigger transmit directly without triggering time
... ... @@ -400,24 +400,21 @@
400 400  
401 401  **Command:**
402 402  
403 -**AT+TRIG2=2,50,60**  Once there is falling edge or rising edge on DI2 of LT1, LT1 will transmit trigger to LT2 and LT2 can sync the status of RO/DO. After power off, power on, LT1 will send trigger without falling/rising edge, so the DI changes during power off will be sync as well.
405 +**AT+TRIG2=2,50,60**  Once there is falling edge or rising edge on DI2 of LT1, LT1 will transmit trigger to LT2 and LT2 can sync the status of RO/DO.
404 404  
405 405  
406 -=== 2.3.2 RO/DO is configured in the transmit LT. (LT1) and receiver LT (LT2)(Since firmware 1.3.2) ===
408 +=== 2.3.2 RO/DO is configured in the receiver LT (LT2)(Since firmware 1.3) ===
407 407  
408 408  
409 -(% style="color:red" %)**Notice:**(%%)** **LT1 **MUST** have a AT+DIxTODOx commands to send out the trigger. If LT2 has AT+DIxTOROx configured, LT2 will follow its configured and ignore LT1's AT+DIxTOROx settings.
411 +AT+DI1TODO1= maps value[,latch time]
410 410  
413 +AT+DI1TORO1= maps value[,latch time]
411 411  
412 -AT+DI1TODO1= maps value[,latch time, timeout_state]
415 +AT+DI2TODO2= maps value[,latch time]
413 413  
414 -AT+DI1TORO1= maps value[,latch time, timeout_state]
417 +AT+DI2TORO2= maps value[,latch time]
415 415  
416 -AT+DI2TODO2= maps value[,latch time, timeout_state]
417 417  
418 -AT+DI2TORO2= maps value[,latch time, timeout_state]
419 -
420 -
421 421  (% border="1" style="background-color:#f7faff; color:black; width:774px" %)
422 422  |(% style="width:105px" %) **Maps value**|(% style="width:415px" %)**DIx to DOx**|(% style="width:249px" %)**DIx to ROx**
423 423  |(% style="width:105px" %)0|(% style="width:415px" %)No Action|(% style="width:249px" %)No Action
... ... @@ -433,20 +433,9 @@
433 433  )))
434 434  |(% style="width:105px" %)3|(% style="width:415px" %)DOx state flip|(% style="width:249px" %)ROx state flip
435 435  
436 -**latch time**, if latch time is defined, DO or RO will go back to the original status after latch time, if there is a new trigger comes, the LT2 will use the new latch time settings and ignore the old one.
435 +latch time, if latch time is defined, DO or RO will go back to the original status after latch time, if there is a new trigger comes, the LT2 will use the new latch time settings and ignore the old one.
437 437  
438 438  
439 -**Timeout_State**:
440 -
441 -0: **No change** after timeout
442 -
443 -1: Change to **DO:0** or **RO: Open** after timeout
444 -
445 -2: Change to **DO:1** or **RO: Close** after timeout
446 -
447 -3: Change **back to state** before last trigger arrive.
448 -
449 -
450 450  (% style="color:blue" %)**Case1**:
451 451  
452 452  AT+DI1TODO1=1  ~/~/ LT2 DO1 will follow LT1 DI1 trigger command, if DI1 of LT1 is trigger high, DO1 of LT2 will output low, if DI1 of LT1 is trigger low, DO2 of LT2 will output high.
... ... @@ -454,7 +454,7 @@
454 454  
455 455  (% style="color:blue" %)**Case2**:
456 456  
457 -AT+DI1TODO1=1,60,1  ~/~/ LT2 DO1 will follow LT1 DI1 trigger command, DO1 will keep the status 60 seconds and then change to open.
445 +AT+DI1TODO1=1,60  ~/~/ LT2 DO1 will follow LT1 DI1 trigger command, DO1 will keep the status 60 seconds and then go back to original state.
458 458  
459 459  
460 460  === 2.3.3 Save the RO/DO status during power off(Since firmware 1.3) ===
... ... @@ -493,9 +493,7 @@
493 493  
494 494  When DI2 is enabled as sleep pin, a falling trigger (with 500ms pulse) will set LT into sleep mode. A raising trigger will wake up it again.
495 495  
496 -In sleep mode, DORO will keep its initial state if AT+DOROSAVE=2, otherwise DORO will be in OFF state
497 497  
498 -
499 499  == 2.4 Data Format ==
500 500  
501 501  
... ... @@ -504,7 +504,7 @@
504 504  )))
505 505  
506 506  (((
507 -(% style="color:blue" %)**Payload:Payload triggered by TDC or DI**
493 +(% style="color:blue" %)**Payload:**
508 508  )))
509 509  
510 510  (% border="1" style="background-color:#f7faff; color:black; width:825px" %)
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0