We take this #LoRaWAN App in C and convert to #ZigLang ... 700 Lines of C Code, no sweat!
https://github.com/lupyuen/zig-bl602-nuttx#convert-lorawan-app-to-zig
Let's build an #IoT App with #ZigLang and #LoRaWAN ... To show that we can maintain and extend Complex IoT Apps with Zig!
https://github.com/lupyuen/zig-bl602-nuttx#convert-lorawan-app-to-zig
#LoRa SX1262 Library compiles OK with #ZigLang Compiler ... And runs OK on Apache #NuttX RTOS! 🎉
https://github.com/lupyuen/zig-bl602-nuttx#zig-compiler-as-drop-in-replacement-for-gcc
#ZigLang Compiler is a drop-in replacement for C Compiler ... Works great for maintaining complex C projects!
Apache #NuttX Build fails with our #ZigLang App ... But no worries! Let's compile it ourselves
https://lupyuen.github.io/articles/zig?6#build-fails-on-nuttx
Here's how we import C functions into #ZigLang
https://lupyuen.github.io/articles/zig?3#import-standard-library
My second Takedown Notice from CEVA (WiFi IP) 🤔
https://github.com/lupyuen/AliOS-Things/tree/master/platform/mcu/bk7231u
#LoRaWAN has a Golden Window of Exactly One Second to receive the Join Accept Response ... If we miss the window, things will go very badly 😬
https://gist.github.com/lupyuen/1d96b24c6bf5164cba652d903eedb9d1
IoT Techie and Educator / Apache NuttX PMC