What's MCPS in the #BL602 #LoRaWAN Driver? ... That's the "MAC Common Part Sublayer", which is defined in the Semtech LoRaWAN Stack
https://stackforce.github.io/LoRaMac-doc/LoRaMac-doc-v4.4.7/index.html
The Node Layer (centre) in our #BL602 #LoRaWAN Driver handles the networking operations for our BL602 LoRaWAN Node ... It's called by the Application Layer (left)
https://github.com/lupyuen/bl_iot_sdk/blob/lorawan/components/3rdparty/lorawan/src/lora_node.c
For #Arduino Fans: RAKwireless has a #WisBlock #LoRaWAN Tutorial ... We shall try this later
https://github.com/RAKWireless/WisBlock/tree/master/examples/communications/LoRa/LoRaWAN
#Mynewt OS has a #LoRaWAN Command-Line App that calls the Application Layer of the LoRaWAN Driver ... We shall port this app to #BL602 too
https://mynewt.apache.org/latest/tutorials/lora/lorawanapp.html
The Application Layer (left) of our #BL602 #LoRaWAN Driver exposes LoRaWAN Functions to Application Firmware ... Join Network, Open/Close Port, Transmit/Receive Packets
https://github.com/lupyuen/bl_iot_sdk/blob/lorawan/components/3rdparty/lorawan/src/lora_app.c
Our #BL602 #LoRaWAN Driver has many Layers (like Shrek) ... Let's peel the Shrek ... (erm) Layers 🧅
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/components/3rdparty/lorawan
Now we port the #LoRaWAN Driver ... From Apache #Mynewt OS to #BL602
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/components/3rdparty/lorawan
#BL602 #LoRaWAN Driver ... Neater now
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/components/3rdparty/lorawan
#BL602 #LoRaWAN Driver ... Gets messy 🤔
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/components/3rdparty/lorawan
"Build Rot" ... Automated Builds need to be fixed every month or so ... Even though nothing has changed 🤔
Here's how we create #BL602 Projects
https://lupyuen.github.io/articles/lora2?67#appendix-how-to-create-bl602-projects
Creating #BL602 Libraries? Here's how we created the reusable libraries for #LoRa SX1276 and NimBLE Porting Layer
https://lupyuen.github.io/articles/lora2?66#appendix-how-to-create-bl602-libraries
How we dump the #BL602 Stack ... And uncover the actual cause of the #RISCV Exception
https://lupyuen.github.io/articles/lora2?55#bl602-stack-dump
Here's how we enable #BL602 Stack Trace
https://lupyuen.github.io/articles/lora2?54#bl602-stack-trace
7 things that can go wrong with #BL602 #LoRa ... And how we fix them
https://lupyuen.github.io/articles/lora2?52#troubleshoot-lora
Here's how we Receive #LoRa Packets with #BL602 LoRa Firmware
https://lupyuen.github.io/articles/lora2?50#enter-lora-commands
Latest #BL602 #LoRa Firmware ... Now available for downloading for all regions!
https://lupyuen.github.io/articles/lora2?48#build-and-run-the-bl602-lora-firmware
IoT Techie and Educator / Apache NuttX PMC