<
From version < 25.1 >
edited by Edwin Chen
on 2022/11/19 09:37
To version < 19.3 >
edited by Xiaoling
on 2022/11/15 09:02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
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 ==
... ... @@ -41,6 +41,8 @@
41 41  |(% style="width:179px" %)AT+DI2TODO2=2 |(% style="width:177px" %)AT+DI2TODO2=2
42 42  |(% style="width:179px" %)AT+DI2TORO2=2|(% style="width:177px" %)AT+DI2TORO2=2
43 43  
46 +
47 +
44 44  === 2.2.3 Serial port display ===
45 45  
46 46  
... ... @@ -56,7 +56,7 @@
56 56  If the sender does not get the ACK reply from the receiver, it will retransmit up to 4 times, each interval is 6 seconds, and the UplinkCounter of the retransmission will not increase.
57 57  
58 58  
59 -== 2.2  Point To Mult-Point ==
63 +== 2.2  Point To Mult-Point ==
60 60  
61 61  === 2.2.1 Overview ===
62 62  
... ... @@ -368,14 +368,14 @@
368 368  )))
369 369  
370 370  
371 -=== 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3.2) ===
375 +=== 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3) ===
372 372  
373 373  
374 -**AT+TRIGx=a          **Trigger transmit directly without triggering time
378 +**AT+TRIGx=a  **Trigger transmit directly without triggering time
375 375  
376 376  **AT+TRIGx=a,b**  Trigger transmit with triggering time threshold
377 377  
378 -**AT+TRIGx=a,b,c    **Trigger transmit with triggering time threshold, and continue to transmit every xx seconds if DI status no change.
382 +**AT+TRIGx=a,b,c  **Trigger transmit with triggering time threshold, and continue to transmit every xx seconds if DI status no change.
379 379  
380 380  
381 381  **a=0:** falling edge;
... ... @@ -400,19 +400,19 @@
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.
407 +**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 receiver LT (LT2)(Since firmware 1.3.2) ===
410 +=== 2.3.2 RO/DO is configured in the receiver LT (LT2)(Since firmware 1.3) ===
407 407  
408 408  
409 -AT+DI1TODO1= maps value[,latch time, timeout_state]
413 +AT+DI1TODO1= maps value[,latch time]
410 410  
411 -AT+DI1TORO1= maps value[,latch time, timeout_state]
415 +AT+DI1TORO1= maps value[,latch time]
412 412  
413 -AT+DI2TODO2= maps value[,latch time, timeout_state]
417 +AT+DI2TODO2= maps value[,latch time]
414 414  
415 -AT+DI2TORO2= maps value[,latch time, timeout_state]
419 +AT+DI2TORO2= maps value[,latch time]
416 416  
417 417  
418 418  (% border="1" style="background-color:#f7faff; color:black; width:774px" %)
... ... @@ -430,28 +430,17 @@
430 430  )))
431 431  |(% style="width:105px" %)3|(% style="width:415px" %)DOx state flip|(% style="width:249px" %)ROx state flip
432 432  
433 -**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 +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.
434 434  
435 435  
436 -**Timeout_State**:
437 -
438 -0: **No change** after timeout
439 -
440 -1: Change to **DO:0** or **RO: Open** after timeout
441 -
442 -2: Change to **DO:1** or **RO: Close** after timeout
443 -
444 -3: Change **back to state** before last trigger arrive.
445 -
446 -
447 447  (% style="color:blue" %)**Case1**:
448 448  
449 -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.
442 +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.
450 450  
451 451  
452 452  (% style="color:blue" %)**Case2**:
453 453  
454 -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.
447 +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.
455 455  
456 456  
457 457  === 2.3.3 Save the RO/DO status during power off(Since firmware 1.3) ===
... ... @@ -459,19 +459,19 @@
459 459  
460 460  Enable/Disbale retain Digital Output/Relay Output after power off / Power On
461 461  
462 -**AT+DOROSAVE=0**  ~/~/ Disable Retain after power off/on
455 +AT+DOROSAVE=0  ~/~/ Disable Retain after power off/on
463 463  
464 -**AT+DOROSAVE=1**  ~/~/ Enable Retain after power off/on
457 +AT+DOROSAVE=1  ~/~/ Enable Retain after power off/on
465 465  
466 -**AT+DOROSAVE=2,a,b,c,d**  ~/~/ set DO/RO port to default state after power on.
459 +AT+DOROSAVE=2,a,b,c,d  ~/~/ set DO/RO port to default state after power on.
467 467  
468 -**a: **for DO1
461 +a: for DO1
469 469  
470 -**b:** for DO2
463 +b: for DO2
471 471  
472 -**c: **for RO1
465 +c: for RO1
473 473  
474 -**d:** for RO2.
467 +d: for RO2.
475 475  
476 476  
477 477  **Example:**
... ... @@ -484,15 +484,13 @@
484 484  
485 485  DI2 can be used to set LT into sleep mode.
486 486  
487 -**AT+DI2SLEEP=1**  ~/~/  Enable DI2 as Sleep pin
480 +AT+DI2SLEEP=1  ~/~/  Enable DI2 as Sleep pin
488 488  
489 -**AT+DI2SLEEP=0**  ~/~/  Disable DI2 as Sleep pin
482 +AT+DI2SLEEP=0  ~/~/  Disable DI2 as Sleep pin
490 490  
491 491  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.
492 492  
493 -In sleep mode, DORO will keep its initial state if AT+DOROSAVE=2, otherwise DORO will be in OFF state
494 494  
495 -
496 496  == 2.4 Data Format ==
497 497  
498 498  
... ... @@ -501,7 +501,7 @@
501 501  )))
502 502  
503 503  (((
504 -(% style="color:blue" %)**Payload:Payload triggered by TDC or DI**
495 +(% style="color:blue" %)**Payload:**
505 505  )))
506 506  
507 507  (% border="1" style="background-color:#f7faff; color:black; width:825px" %)
... ... @@ -632,8 +632,8 @@
632 632  ACK
633 633  )))|(% style="width:85px" %)(((
634 634  (((
635 -DOI1&
636 -DOI2 level
626 +DO1&
627 +DO1 level
637 637  )))
638 638  )))|(% style="width:90px" %)(((
639 639  DI1TODO1
... ... @@ -664,7 +664,7 @@
664 664  
665 665  (((
666 666  (((
667 -(% style="color:#037691" %)**The fourth byte**(%%)**:**  the high four bits are 1 to represent DOI1, and the low four bits are the level of DOI2 when the interrupt is triggered.
658 +(% style="color:#037691" %)**The fourth byte**(%%)**:**  the high four bits are 1 to represent DO1, and the low four bits are the level of DO1 when the interrupt is triggered.
668 668  )))
669 669  )))
670 670  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0