
Documentation Center
Figure 69: RAK4600 setting to LoRa P2P mode
4. Configure the LoRa P2P parameters for both units. The command for setting the parameters has the following
format:
Based on the
XXX: Frequency in Hz.
Y: Spreading factor, [6, 7, 8, 9, 10, 11, 12].
Z: Bandwidth, [0:125 kHz, 1:250 kHz, 2:500 kHz]
A: Coding Rate, [1: 4/5, 2: 4/6, 3: 4/7, 4: 4/8]
B: Preamble Length, 5~65535.
C: Power in dBm, 5~20.
For this example, the LoRa parameters are:
Link frequency: 869525000 Hz
Spreading factor:7
Bandwidth: 125 kHz
Coding Rate:4/5
Preamble Length: 5
Power: 5 dBm
5. The set parameters are translated into the following RAK4600 AT command that is sent to both units, as shown
in Figure 70.
at+set_config=lora:work_mode:1
at+set_config=lorap2p:XXX:Y:Z:A:B:C
at+set_config=lorap2p:869525000:7:0:1:5:5