ESP8266
|
Public Member Functions | |
virtual int | available ()=0 |
virtual int | read ()=0 |
virtual int | peek ()=0 |
virtual void | flush ()=0 |
Stream () | |
void | setTimeout (unsigned long timeout) |
bool | find (const char *target) |
bool | find (uint8_t *target) |
bool | find (const char *target, size_t length) |
bool | find (const uint8_t *target, size_t length) |
bool | find (char target) |
bool | findUntil (const char *target, const char *terminator) |
bool | findUntil (const uint8_t *target, const char *terminator) |
bool | findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen) |
bool | findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) |
long | parseInt () |
float | parseFloat () |
size_t | readBytes (char *buffer, size_t length) |
size_t | readBytes (uint8_t *buffer, size_t length) |
size_t | readBytesUntil (char terminator, char *buffer, size_t length) |
size_t | readBytesUntil (char terminator, uint8_t *buffer, size_t length) |
String | readString () |
String | readStringUntil (char terminator) |
Public Member Functions inherited from Print | |
Print () | |
int | getWriteError () |
void | clearWriteError () |
virtual size_t | write (uint8_t)=0 |
size_t | write (const char *str) |
virtual size_t | write (const uint8_t *buffer, size_t size) |
size_t | write (const char *buffer, size_t size) |
size_t | printf (const char *format,...) __attribute__((format(printf |
size_t size_t | print (const __FlashStringHelper *) |
size_t | print (const String &) |
size_t | print (const char[]) |
size_t | print (char) |
size_t | print (unsigned char, int=10) |
size_t | print (int, int=10) |
size_t | print (unsigned int, int=10) |
size_t | print (long, int=10) |
size_t | print (unsigned long, int=10) |
size_t | print (double, int=2) |
size_t | print (const Printable &) |
size_t | println (const __FlashStringHelper *) |
size_t | println (const String &s) |
size_t | println (const char[]) |
size_t | println (char) |
size_t | println (unsigned char, int=10) |
size_t | println (int, int=10) |
size_t | println (unsigned int, int=10) |
size_t | println (long, int=10) |
size_t | println (unsigned long, int=10) |
size_t | println (double, int=2) |
size_t | println (const Printable &) |
size_t | println (void) |
Protected Member Functions | |
int | timedRead () |
int | timedPeek () |
int | peekNextDigit () |
long | parseInt (char skipChar) |
float | parseFloat (char skipChar) |
Protected Member Functions inherited from Print | |
void | setWriteError (int err=1) |
Protected Attributes | |
unsigned long | _timeout |
unsigned long | _startMillis |
Stream::Stream | ( | ) |
|
pure virtual |
Implemented in HardwareSerial, WiFiUDP, EthernetUDP, TwoWire, UDP, fs::File, WiFiClient, WiFiClientSecure, File, Client, StreamString, and EthernetClient.
bool ICACHE_FLASH_ATTR Stream::find | ( | const char * | target | ) |
bool Stream::find | ( | uint8_t * | target | ) |
bool ICACHE_FLASH_ATTR Stream::find | ( | const char * | target, |
size_t | length | ||
) |
bool Stream::find | ( | const uint8_t * | target, |
size_t | length | ||
) |
bool Stream::find | ( | char | target | ) |
bool ICACHE_FLASH_ATTR Stream::findUntil | ( | const char * | target, |
const char * | terminator | ||
) |
bool Stream::findUntil | ( | const uint8_t * | target, |
const char * | terminator | ||
) |
bool ICACHE_FLASH_ATTR Stream::findUntil | ( | const char * | target, |
size_t | targetLen, | ||
const char * | terminate, | ||
size_t | termLen | ||
) |
bool Stream::findUntil | ( | const uint8_t * | target, |
size_t | targetLen, | ||
const char * | terminate, | ||
size_t | termLen | ||
) |
|
pure virtual |
Implemented in WiFiUDP, EthernetUDP, HardwareSerial, UDP, TwoWire, WiFiClient, fs::File, File, Client, StreamString, and EthernetClient.
float ICACHE_FLASH_ATTR Stream::parseFloat | ( | ) |
|
protected |
long ICACHE_FLASH_ATTR Stream::parseInt | ( | void | ) |
|
protected |
|
pure virtual |
Implemented in WiFiUDP, EthernetUDP, HardwareSerial, UDP, TwoWire, fs::File, WiFiClient, WiFiClientSecure, File, Client, StreamString, and EthernetClient.
|
protected |
|
pure virtual |
Implemented in HardwareSerial, WiFiUDP, EthernetUDP, TwoWire, UDP, fs::File, WiFiClient, WiFiClientSecure, File, Client, StreamString, and EthernetClient.
size_t ICACHE_FLASH_ATTR Stream::readBytes | ( | char * | buffer, |
size_t | length | ||
) |
size_t Stream::readBytes | ( | uint8_t * | buffer, |
size_t | length | ||
) |
size_t ICACHE_FLASH_ATTR Stream::readBytesUntil | ( | char | terminator, |
char * | buffer, | ||
size_t | length | ||
) |
size_t Stream::readBytesUntil | ( | char | terminator, |
uint8_t * | buffer, | ||
size_t | length | ||
) |
String ICACHE_FLASH_ATTR Stream::readString | ( | ) |
String ICACHE_FLASH_ATTR Stream::readStringUntil | ( | char | terminator | ) |
void ICACHE_FLASH_ATTR Stream::setTimeout | ( | unsigned long | timeout | ) |
|
protected |
|
protected |
|
protected |
|
protected |