Changes for page Point to Point Communication of LT-22222-L
Last modified by Edwin Chen on 2022/11/22 09:38
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -11,13 +11,11 @@ 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 -))) 15 15 16 - (((17 -[[ Point to Point Softwarefor LT-22222-L>>https://github.com/dragino/LT-22222-L]].15 +* [[Source Code>>https://github.com/dragino/LT-22222-L]]. 16 +* [[Firmware>>https://github.com/dragino/LT-22222-L/releases]]. 18 18 ))) 19 19 20 - 21 21 = 2. Features for this firmware = 22 22 23 23 == 2.1 Point To Point == ... ... @@ -43,8 +43,6 @@ 43 43 |(% style="width:179px" %)AT+DI2TODO2=2 |(% style="width:177px" %)AT+DI2TODO2=2 44 44 |(% style="width:179px" %)AT+DI2TORO2=2|(% style="width:177px" %)AT+DI2TORO2=2 45 45 46 - 47 - 48 48 === 2.2.3 Serial port display === 49 49 50 50 ... ... @@ -372,7 +372,7 @@ 372 372 ))) 373 373 374 374 375 -=== 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3) === 371 +=== 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3.2) === 376 376 377 377 378 378 **AT+TRIGx=a **Trigger transmit directly without triggering time ... ... @@ -404,19 +404,19 @@ 404 404 405 405 **Command:** 406 406 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. 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. 408 408 409 409 410 -=== 2.3.2 RO/DO is configured in the receiver LT (LT2)(Since firmware 1.3) === 406 +=== 2.3.2 RO/DO is configured in the receiver LT (LT2)(Since firmware 1.3.2) === 411 411 412 412 413 -AT+DI1TODO1= maps value[,latch time] 409 +AT+DI1TODO1= maps value[,latch time, timeout_state] 414 414 415 -AT+DI1TORO1= maps value[,latch time] 411 +AT+DI1TORO1= maps value[,latch time, timeout_state] 416 416 417 -AT+DI2TODO2= maps value[,latch time] 413 +AT+DI2TODO2= maps value[,latch time, timeout_state] 418 418 419 -AT+DI2TORO2= maps value[,latch time] 415 +AT+DI2TORO2= maps value[,latch time, timeout_state] 420 420 421 421 422 422 (% border="1" style="background-color:#f7faff; color:black; width:774px" %) ... ... @@ -434,9 +434,20 @@ 434 434 ))) 435 435 |(% style="width:105px" %)3|(% style="width:415px" %)DOx state flip|(% style="width:249px" %)ROx state flip 436 436 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. 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. 438 438 439 439 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 + 440 440 (% style="color:blue" %)**Case1**: 441 441 442 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. ... ... @@ -444,7 +444,7 @@ 444 444 445 445 (% style="color:blue" %)**Case2**: 446 446 447 -AT+DI1TODO1=1,60 ~/~/ LT2 DO1 will follow LT1 DI1 trigger command, DO1 will keep the status 60 seconds and then g obackto original state.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. 448 448 449 449 450 450 === 2.3.3 Save the RO/DO status during power off(Since firmware 1.3) === ... ... @@ -483,7 +483,9 @@ 483 483 484 484 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. 485 485 493 +In sleep mode, DORO will keep its initial state if AT+DOROSAVE=2, otherwise DORO will be in OFF state 486 486 495 + 487 487 == 2.4 Data Format == 488 488 489 489 ... ... @@ -492,7 +492,7 @@ 492 492 ))) 493 493 494 494 ((( 495 -(% style="color:blue" %)**Payload:** 504 +(% style="color:blue" %)**Payload:Payload triggered by TDC or DI** 496 496 ))) 497 497 498 498 (% border="1" style="background-color:#f7faff; color:black; width:825px" %) ... ... @@ -623,8 +623,8 @@ 623 623 ACK 624 624 )))|(% style="width:85px" %)((( 625 625 ((( 626 -DO1& 627 -DO 1level635 +DOI1& 636 +DOI2 level 628 628 ))) 629 629 )))|(% style="width:90px" %)((( 630 630 DI1TODO1 ... ... @@ -655,7 +655,7 @@ 655 655 656 656 ((( 657 657 ((( 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 DO 1when the interrupt is triggered.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. 659 659 ))) 660 660 ))) 661 661