#include <RemoteConnector.h>
Public Member Functions | |
| TagValueTransport (TagValueTransportType type) | |
| virtual void | startMsg (uint16_t msgType) |
| void | startBinMsg (uint16_t msgType, uint16_t byteLen) |
| void | writeField (uint16_t field, const char *value) |
| void | writeFieldInt (uint16_t field, int value) |
| void | writeFieldLong (uint16_t field, long value) |
| FieldAndValue * | fieldIfAvailable () |
| void | clearFieldStatus (FieldValueType ty=FVAL_PROCESSING) |
| TagValueTransportType | getTransportType () |
| virtual void | flush ()=0 |
| virtual int | writeChar (char data)=0 |
| virtual int | writeStr (const char *data)=0 |
| virtual uint8_t | readByte ()=0 |
| virtual bool | readAvailable ()=0 |
| virtual bool | available ()=0 |
| virtual bool | connected ()=0 |
| virtual void | close ()=0 |
| virtual void | endMsg () |
Protected Attributes | |
| FieldAndValue | currentField |
| TagValueTransportType | transportType |
| uint8_t | protocolUsed |
The definition of a transport that can send and receive information remotely using the TagVal protocol. Implementations include SerialTransport and EthernetTransport located in the remotes directory.