Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoraRF - SX126X - set device EUI #17

Open
bejanvaleriu opened this issue Oct 6, 2023 · 2 comments
Open

LoraRF - SX126X - set device EUI #17

bejanvaleriu opened this issue Oct 6, 2023 · 2 comments

Comments

@bejanvaleriu
Copy link

Hi,

I'm currently working on a project that involves sending data from SX126x (connected to raspberry pi 4b) to a Mikrotik Lora Gateway and then to ChirpStack. Browsing through multiple docs and projects I found that I need a Device EUI set on my SX126x in order to connect it to the server in order to receive data from it. On this repo I did not find any referece to Device EUI. Can you please help me with my project?

Regards,

@MaffooClock
Copy link

MaffooClock commented Dec 11, 2023

I am also attempting this exact thing -- a MiroTik R11e-LR9 that is connected to ChirpStack, but also The Things Stack.

Looks like examples/network is close to what we're looking for: it uses a struct to assemble data fields into a binary packet. But it's not exactly LoRaWAN, since it doesn't include OTAA or ABP functions (which require an App ID and Key, along with the Device EUI as you pointed out).

I think what we're going to have to do is learn how to implement OTAA or ABP ourselves so that we can join the MikroTik gateway, and then learn how to construct a raw LoRaWAN packet.

In other words, LoRaRF doesn't directly support LoRaWAN, but I think we can implement LoRaWAN ourselves with the help of some of this library's functions.

I've used LoRaWAN on Arduino, so my approach to this will be to see how one of those libraries (not a UART-based one, though) work so I can maybe replicate that in Python with this library.

@pestu1
Copy link

pestu1 commented Aug 5, 2024

Did you get this working? I'm trying to connect my SX1262 to a chirpstack gateway but can't find a propper python example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants