Rak3172 wireless can communication with another RAK?

I have some node rak3172 inside, and now I want to develop some boards using another Rak module. So wonder if Rak3172 can communicate with another type Rak module?

Welcome to the forum @Nam

Any module with LoRa transceiver can communicate to another LoRa module (not only RAK ones) using the LoRa P2P transmission.

You have to set both modules into LoRa P2P mode, set the same SF, BW, CR, Preamble Length and frequency on both modules. then you can send data from one LoRa node to another one.

For the RAK3172 the AT commands can be found in our Documentation Center

For example you can use these commands:

Command Explanation
AT+NWM=0 sets LoRa P2P mode, node will restart after that command
AT+P2P=868000000:7:0:0:20:14 sets the frequency and other parameters AT+P2P
AT+PRECV=65534 Listen to incoming LoRa P2P packets AT+PRECV

Then you have to setup the other node the same way and start sending data:

Command Explanation
AT+NWM=0 sets LoRa P2P mode, node will restart after that command
AT+P2P=868000000:7:0:0:20:14 sets the frequency and other parameters AT+P2P
AT+PRECV=0 Stops RX mode
AT+PSEND=30313233 Sends a packet with the payload 0x30 0x31 0x32 0x33
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.