Source Code for #LoRaWAN on Apache #NuttX OS
https://lupyuen.github.io/articles/lorawan3?6#download-source-code
Here's what we'll do with #LoRaWAN on Apache #NuttX OS
https://lupyuen.github.io/articles/lorawan3?5#lorawan-objective
#LoRaWAN on #Apache NuttX OS ... Here's what we'll do
https://lupyuen.github.io/articles/lorawan3?4#lorawan-objective
How to inspect a #NuttX Stack Trace 👍
https://gist.github.com/lupyuen/ccfd90125f9a180b4cfb459e8a57b323
How we handle SX1262 GPIO Interrupts in #NuttX OS ... With NimBLE Porting Layer
https://lupyuen.github.io/articles/sx1262?90#multithreading-with-nimble-porting-layer
We handle SX1262 GPIO Interrupts in #NuttX with a Background Thread ... That inserts into an Event Queue
https://lupyuen.github.io/articles/sx1262?89#start-dio1-thread
Here's why we need GPIO Interrupts Triggered on Rising Edge for #LoRa on #NuttX
https://lupyuen.github.io/articles/sx1262?88#initialise-gpio
Switching a #NuttX GPIO Interrupt Pin to Trigger On Rising Edge ... Crashes with an Assertion Failure ... I'll submit a NuttX Issue, meanwhile I have disabled the assertion
https://github.com/lupyuen/incubator-nuttx/blob/lorawan/drivers/ioexpander/gpio.c#L544-L547
NimBLE Porting Layer doesn't work for multiple Callout Timers on #NuttX OS, unless we loop the thread ... Will submit a Pull Request to Apache NimBLE 👍
Here's how we send a #LoRaWAN Data Packet on #NuttX OS ... And validate the Packet Size before sending
https://github.com/lupyuen/lorawan_test/blob/main/lorawan_test_main.c#L311-L339
#LoRaWAN Gateway now receives the correct Data Packet from our #NuttX App! 🎉
https://gist.github.com/lupyuen/83be5da091273bb39bad6e77cc91b68d
#LoRaWAN Data Rate has been increased to 3 ... Max Message Size is now 53 bytes for our #NuttX App
https://gist.github.com/lupyuen/83be5da091273bb39bad6e77cc91b68d
Here's how we increase the #LoRaWAN Data Rate to 3 in our #NuttX App
https://github.com/lupyuen/lorawan_test/blob/main/lorawan_test_main.c#L57-L70
Our #NuttX App sent an empty #LoRaWAN Message because our message is too long for LoRaWAN Data Rate 2 (max 11 bytes) ... Let's increase the Data Rate to 3
https://gist.github.com/lupyuen/5fc07695a6c4bb48b5e4d10eb05ca9bf
IoT Techie and Educator / Apache NuttX PMC