Components/Hosted/include/Hosted/Serial.h
Go to the documentation of this file.
size_t write(uint8_t c) override
Writes a single character to output stream.
Definition: Components/Hosted/include/Hosted/Serial.h:63
const char * c_str() const
Get a constant (un-modifiable) pointer to String content.
Definition: WString.h:616
Definition: Components/Hosted/include/Hosted/Client.h:31
Serial(const String &ttyDevice)
Definition: Components/Hosted/include/Hosted/Serial.h:30
bool begin(uint32_t baud=9600)
Initialise the serial port.
Definition: Components/Hosted/include/Hosted/Serial.h:52
size_t write(const uint8_t *buffer, size_t size)
Writes characters from a buffer to output stream.
Definition: Components/Hosted/include/Hosted/Serial.h:98
Definition: Components/Hosted/include/Hosted/Serial.h:27
size_t readBytes(char *buffer, size_t length) override
Read chars from stream into buffer.
Definition: Components/Hosted/include/Hosted/Serial.h:88
int available() override
Definition: Components/Hosted/include/Hosted/Serial.h:72
1.8.13