LoRaWAN implementation under RIOT

Hi, RIOTers!

After a couple of months I’ve finished a Semtech’s SX1276 LoRa transceiver driver (physical level, RX and TX) under RIOT (pull request coming soon!) and the next step is a LoRaWAN MAC level implementation.

My question is:

Which RIOT interfaces should I choose to implement next to introduce LoRaWAN MAC level as seamlessly as possible into existing RIOT’s networking stacks?

Thanks in advance for any help and clarifications!

Best regards.

Hey anonymous,

After a couple of months I've finished a Semtech's SX1276 LoRa transceiver driver (physical level, RX and TX) under RIOT (pull request coming soon!) and the next step is a LoRaWAN MAC level implementation.

Awesome! looking forward.

My question is: Which RIOT interfaces should I choose to implement next to introduce LoRaWAN MAC level as seamlessly as possible into existing RIOT's networking stacks?

If the MAC is mostly stateless (doesn't need dynamic buffering), it might make sense to model it as a netdev2 layer on top of raw LoRa. Is there a use case for using LoRa without the MAC?

Kaspar

Hi anonymous,

great :-)! I assume you're using a development board, dev kit or something. Would you disclose which one it is (in case...)?

Best Peter

Hi there,

Any news on this? Is there a branch available somewhere?

Best,

Emmanuel

I am willing to donate 2 LoRa transceiver modules towards this effort if there is somebody working on it. We have our own modules on LoRa and it is without any MCU onboard.

Warm Regards, Akshay

Good day to all RIOT folks.

Thank you guys for interesting that topic! And thanks to Akshay for the donation proposal, but I, personally, has a plenty of sx1276-based modules done by my company and they’re work well so far.

I finished my sx1276 driver and need about a week to port it onto newest version of RIOT due to some API changes and to fix some possible issues with that. On LoRaWAN support, it’s planned in near future and will be implemented soon or later, of course, but if somebody needs a point to start with - just wait for my driver’s PR and use it to implement LoRaWAN above it.

To summarize:

  1. SX1276 support is done and used in production as well, so the PR in RIOT it’s just a matter of time. Hopefully I will do this until the end of a week.

  2. LoRaWAN layer isn’t done by me personally, but if somebody is willing to start on this direction, my SX1276 driver that will be published soon is good starting point

Hello again Cr0s,

Great. I was asking this because some RIOTers in Chile are about to start to port LoRaWAN to RIOT, hence your SX1276 driver would be great for them, I guess.

Looking forward to your PR!

One last question: are you using your SX1276 on a STM32L1 of some sort?

Cheers

Emmanuel

Hello!

Yes. It’s SX1276 + MCU modules based on STM32L151 devices. Link with some pictures and description: http://unwds.com/en/products-en/unwired-range

We’re already implemented SX1276 support with our custom networking layer on top of the SX1276 driver.

Previously it was supposed to use Contiki OS, but then we’re decided to put RIOT OS on them because IMHO it’s great project that evolving fast and with active community.