|
virtual int | available ()=0 |
|
virtual void | stop ()=0 |
|
virtual uint8_t | connected ()=0 |
|
virtual void | setTimeoutMs (uint16_t timeoutMs)=0 |
|
int | connect (IPAddress ip, uint16_t port) |
|
int | connect (const char *host, uint16_t port) |
|
size_t | write (uint8_t) |
|
size_t | write (const uint8_t *buf, size_t size) |
|
size_t | write (const void *buf, size_t size=0) |
|
size_t | print (const char *) |
|
size_t | println (const char *) |
|
size_t | println () |
|
int | read () |
|
int | read (uint8_t *buf, size_t size) |
|
int | read (char *buf, size_t size) |
|
virtual void | setSSLEnabled (bool enabled) |
|
void | setCACert (const char *rootCA) |
|
void | setDebugLogs (bool) |
|
bool | isDebugLogs () const |
|
void | setSdc (SuplaDeviceClass *sdc) |
|
uint32_t | getSrcConnectionIPAddress () const |
|
|
virtual int | connectImp (const char *host, uint16_t port)=0 |
|
virtual size_t | writeImp (const uint8_t *buf, size_t size)=0 |
|
virtual int | readImp (uint8_t *buf, size_t size)=0 |
|
|
bool | sslEnabled = false |
|
bool | debugLogs = false |
|
const char * | rootCACert = nullptr |
|
unsigned int | rootCACertSize = 0 |
|
SuplaDeviceClass * | sdc = nullptr |
|
uint32_t | srcIp = 0 |
|
The documentation for this class was generated from the following files:
- src/supla/network/client.h
- src/supla/network/client.cpp