Class hal::esp8266::at::packet_manager
Public Functions
Type | Name |
---|---|
void | find (hal::serial & p_serial) |
bool | is_complete_header () |
std::uint16_t | packet_length () |
packet_manager () |
|
hal::result< std::span< hal::byte > > | read_packet (hal::serial & p_serial, std::span< hal::byte > p_buffer) |
void | reset () |
void | set_state (std::uint8_t p_state) |
Public Functions Documentation
function find
void packet_manager::find (
hal::serial & p_serial
)
function is_complete_header
bool packet_manager::is_complete_header ()
function packet_length
std::uint16_t packet_manager::packet_length ()
function packet_manager
packet_manager::packet_manager ()
function read_packet
hal::result< std::span< hal::byte > > packet_manager::read_packet (
hal::serial & p_serial,
std::span< hal::byte > p_buffer
)
function reset
void packet_manager::reset ()
function set_state
void packet_manager::set_state (
std::uint8_t p_state
)
The documentation for this class was generated from the following file libraries/include/libhal-esp8266/at.hpp