gotthardp / lorawan-server

Compact server for private LoRaWAN networks
https://gotthardp.github.io/lorawan-server
MIT License
958 stars 329 forks source link

OTAA join procedure #802

Closed TheStudent227 closed 2 years ago

TheStudent227 commented 3 years ago

Hello, I would like to ask for help with lorawan network server. I am doing the project on CoDeSys for controller in ST, which should emulate the network server. The end device is premade, but I have troubles finding the network server code which responsible for OTAA join procedure, in this project, which will handle the request from LoRa sensor. Could someone point on this code in this project ? Or have some example, ideally in C, ST ?

Apologizing for possible off-topic

altishchenko commented 3 years ago

If you need to figure out the logic, you can start with src/lorawan_mac.erl file, line 33. The word 'Join' will guide you through the process. There is another network server, called chirpstack, which is also available on GitHub.

The LoRaWAN standard is very straightforward, you can get the specification at Lora-Alliance. There is no black magic in the protocol and it is very simple to code.

TheStudent227 commented 3 years ago

If you need to figure out the logic, you can start with src/lorawan_mac.erl file, line 33. The word 'Join' will guide you through the process. There is another network server, called chirpstack, which is also available on GitHub.

The LoRaWAN standard is very straightforward, you can get the specification at Lora-Alliance. There is no black magic in the protocol and it is very simple to code.

Thank you for help :)

altishchenko commented 3 years ago

Hi! Can you close the issue, please?