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.Bei - Content
-
... ... @@ -8,8 +8,6 @@ 8 8 = **1. Overview** = 9 9 10 10 ((( 11 - 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 ))) 15 15 ... ... @@ -43,8 +43,6 @@ 43 43 |AT+DI2TODO2=2 |AT+DI2TODO2=2 44 44 |AT+DI2TORO2=2|AT+DI2TORO2=2 45 45 46 - 47 - 48 48 === **2.2.3 Serial port display** === 49 49 50 50 ... ... @@ -55,7 +55,6 @@ 55 55 (% class="wikigeneratedid" %) 56 56 [[image:image-20220602111219-3.png]] 57 57 58 - 59 59 (% class="wikigeneratedid" %) 60 60 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. 61 61 ... ... @@ -71,7 +71,7 @@ 71 71 === **2.2.2 Configure** === 72 72 73 73 74 -(% style="color:b lue" %)**Configuration of the TX group:**69 +(% style="color:#4f81bd" %)**Configuration of the TX group:** 75 75 76 76 AT+GROUPMOD=0,2 77 77 ... ... @@ -92,7 +92,7 @@ 92 92 AT+DI2TORO2=1 93 93 94 94 95 -(% style="color:b lue" %)**Configuration for RX group number 1:**90 +(% style="color:#4f81bd" %)**Configuration for RX group number 1:** 96 96 97 97 AT+GROUPMOD=1,1 98 98 ... ... @@ -101,7 +101,7 @@ 101 101 AT+RXCHS=868700000 102 102 103 103 104 -(% style="color:b lue" %)**Configuration for RX group number 2:**99 +(% style="color:#4f81bd" %)**Configuration for RX group number 2:** 105 105 106 106 AT+GROUPMOD=1,2 107 107 ... ... @@ -224,7 +224,13 @@ 224 224 (% style="color:#037691" %)**AT+DI2TORO2 **(%%)**: **Set or get the mode in which DI2 maps to RO2(default 0) 225 225 ))) 226 226 222 +((( 223 + 224 +))) 227 227 226 +((( 227 + 228 +))) 228 228 229 229 ((( 230 230 (% style="color:#4f81bd" %)**Example 1:** ... ... @@ -234,10 +234,12 @@ 234 234 **AT+SEND=01020304 **will send a payload of 01020304 235 235 ))) 236 236 238 +((( 239 + 240 +))) 237 237 238 - 239 239 ((( 240 -(% style="color:b lue" %)**Example 2: **243 +(% style="color:#4f81bd" %)**Example 2: ** 241 241 ))) 242 242 243 243 ((( ... ... @@ -268,9 +268,12 @@ 268 268 AT+TRIGx=2,50 Falling edge or rising edge trigger, and the trigger time exceeds 50ms. 269 269 ))) 270 270 274 +((( 275 + 276 +))) 271 271 272 272 ((( 273 -(% style="color:b lue" %)**Example 3: **279 +(% style="color:#4f81bd" %)**Example 3: ** 274 274 ))) 275 275 276 276 ((( ... ... @@ -343,7 +343,7 @@ 343 343 ))) 344 344 345 345 ((( 346 -(% style="color:b lue" %)**Example 4: **352 +(% style="color:#4f81bd" %)**Example 4: ** 347 347 ))) 348 348 349 349 ((( ... ... @@ -354,12 +354,12 @@ 354 354 **AT+GROUPMOD=0,aa** Set the TX group that controls the number of aa (The maximum value of aa is 8) 355 355 ))) 356 356 357 - 358 358 ((( 364 +((( 359 359 **AT+GROUPMOD=1,bb** Set to the RX group controlled by the TX group, numbered bb(The maximum value of aa is 8) 360 360 ))) 367 +))) 361 361 362 - 363 363 ((( 364 364 **AT+GROUPMOD=0,2** Set to control the TX group of the two RX groups 365 365 ))) ... ... @@ -370,12 +370,11 @@ 370 370 371 371 ((( 372 372 **AT+GROUPMOD=1,2** Set the RX group numbered 2 373 -))) 374 374 375 375 376 376 === 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3) === 382 +))) 377 377 378 - 379 379 **AT+TRIGx=a **Trigger transmit directly without triggering time 380 380 381 381 **AT+TRIGx=a,b** Trigger transmit with triggering time threshold ... ... @@ -394,7 +394,7 @@ 394 394 c: transmit interval 395 395 396 396 397 -** (% style="color:blue" %)Use Case 1**(%%): Once the DI1 port status change ( either from low to high or high to low, LT1 sends a trigger to LT-2)402 +**Use Case 1**: Once the DI1 port status change ( either from low to high or high to low, LT1 sends a trigger to LT-2) 398 398 399 399 Command: 400 400 ... ... @@ -401,7 +401,7 @@ 401 401 AT+TRIG1=2,50 Falling edge or rising edge trigger, and the trigger time should exceed 50ms. 402 402 403 403 404 -** (% style="color:blue" %)Use Case 2: **(%%)Sync LT2 RO / DO status with LT1 every minute.409 +**Use Case 2: **Sync LT2 RO / DO status with LT1 every minute. 405 405 406 406 Command: 407 407 ... ... @@ -437,12 +437,12 @@ 437 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. 438 438 439 439 440 -** (% style="color:blue" %)Case1**:445 +**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. 443 443 444 444 445 -** (% style="color:blue" %)Case2**:450 +**Case2**: 446 446 447 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. 448 448 ... ... @@ -449,7 +449,6 @@ 449 449 450 450 === 2.3.3 Save the RO/DO status during power off(Since firmware 1.3) === 451 451 452 - 453 453 Enable/Disbale retain Digital Output/Relay Output after power off / Power On 454 454 455 455 AT+DOROSAVE=0 ~/~/ Disable Retain after power off/on ... ... @@ -484,7 +484,6 @@ 484 484 485 485 == **2.4 Data Format** == 486 486 487 - 488 488 ((( 489 489 8 bytes of GROUPID + 9 bytes of payload + 4 bytes of checksum 490 490 ))) ... ... @@ -494,7 +494,7 @@ 494 494 ))) 495 495 496 496 ((( 497 -(% style="color:b lue" %)**Payload:**500 +(% style="color:#4f81bd" %)**Payload:** 498 498 ))) 499 499 500 500 (% border="1" style="background-color:#f7faff; color:black; width:938px" %)