Public Member Functions | Protected Attributes | List of all members
ArduinoHardware Class Reference

#include <ArduinoHardware.h>

Public Member Functions

 ArduinoHardware ()
 
 ArduinoHardware (SERIAL_CLASS *io, long baud=57600)
 
 ArduinoHardware ()
 
 ArduinoHardware (ArduinoHardware &h)
 
bool connected ()
 
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_CLASSiostream
 
IPAddress server_
 
uint16_t serverPort_ = 11411
 
EthernetClient tcp_
 

Detailed Description

Definition at line 65 of file ArduinoHardware.h.

Constructor & Destructor Documentation

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 50 of file ArduinoTcpHardware.h.

Member Function Documentation

bool ArduinoHardware::connected ( )
inline

Definition at line 101 of file ArduinoTcpHardware.h.

int ArduinoHardware::getBaud ( )
inline

Definition at line 92 of file ArduinoHardware.h.

IPAddress ArduinoHardware::getLocalIP ( )
inline

Definition at line 60 of file ArduinoTcpHardware.h.

void ArduinoHardware::init ( )
inline

Definition at line 69 of file ArduinoTcpHardware.h.

void ArduinoHardware::init ( )
inline

Definition at line 94 of file ArduinoHardware.h.

int ArduinoHardware::read ( )
inline

Definition at line 78 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 54 of file ArduinoTcpHardware.h.

unsigned long ArduinoHardware::time ( )
inline

Definition at line 96 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 91 of file ArduinoTcpHardware.h.

void ArduinoHardware::write ( uint8_t *  data,
int  length 
)
inline

Definition at line 103 of file ArduinoHardware.h.

Member Data Documentation

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 112 of file ArduinoTcpHardware.h.

uint16_t ArduinoHardware::serverPort_ = 11411
protected

Definition at line 113 of file ArduinoTcpHardware.h.

EthernetClient ArduinoHardware::tcp_
protected

Definition at line 110 of file ArduinoTcpHardware.h.


The documentation for this class was generated from the following files:


rosserial_arduino
Author(s): Michael Ferguson, Adam Stambler
autogenerated on Fri Jun 7 2019 22:02:56