rmja / chip-drivers

Generic embedded drivers written in Rust
4 stars 0 forks source link

Working example for the crate. #1

Open andodeki opened 7 months ago

andodeki commented 7 months ago

I would like to know how to use this crate. If you could create an example on how to initialise and use the Sim900 crate swith an external module with ESP32 and STM32.

Also can this be extended for Lora use like Lora-E5-H module?

rmja commented 6 months ago

Have a look here: https://github.com/rmja/chip-drivers/blob/master/cellular/simcom-gprs/src/services/data/tcp.rs#L384-L406