Class for DD input/output; you explicitly constructed it, pass in when instantiate DumbDisplay, then it will be use by DD internally for communication with DumbDisplay app. There are several derived class like DDSoftwareSerialIO, DDWiFiServerIO, DDBluetoothSerialIO, DDBLESerialIO, DDPicoSerialIO etc. More...
#include <_dd_io.h>
Public Member Functions | |
DDInputOutput (unsigned long serialBaud=DD_SERIAL_BAUD) | |
DDInputOutput * | newForSerialConnection () |
virtual const char * | getWhat () |
virtual bool | available () |
virtual char | read () |
virtual void | print (const String &s) |
virtual void | print (const char *p) |
virtual void | write (uint8_t b) |
virtual void | write (const uint8_t *buf, size_t size) |
virtual void | flush () |
virtual void | keepAlive () |
virtual void | validConnection () |
virtual bool | preConnect (bool firstCall) |
virtual bool | canConnectPassive () |
virtual bool | canUseBuffer () |
bool | isSerial () |
bool | isForSerial () |
bool | isBackupBySerial () |
bool | willUseSerial () |
Protected Member Functions | |
DDInputOutput (unsigned long serialBaud, bool backupBySerial, bool setupForSerial) | |
Protected Attributes | |
unsigned long | serialBaud |
bool | backupBySerial |
bool | setupForSerial |
Class for DD input/output; you explicitly constructed it, pass in when instantiate DumbDisplay, then it will be use by DD internally for communication with DumbDisplay app. There are several derived class like DDSoftwareSerialIO, DDWiFiServerIO, DDBluetoothSerialIO, DDBLESerialIO, DDPicoSerialIO etc.