Arduino example "LoRa_P2P.ino" not working

I’ve got two RAK3172 modules. Connected to computer successfully. AT commands working, including PSEND, I can exchange messages between the modules. But Arduino example “LoRa_P2P.ino” not doing ping-pong. Simply starting up, says send successful, but seem never received on the other module. See output log below.

I found this topic RAK3172 LoRa_P2P not psend with the same symptoms, but that unfortunately ends with @Kongduino 's post with alternative version which does not compile. Seem that RUI version has changed since the post. I also tried the version from github, the same.

I can’t figure out why the example is not working. Please help me to kick it off.

RAKwireless LoRaWan P2P Example

P2P Start
Hardware ID: stm32wle5xx
Model ID: rak3172T
RUI API Version: 3.2.9
Firmware Version: RUI_4.0.6_RAK3172-T
AT Command Version: 1.5.11
Set P2P mode frequency 868.000: Success
Set P2P mode spreading factor 12: Success
Set P2P mode bandwidth 0: Success
Set P2P mode code rate 4/5: Success
Set P2P mode preamble length 8: Success
Set P2P mode tx power 22: Success
P2P set Rx mode Success
Current Work Mode: LoRa P2P.
+EVT:RXP2P RECEIVE TIMEOUT
Empty buffer.
P2P send Success

Solved. It appears I have RAK3172-T, not RAK3172. Changed that under Tools->Board and now it works.

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