2025-01-29 08:43 AM
Hi,
I recently bought a P-NUCLEO-LRWAN-2, and I would like to communicate through LORA from the gateway to the end-node and vice-versa, but some information is lacking.
In the Getting started with the P-NUCLEO-LRWAN2 and P-NUCLEO-LRWAN3 starter packs DOC there is no inofrmation on how to send and receive data, for example, with the command LORA_send() I saw on a website, and the file USI WM-SG-SM-42 AT Command cannot be found, and the link given at [1] doesn't lead me anywhere.
Could you pls give me this information on how to receive and send data, or where can I see that Info. I don't need to use for now a dashboard, it would be enough to just put something on a terminal on one of the modules, and just see if the info was received on the other terminal, for example.
I also know that the end-node has some sensores, how can I access them?
Thanks for your attention.
2025-01-29 08:53 AM
The USI product is evidently EOL
2025-01-29 09:18 AM
Hello @pmendes03 and welcome to the ST Community.
I suggest you to:
For the Gateway: I suggest you have a look at those videos.
For the End-Node: I suggest you debug the LoRaWAN_AT_Master and LoRaWAN_End_Node on the I-CUBE-LRWAN - LoRaWAN software expansion for STM32Cube - STMicroelectronics (the examples for the NUCLEO-L073RZ board).
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.
2025-01-29 09:45 AM - edited 2025-01-29 09:52 AM
@pmendes03 wrote:I recently bought a P-NUCLEO-LRWAN-2.
Note that this is Not Recommended for New Designs (NRND):
Not least because, as @Tesla DeLorean said, the USI module is obsolete. See this thread (yesterday):
@pmendes03 wrote:I would like to communicate through LORA from the gateway to the end-node and vice-versa, .
That's really not what the Gateway is intended for - a Gateway forms part of a LoRaWAN Network, and expects to connect to & be controlled by a LoRaWAN Network Server:
https://www.thethingsnetwork.org/docs/lorawan/architecture/
If you just want to send stuff between devices, look at the peer-to-peer LoRa examples.
@pmendes03 wrote:I also know that the end-node has some sensores, how can I access them?
In the thread linked earlier, I gave a link back to an old thread on this.
As I recall, they are all ST sensors on I2C and/or SPI.
The schematic is in the GitHub repository linked from the other thread:
https://github.com/USIWPModule/USI_I-NUCLEO-LRWAN1/tree/main/Schematics
2025-01-29 02:26 PM
@Andrew Neil wrote:
@pmendes03 wrote:I recently bought a P-NUCLEO-LRWAN-2.
Note that this is Not Recommended for New Designs (NRND):
Thanks, I saw previous threads on this, but it was too late, I had alredy ordered it, so now I have to discover how to work with it :(
@pmendes03 wrote:I would like to communicate through LORA from the gateway to the end-node and vice-versa, .
That's really not what the Gateway is intended for - a Gateway forms part of a LoRaWAN Network, and expects to connect to & be controlled by a LoRaWAN Network Server:
https://www.thethingsnetwork.org/docs/lorawan/architecture/
Thanks for this, I only used LORA so far, so this is a whole new concept for me
If you just want to send stuff between devices, look at the peer-to-peer LoRa examples.
About this peer-to-peer LORA examples, where can I find them?
2025-01-29 03:20 PM
@pmendes03 wrote:About this peer-to-peer LORA examples, where can I find them?
https://www.st.com/en/embedded-software/i-cube-lrwan.html