2025-05-21 5:57 AM
Hello,
I am running SubGHz_Phy_AT_Slave on STM32WL55JC1 board and I see when running AT commands menu that there are TX and RX tests.
I would like to use that example for peer to peer LoraWAN between two STM32WL55JC1 boards meaning one sends 100 bytes using Radio and t he second one receives it and acknowledges but I am not sure how to modify that example.
I have seen that there are suggestions about modifying some examples for using only Radio.Send and Radio.Recv for having peer to peer but not sure how it applied to this SubGHz_Phy_AT_Slave example.
In that example I see that the TX and RX tests use some random generated payload(with Prbs9_generator)
Has anyone used peer to peer Lorawan between 2 o boards successfully with the ST examples?
Thanks,
Mihai
2025-05-21 6:03 AM
@Mihaita Ivascu wrote:peer to peer LoraWAN
That doesn't make sense: LoRaWAN is, by definition, a "star" network - it is not peer-to-peer.
https://lora-alliance.org/about-lorawan/
Do you mean just LoRa - not LoRaWAN ?
For that, see the "Ping-Pong" example ...
2025-05-21 6:16 AM
Or I should use the PingPong example and add there the AT commands code ?
Thanks,
Mihai
2025-05-21 6:21 AM
So you do just want LoRa - not LoRaWAN - then?
@Mihaita Ivascu wrote:Or I should use the PingPong example and add there the AT commands code ?
If you want AT commands, then you will have to add them.
The example works without AT commands.
The example illustrates communication between two nodes using LoRa modulation - which is what you wanted?
2025-05-21 6:48 AM
Yes, I meant Lora. Sorry
2025-05-21 8:46 AM
Hello @Mihaita Ivascu
As said TDK, for P2P communication, LoRa is what we are toking about. So, you may can use the SubGHz_Phy_PingPong and the STM32WL-SubGHz-PhyBasic-Tx-Rx. For the AT commands, you need to configure your own example based on the LoRa examples and you can refer to the LoRaWAN_AT_Slave just to know how to AT Command works.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.