35#ifndef COMMANDER_API_SRC_COMMANDER_IO_HPP_
36#define COMMANDER_API_SRC_COMMANDER_IO_HPP_
49#ifdef COMMANDER_USE_WIFI_CLIENT_RESPONSE
51 #include <ESP8266WiFi.h>
98 size_t write( uint8_t b ) {
return 0; }
122 void flush()
override;
128 size_t write( uint8_t b )
override;
130 size_t write(
const uint8_t *
buffer,
size_t size )
override;
#define COMMANDER_MAX_COMMAND_SIZE
size_t write(uint8_t b)
Write one byte to the channel.
void flush()
Flush the channel.
int peek()
Peek the firtst byte from the channel.
int available()
Available bytes in the channel.
int read()
Read one byte form the channel.
void flush() override
Flush the channel.
size_t write(uint8_t b) override
Write one byte to the channel.
uint8_t buffer[COMMANDER_MAX_COMMAND_SIZE]
int peek() override
Peek the firtst byte from the channel.
int read() override
Read one byte form the channel.
int available() override
Available bytes in the channel.