#include <ArduinoHardware.h>
Public Member Functions | |
ArduinoHardware () | |
ArduinoHardware (SERIAL_CLASS *io, long baud=57600) | |
ArduinoHardware () | |
ArduinoHardware (ArduinoHardware &h) | |
int | getBaud () |
IPAddress | getLocalIP () |
void | init () |
void | init () |
int | read () |
int | read () |
void | setBaud (long baud) |
void | setConnection (IPAddress &server, int port=11411) |
unsigned long | time () |
unsigned long | time () |
void | write (const uint8_t *data, int length) |
void | write (uint8_t *data, int length) |
Protected Attributes | |
long | baud_ |
SERIAL_CLASS * | iostream |
IPAddress | server_ |
uint16_t | serverPort_ = 11411 |
EthernetClient | tcp_ |
Definition at line 65 of file ArduinoHardware.h.
ArduinoHardware::ArduinoHardware | ( | SERIAL_CLASS * | io, |
long | baud = 57600 |
||
) | [inline] |
Definition at line 67 of file ArduinoHardware.h.
ArduinoHardware::ArduinoHardware | ( | ) | [inline] |
Definition at line 71 of file ArduinoHardware.h.
ArduinoHardware::ArduinoHardware | ( | ArduinoHardware & | h | ) | [inline] |
Definition at line 83 of file ArduinoHardware.h.
ArduinoHardware::ArduinoHardware | ( | ) | [inline] |
Definition at line 48 of file ArduinoTcpHardware.h.
int ArduinoHardware::getBaud | ( | ) | [inline] |
Definition at line 92 of file ArduinoHardware.h.
IPAddress ArduinoHardware::getLocalIP | ( | ) | [inline] |
Definition at line 58 of file ArduinoTcpHardware.h.
void ArduinoHardware::init | ( | ) | [inline] |
Definition at line 67 of file ArduinoTcpHardware.h.
void ArduinoHardware::init | ( | ) | [inline] |
Definition at line 94 of file ArduinoHardware.h.
int ArduinoHardware::read | ( | ) | [inline] |
Definition at line 72 of file ArduinoTcpHardware.h.
int ArduinoHardware::read | ( | ) | [inline] |
Definition at line 102 of file ArduinoHardware.h.
void ArduinoHardware::setBaud | ( | long | baud | ) | [inline] |
Definition at line 88 of file ArduinoHardware.h.
void ArduinoHardware::setConnection | ( | IPAddress & | server, |
int | port = 11411 |
||
) | [inline] |
Definition at line 52 of file ArduinoTcpHardware.h.
unsigned long ArduinoHardware::time | ( | ) | [inline] |
Definition at line 89 of file ArduinoTcpHardware.h.
unsigned long ArduinoHardware::time | ( | ) | [inline] |
Definition at line 108 of file ArduinoHardware.h.
void ArduinoHardware::write | ( | const uint8_t * | data, |
int | length | ||
) | [inline] |
Definition at line 84 of file ArduinoTcpHardware.h.
void ArduinoHardware::write | ( | uint8_t * | data, |
int | length | ||
) | [inline] |
Definition at line 103 of file ArduinoHardware.h.
long ArduinoHardware::baud_ [protected] |
Definition at line 112 of file ArduinoHardware.h.
SERIAL_CLASS* ArduinoHardware::iostream [protected] |
Definition at line 111 of file ArduinoHardware.h.
IPAddress ArduinoHardware::server_ [protected] |
Definition at line 100 of file ArduinoTcpHardware.h.
uint16_t ArduinoHardware::serverPort_ = 11411 [protected] |
Definition at line 101 of file ArduinoTcpHardware.h.
EthernetClient ArduinoHardware::tcp_ [protected] |
Definition at line 98 of file ArduinoTcpHardware.h.