Crate esp_01

Source

Structs§

Esp8266
Struct for interracting with an esp8266 wifi module over USART
Millisecond
Second
TransmissionError
Error indicating failure to transmit a message.

Enums§

ATResponse
Possible responses from an esp8266 AT command.
ConnectionType
Error
Error type for esp communication.
TransmissionStep
Indicates what step in the data transmission that the sensor is in. Used in TransmissionError for reporting information about where things went wrong

Traits§

LongTimer
A countdown timer which nonblockingly waits until the specified countdown is completed. The countdown is started by calling start.

Functions§

compare_circular_buffer
Compares the content of a circular buffer with another buffer. The comparison is done ‘from the back’ and if one buffer is longer than the other, only the content of the shared bytes is compared.
parse_at_response
Parses buffer as an AT command response returning the type if it is a valid AT response and None otherwise