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. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -14,11 +14,10 @@ 14 14 ))) 15 15 16 16 ((( 17 - [[LT22222-L_PingPong_Software>>https://github.com/dragino/LT-22222-L]] 18 - 19 - 17 +[[Point to Point Software for LT-22222-L>>https://github.com/dragino/LT-22222-L]]. 20 20 ))) 21 21 20 + 22 22 = 2. Features for this firmware = 23 23 24 24 == 2.1 Point To Point == ... ... @@ -44,6 +44,8 @@ 44 44 |(% style="width:179px" %)AT+DI2TODO2=2 |(% style="width:177px" %)AT+DI2TODO2=2 45 45 |(% style="width:179px" %)AT+DI2TORO2=2|(% style="width:177px" %)AT+DI2TORO2=2 46 46 46 + 47 + 47 47 === 2.2.3 Serial port display === 48 48 49 49 ... ... @@ -59,7 +59,7 @@ 59 59 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. 60 60 61 61 62 -== 2.2 Point To Mult-Point == 63 +== 2.2 Point To Mult-Point == 63 63 64 64 === 2.2.1 Overview === 65 65 ... ... @@ -374,11 +374,11 @@ 374 374 === 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3) === 375 375 376 376 377 -**AT+TRIGx=a 378 +**AT+TRIGx=a **Trigger transmit directly without triggering time 378 378 379 379 **AT+TRIGx=a,b** Trigger transmit with triggering time threshold 380 380 381 -**AT+TRIGx=a,b,c 382 +**AT+TRIGx=a,b,c **Trigger transmit with triggering time threshold, and continue to transmit every xx seconds if DI status no change. 382 382 383 383 384 384 **a=0:** falling edge; ... ... @@ -403,7 +403,7 @@ 403 403 404 404 **Command:** 405 405 406 -**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. 407 407 408 408 409 409 === 2.3.2 RO/DO is configured in the receiver LT (LT2)(Since firmware 1.3) === ... ... @@ -438,12 +438,12 @@ 438 438 439 439 (% style="color:blue" %)**Case1**: 440 440 441 -AT+DI1TODO1=1 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. 442 442 443 443 444 444 (% style="color:blue" %)**Case2**: 445 445 446 -AT+DI1TODO1=1,60 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. 447 447 448 448 449 449 === 2.3.3 Save the RO/DO status during power off(Since firmware 1.3) === ... ... @@ -451,19 +451,19 @@ 451 451 452 452 Enable/Disbale retain Digital Output/Relay Output after power off / Power On 453 453 454 - **AT+DOROSAVE=0**~/~/ Disable Retain after power off/on455 +AT+DOROSAVE=0 ~/~/ Disable Retain after power off/on 455 455 456 - **AT+DOROSAVE=1**~/~/ Enable Retain after power off/on457 +AT+DOROSAVE=1 ~/~/ Enable Retain after power off/on 457 457 458 - **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. 459 459 460 - **a:**for DO1461 +a: for DO1 461 461 462 - **b:**for DO2463 +b: for DO2 463 463 464 - **c:**for RO1465 +c: for RO1 465 465 466 - **d:**for RO2.467 +d: for RO2. 467 467 468 468 469 469 **Example:** ... ... @@ -476,15 +476,13 @@ 476 476 477 477 DI2 can be used to set LT into sleep mode. 478 478 479 - **AT+DI2SLEEP=1**~/~/ Enable DI2 as Sleep pin480 +AT+DI2SLEEP=1 ~/~/ Enable DI2 as Sleep pin 480 480 481 - **AT+DI2SLEEP=0**~/~/ Disable DI2 as Sleep pin482 +AT+DI2SLEEP=0 ~/~/ Disable DI2 as Sleep pin 482 482 483 483 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. 484 484 485 -In sleep mode, DORO will keep its initial state if AT+DOROSAVE=2, otherwise DORO will be in OFF state 486 486 487 - 488 488 == 2.4 Data Format == 489 489 490 490 ... ... @@ -493,7 +493,7 @@ 493 493 ))) 494 494 495 495 ((( 496 -(% style="color:blue" %)**Payload: Payload triggered by TDC or DI**495 +(% style="color:blue" %)**Payload:** 497 497 ))) 498 498 499 499 (% border="1" style="background-color:#f7faff; color:black; width:825px" %) ... ... @@ -624,8 +624,8 @@ 624 624 ACK 625 625 )))|(% style="width:85px" %)((( 626 626 ((( 627 -DO I1&628 -DO I2level626 +DO1& 627 +DO1 level 629 629 ))) 630 630 )))|(% style="width:90px" %)((( 631 631 DI1TODO1 ... ... @@ -656,7 +656,7 @@ 656 656 657 657 ((( 658 658 ((( 659 -(% style="color:#037691" %)**The fourth byte**(%%)**:** the high four bits are 1 to represent DO I1, and the low four bits are the level of DOI2when 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. 660 660 ))) 661 661 ))) 662 662