technocreatives / sim7000

Rust drivers for the SIM7000 series of modems
Apache License 2.0
17 stars 7 forks source link

Add basic modem wake and sleep methods #26

Closed hulthe closed 1 year ago

hulthe commented 1 year ago

Useful to conserve power while still listening on an active tcp stream

hulthe commented 1 year ago

We might want to be more clever about handling other commands while the modem is in sleep mode. Righ now if you were to e.g. put the modem in sleep mode, then attempt to start a new TCP connection, it is likely it would just get stuck.

I'm thinking that for now though, this might be good enough.