Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active May 23, 2020 14:30
Show Gist options
  • Save lupyuen/21effb59c309b924b31c77ffa11f994e to your computer and use it in GitHub Desktop.
Save lupyuen/21effb59c309b924b31c77ffa11f994e to your computer and use it in GitHub Desktop.

Embedded Rust with NB-IoT

Video Demo of Embedded Rust on STM32 Blue Pill with Quectel BC95-G NB-IoT module, Apache Mynewt, StarHub NB-IoT network, thethings.io:
https://youtu.be/MgK72dqwDuM

Rust Source Code:
https://github.com/lupyuen/stm32bluepill-mynewt-sensor/tree/rust-nbiot/rust

Repository including Apache Mynewt and C code:
https://github.com/lupyuen/stm32bluepill-mynewt-sensor/tree/rust-nbiot

Based on the C code from the article:
https://medium.com/@ly.lee/connect-stm32-blue-pill-to-nb-iot-with-quectel-bc95-g-and-apache-mynewt-c99a9d8417a9

Rust Safe Wrappers for Apache Mynewt were autogenerated by this Procedural Macro:
https://github.com/lupyuen/stm32bluepill-mynewt-sensor/blob/rust-nbiot/rust/macros/src/safe_wrap.rs

Watch out for the new tutorial at
https://medium.com/@ly.lee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment