cancel
Showing results for 
Search instead for 
Did you mean: 

I want to get gps information using p nucleo lrwan1.

KKS
Associate II

I want to get gps information using p nucleo lrwan1. Can I get an open source that can help? I'll use the uart port.(gps)

28 REPLIES 28
KKS
Associate II

I did an internet search, and I have to register the gateway and the device, but I do not know how to do without the gateway. ㅠ.ㅠ

To reiterate again the ping-pong example doesn't use a Gateway, it is a point-to-point implementation, basically broadcasting to the same band other radios are listening on.

It configures the SX1276 radio and throws data into the air.

Take your two LoRa-DISCO boards and program in the Ping-Pong program into each, and review behaviour.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KKS
Associate II

Do I compile the same source (modified readme.txt) both on the board (master) that connects to the pc and on the board (slave) to which it is connected (gps module + power)? Separately?

Step one on your journey needs to be building the Ping-Pong example, as-is, and putting it on your two nodes, and to learn/observe how it functions.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KKS
Associate II

Ok. Do I have to put the same ping-pong example on both boards? One side gives power supply separately?or use 2pc.

Same software.

Program one at a time.

You can then connect two boards to a single PC.

If insufficient USB ports use a hub or second PC, or Battery Pack/Charger.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KKS
Associate II

If I connect two boards to one pc and put in a ping-pong example, should two terminals display ping messages and pong messages, respectively? Do I need st-link settings or other settings? It does not work. How do I decide on a master board and a slave board?

KKS
Associate II

Thanks~~~!! The ping pong example works. What's the next step?

Split into two programs, strip out unnecessary code so you can make one a listener printing what it receives and make the other a transmitter that sends an evolving message.

Then you might want to start experimenting with reading data from the UART, and processing data from the GPS, or user input from the terminal.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KKS
Associate II

Do I have to modify the readme.txt according to the link you gave? How do I modify the code for gps use?