Changes for page Instruction for LA66 Peer to Peer firmware
Last modified by Bei Jinggeng on 2022/12/19 11:05
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,80 +1,85 @@ 1 -= Overview: = 1 += 1. Overview: = 2 2 3 + 3 3 This instruction is for how to use Peer to Peer firmware in LA66. 4 4 5 5 6 -= Firmware Location: = 7 += 2. Firmware Location: = 7 7 9 + 8 8 Click[[ here>>https://www.dropbox.com/sh/dq03kkfdrqnhy66/AACpHIcKYMa4o1IySKtVoeENa?dl=0]] to download the firmware and update it to LA66 according to the instruction for different boards. 9 9 10 10 11 -= How to use? = 13 += 3. How to use? = 12 12 13 13 14 14 15 -== 1. AT command: ==17 +== 3.1 AT command: == 16 16 17 17 18 -(% style="color:blue" %)**1) Lora parameter configuration:** 20 +(% style="color:blue" %)**1). Lora parameter configuration:** 19 19 20 -AT+FRE: Get or Set TX and RX frequency 21 21 22 -AT+ BW: Get or Set TX and RXBandWidth23 +AT+FRE: Get or Set TX and RX frequency 23 23 24 -AT+ SF: Get or Set TX and RXSpreading Factor25 +AT+BW: Get or Set TX and RX BandWidth 25 25 26 -AT+ POWER: Get or Set TxPowerRange27 +AT+SF: Get or Set TX and RX Spreading Factor 27 27 28 -AT+ CRC: Get or Set TXandRX CRC Type29 +AT+POWER: Get or Set Tx Power Range 29 29 30 -AT+ HEADER: Get or Set TX and RXHeaderType31 +AT+CRC: Get or Set TX and RX CRC Type 31 31 32 -AT+ CR: Get or Set TX and RX Header Type33 +AT+HEADER: Get or Set TX and RX Header Type 33 33 34 -AT+ IQ: Get or Set TX and RXInvertIQ35 +AT+CR: Get or Set TX and RX Header Type 35 35 36 -AT+ PREAMBLE: Get or Set TX and RXPreamble Length37 +AT+IQ: Get or Set TX and RX InvertIQ 37 37 38 -AT+ SYNCWORD: Get or Setsyncword39 +AT+PREAMBLE: Get or Set TX and RX Preamble Length 39 39 41 +AT+SYNCWORD: Get or Set sync word 40 40 41 -(% style="color:blue" %)**2) General configuration:** 42 42 43 -ATZ: Trig a reset of the MCU 44 44 45 - AT+FDR:ResetParameterstoFactory Default45 +(% style="color:blue" %)**2). General configuration:** 46 46 47 -AT+CFG: Print all configurations 48 48 49 -AT +FCU:GetorSettheFrameCounterUplink48 +ATZ: Trig a reset of the MCU 50 50 51 -AT+F CD:GetorSet theFrame Counter Downlink50 +AT+FDR: Reset Parameters to Factory Default 52 52 53 -AT+G ROUPMOD:Get orSetTXandRXgroup52 +AT+CFG: Print all configurations 54 54 55 -AT+ RXMOD: Get or SetRxTimeout and Reply mode54 +AT+FCU: Get or Set the Frame Counter Uplink 56 56 57 -AT+ SEND:Sendtextdataorhex along withthe applicationportand confirm status56 +AT+FCD: Get or Set the Frame Counter Downlink 58 58 59 -AT+R ECV:Printlast receivemessage,RSSIandSNR58 +AT+GROUPMOD: Get or Set TX and RX group 60 60 60 +AT+RXMOD: Get or Set Rx Timeout and Reply mode 61 61 62 +AT+SEND: Send text data or hex along with the application port and confirm status 62 62 63 - ==2.Serialportinformation==64 +AT+RECV: Print last receive message, RSSI and SNR 64 64 65 65 66 -(% style="color:blue" %)**1) Information initialized at reset:** 67 67 68 +== 3.2 Serial port information == 69 + 70 + 71 +(% style="color:blue" %)**1). Information initialized at reset:** 72 + 68 68 [[image:image-20220926112125-1.png]] 69 69 70 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.** 76 +(% 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 72 73 73 74 74 [[image:image-20220926112125-2.png]] 75 75 76 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.** 82 +(% 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 78 79 79 80 80 (% style="color:red" %)**Receiver: (configured as AT+RXMOD=65535,2)** ... ... @@ -89,10 +89,9 @@ 89 89 90 90 91 91 97 +== 3.3 Data Format: == 92 92 93 -== 3. Data Format: == 94 94 95 - 96 96 1 byte of TXGROUPMOD +n payload + 4 bytes of checksum 97 97 98 98 ... ... @@ -104,27 +104,30 @@ 104 104 105 105 106 106 111 += 4. AT Command Set: = 107 107 108 -= AT Command Set. = 109 109 110 -== Set TX and RX Bandwidth == 114 +== 4.1 Set TX and RX Bandwidth == 111 111 112 -Set TX and RX BandWidth (0 ~~ 9) 113 -0: 125 kHz 114 -1: 250 kHz 115 -2: 500 kHz 116 -3: 62.5 kHz 117 -4: 41.67 kHz 118 -5: 31.25 kHz 119 -6: 20.83 kHz 120 -7: 15.63 kHz 121 -8: 10.42 kHz 122 -9: 7.81 kHz 123 123 117 +(% style="color:blue" %)**Set TX and RX BandWidth (0 ~~ 9):** 124 124 125 -Default Value: AT+BW=0,0 ~/~/ BandWidth: 125kHz ,125kHz 126 126 127 -Range: (0 ~~ 9) 120 +**0: 125 kHz 121 +1: 250 kHz 122 +2: 500 kHz 123 +3: 62.5 kHz 124 +4: 41.67 kHz 125 +5: 31.25 kHz 126 +6: 20.83 kHz 127 +7: 15.63 kHz 128 +8: 10.42 kHz 129 +9: 7.81 kHz** 128 128 129 129 132 +(% style="color:red" %)**Default Value: AT+BW=0,0** (%%) ~/~/ BandWidth: 125kHz ,125kHz 133 + 134 +(% style="color:red" %)**Range: (0 ~~ 9)** 135 + 136 + 130 130