<
From version < 7.1 >
edited by Xiaoling
on 2022/09/26 11:21
To version < 7.2 >
edited by Xiaoling
on 2022/09/26 11:27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,6 +11,101 @@
11 11  = How to use? =
12 12  
13 13  
14 +
15 +== 1. AT command: ==
16 +
17 +
18 +**(% style="color:blue" %)1) Lora parameter configuration:**
19 +
20 +AT+FRE: Get or Set TX and RX frequency
21 +
22 +AT+BW: Get or Set TX and RX BandWidth
23 +
24 +AT+SF: Get or Set TX and RX Spreading Factor
25 +
26 +AT+POWER: Get or Set Tx Power Range
27 +
28 +AT+CRC: Get or Set TX and RX CRC Type
29 +
30 +AT+HEADER: Get or Set TX and RX Header Type
31 +
32 +AT+CR: Get or Set TX and RX Header Type
33 +
34 +AT+IQ: Get or Set TX and RX InvertIQ
35 +
36 +AT+PREAMBLE: Get or Set TX and RX Preamble Length
37 +
38 +AT+SYNCWORD: Get or Set sync word
39 +
40 +
41 +**(% style="color:blue" %)2) General configuration:**
42 +
43 +ATZ: Trig a reset of the MCU
44 +
45 +AT+FDR: Reset Parameters to Factory Default
46 +
47 +AT+CFG: Print all configurations
48 +
49 +AT+FCU: Get or Set the Frame Counter Uplink
50 +
51 +AT+FCD: Get or Set the Frame Counter Downlink
52 +
53 +AT+GROUPMOD: Get or Set TX and RX group
54 +
55 +AT+RXMOD: Get or Set Rx Timeout and Reply mode
56 +
57 +AT+SEND: Send text data or hex along with the application port and confirm status
58 +
59 +AT+RECV: Print last receive message, RSSI and SNR
60 +
61 +
62 +
63 +== 2. Serial port information ==
64 +
65 +
66 +**(% style="color:blue" %)1) Information initialized at reset:**
67 +
68 +[[image:image-20220926112125-1.png]]
69 +
70 +
71 +**(% style="color:blue" %)2) In retransmission, the Uplinkcounter does not accumulate. The following figure shows that the third count packet is retransmitted twice when the ACK packet is not received.**
72 +
73 +
74 +[[image:image-20220926112125-2.png]]
75 +
76 +
77 +**(% style="color:blue" %)3) In the figure below, the receiver sends an ACK to the sender after receiving the packet, and the sender stops retransmission after receiving the ACK.**
78 +
79 +
80 +**(% style="color:red" %)Receiver: (configured as AT+RXMOD=65535,2)**
81 +
82 +[[image:image-20220926112125-3.png]]
83 +
84 +
85 +
86 +**(% style="color:red" %)Sender:**
87 +
88 +[[image:image-20220926112125-4.png]]
89 +
90 +
91 +
92 +
93 +== 3. Data Format: ==
94 +
95 +
96 +1 byte of TXGROUPMOD +n payload + 4 bytes of checksum
97 +
98 +
99 +Payload(S12, SF11, SF10 maximum length is 59, SF9 maximum length is 123, SF8, SF7 maximum length is 230):
100 +
101 +(% border="1" style="background-color:#ffffcc; color:green; width:316px" %)
102 +|=(% style="width: 105px;" %)**Size (bytes)**|=(% style="width: 109px;" %)**1**|=(% style="width: 99px;" %)**payloadsize**
103 +|(% style="width:105px" %)**Value**|(% style="width:109px" %)TXGroupmod|(% style="width:99px" %)Send data
104 +
105 +
106 +
107 +
108 +
14 14  = AT Command Set. =
15 15  
16 16  == Set TX and RX Bandwidth ==
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0