Wiki source code of Point to Point Communication of LT-22222-L
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | = **1. Overview** = | ||
6 | |||
7 | 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: | ||
8 | |||
9 | [[Point to Point Software for LT-22222-L>>https://github.com/dragino/LT-22222-L]]. | ||
10 | |||
11 | == == | ||
12 | |||
13 | = **2. Features for this firmware** = | ||
14 | |||
15 | |||
16 | == **2.1 Overview** == | ||
17 | |||
18 | [[image:image-20220602111219-1.png]] | ||
19 | |||
20 | |||
21 | == **2.2. Configure** == | ||
22 | |||
23 | A's configuration:AT+GROUPMOD=0 B's configuration:AT+GROUPMOD=0 | ||
24 | |||
25 | AT+TXCHS=868700000 AT+TXCHS=869000000 | ||
26 | |||
27 | AT+RXCHS=869000000 AT+RXCHS=868700000 | ||
28 | |||
29 | AT+TRIG1=2,50 AT+TRIG1=2,50 | ||
30 | |||
31 | AT+TRIG2=2,50 AT+TRIG2=2,50 | ||
32 | |||
33 | AT+DI1TODO1=2 AT+DI1TODO1=2 | ||
34 | |||
35 | AT+DI1TORO1=2 AT+DI1TORO1=2 | ||
36 | |||
37 | AT+DI2TODO2=2 AT+DI2TODO2=2 | ||
38 | |||
39 | AT+DI2TORO2=2 AT+DI2TORO2=2 | ||
40 | |||
41 | |||
42 | == **2.3. Serial port display** == | ||
43 | |||
44 | [[image:image-20220602111219-2.png]] | ||
45 | |||
46 | |||
47 | [[image:image-20220602111219-3.png]] | ||
48 | |||
49 | 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. | ||
50 | |||
51 |