Commit graph

7 commits

Author SHA1 Message Date
10c61f5d78 read reply from tcp server 2022-06-21 02:30:00 +02:00
fac3115a93 add tcp send/receive command modes 2022-06-20 00:03:44 +02:00
08c5cabe6d implement iterator on reader (serial rx) 2022-06-19 03:18:21 +02:00
792eef13ba implement non-blocking read with timeout
much better than before :)
2022-06-19 00:33:32 +02:00
94b9ce312f connect to gprs and check if attached 2022-06-18 01:39:38 +02:00
17b54fbe3a remove all unwraps :) 2022-06-16 01:39:16 +02:00
43424ba997 implement commands and turn everything on
Turn the modem on by setting appropriate pins to high/low.

Implemented all commands from
https://github.com/pythings/Drivers/blob/master/SIM800L.py#L116-L143 in Rust.

Moved AP values to a config module. Maybe create a build environment for this
later on, we'll need to support multiple telecom providers for sure ...

Fix the write/read implementation for the Serial. Match on end and handle the
timeout properly for every command.
2022-06-16 01:09:31 +02:00