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. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -8,6 +8,8 @@ 8 8 = **1. Overview** = 9 9 10 10 ((( 11 + 12 + 11 11 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: 12 12 ))) 13 13 ... ... @@ -41,6 +41,8 @@ 41 41 |AT+DI2TODO2=2 |AT+DI2TODO2=2 42 42 |AT+DI2TORO2=2|AT+DI2TORO2=2 43 43 46 + 47 + 44 44 === **2.2.3 Serial port display** === 45 45 46 46 ... ... @@ -51,6 +51,7 @@ 51 51 (% class="wikigeneratedid" %) 52 52 [[image:image-20220602111219-3.png]] 53 53 58 + 54 54 (% class="wikigeneratedid" %) 55 55 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. 56 56 ... ... @@ -66,7 +66,7 @@ 66 66 === **2.2.2 Configure** === 67 67 68 68 69 -(% style="color: #4f81bd" %)**Configuration of the TX group:**74 +(% style="color:blue" %)**Configuration of the TX group:** 70 70 71 71 AT+GROUPMOD=0,2 72 72 ... ... @@ -87,7 +87,7 @@ 87 87 AT+DI2TORO2=1 88 88 89 89 90 -(% style="color: #4f81bd" %)**Configuration for RX group number 1:**95 +(% style="color:blue" %)**Configuration for RX group number 1:** 91 91 92 92 AT+GROUPMOD=1,1 93 93 ... ... @@ -96,7 +96,7 @@ 96 96 AT+RXCHS=868700000 97 97 98 98 99 -(% style="color: #4f81bd" %)**Configuration for RX group number 2:**104 +(% style="color:blue" %)**Configuration for RX group number 2:** 100 100 101 101 AT+GROUPMOD=1,2 102 102 ... ... @@ -219,13 +219,7 @@ 219 219 (% style="color:#037691" %)**AT+DI2TORO2 **(%%)**: **Set or get the mode in which DI2 maps to RO2(default 0) 220 220 ))) 221 221 222 -((( 223 - 224 -))) 225 225 226 -((( 227 - 228 -))) 229 229 230 230 ((( 231 231 (% style="color:#4f81bd" %)**Example 1:** ... ... @@ -235,12 +235,10 @@ 235 235 **AT+SEND=01020304 **will send a payload of 01020304 236 236 ))) 237 237 238 -((( 239 - 240 -))) 241 241 238 + 242 242 ((( 243 -(% style="color: #4f81bd" %)**Example 2: **240 +(% style="color:blue" %)**Example 2: ** 244 244 ))) 245 245 246 246 ((( ... ... @@ -271,12 +271,9 @@ 271 271 AT+TRIGx=2,50 Falling edge or rising edge trigger, and the trigger time exceeds 50ms. 272 272 ))) 273 273 274 -((( 275 - 276 -))) 277 277 278 278 ((( 279 -(% style="color: #4f81bd" %)**Example 3: **273 +(% style="color:blue" %)**Example 3: ** 280 280 ))) 281 281 282 282 ((( ... ... @@ -349,7 +349,7 @@ 349 349 ))) 350 350 351 351 ((( 352 -(% style="color: #4f81bd" %)**Example 4: **346 +(% style="color:blue" %)**Example 4: ** 353 353 ))) 354 354 355 355 ((( ... ... @@ -360,12 +360,12 @@ 360 360 **AT+GROUPMOD=0,aa** Set the TX group that controls the number of aa (The maximum value of aa is 8) 361 361 ))) 362 362 357 + 363 363 ((( 364 -((( 365 365 **AT+GROUPMOD=1,bb** Set to the RX group controlled by the TX group, numbered bb(The maximum value of aa is 8) 366 366 ))) 367 -))) 368 368 362 + 369 369 ((( 370 370 **AT+GROUPMOD=0,2** Set to control the TX group of the two RX groups 371 371 ))) ... ... @@ -376,11 +376,12 @@ 376 376 377 377 ((( 378 378 **AT+GROUPMOD=1,2** Set the RX group numbered 2 373 +))) 379 379 380 380 381 381 === 2.3.1 TRIG command is configured in the transmit LT. (LT1)(Since firmware 1.3) === 382 -))) 383 383 378 + 384 384 **AT+TRIGx=a **Trigger transmit directly without triggering time 385 385 386 386 **AT+TRIGx=a,b** Trigger transmit with triggering time threshold ... ... @@ -399,7 +399,7 @@ 399 399 c: transmit interval 400 400 401 401 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) 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) 403 403 404 404 Command: 405 405 ... ... @@ -406,7 +406,7 @@ 406 406 AT+TRIG1=2,50 Falling edge or rising edge trigger, and the trigger time should exceed 50ms. 407 407 408 408 409 -**Use Case 2: **Sync LT2 RO / DO status with LT1 every minute. 404 +**(% style="color:blue" %)Use Case 2: **(%%)Sync LT2 RO / DO status with LT1 every minute. 410 410 411 411 Command: 412 412 ... ... @@ -442,12 +442,12 @@ 442 442 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. 443 443 444 444 445 -**Case1**: 440 +**(% style="color:blue" %)Case1**: 446 446 447 447 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. 448 448 449 449 450 -**Case2**: 445 +**(% style="color:blue" %)Case2**: 451 451 452 452 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. 453 453 ... ... @@ -454,6 +454,7 @@ 454 454 455 455 === 2.3.3 Save the RO/DO status during power off(Since firmware 1.3) === 456 456 452 + 457 457 Enable/Disbale retain Digital Output/Relay Output after power off / Power On 458 458 459 459 AT+DOROSAVE=0 ~/~/ Disable Retain after power off/on ... ... @@ -488,6 +488,7 @@ 488 488 489 489 == **2.4 Data Format** == 490 490 487 + 491 491 ((( 492 492 8 bytes of GROUPID + 9 bytes of payload + 4 bytes of checksum 493 493 ))) ... ... @@ -497,7 +497,7 @@ 497 497 ))) 498 498 499 499 ((( 500 -(% style="color: #4f81bd" %)**Payload:**497 +(% style="color:blue" %)**Payload:** 501 501 ))) 502 502 503 503 (% border="1" style="background-color:#f7faff; color:black; width:938px" %)