FactbirdHQ / ublox-cellular-rs

A driver crate for the entire u-blox cellular family in Rust
21 stars 10 forks source link

client: add setup_at_commands() and better docs #70

Closed andresv closed 2 years ago

andresv commented 2 years ago

This PR adds setup_at_commands() that can be used to just initialize AT commands support. After that send_at can be used. Before this change send_at was only available if modem was fully registered to network. This is useful for example reading out IMEI or some other metadata like cert's MD5 checksums before even starting modem fully.

Also bunch of doc comments are added and some things are moved around to make it arguably more readable.

MathiasKoch commented 2 years ago

Looks great to me :+1: This actually also solves some issues we were having when provisioning devices :)