cancel
Showing results for 
Search instead for 
Did you mean: 

How change SubGHz_Phy_AT_Slave example for P2P LoraWAN

Mihaita Ivascu
Associate III

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

 

 

 

5 REPLIES 5
Andrew Neil
Super User

@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 ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Mihaita Ivascu
Associate III

Or I should use the PingPong example and add there the AT commands code ?

 

Thanks,

     Mihai

 

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? 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes, I meant Lora. Sorry

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.