ESP3D Lib  1.0
3D Printer WiFi Library
Serial_2_Socket Class Reference

#include <serial2socket.h>

Inheritance diagram for Serial_2_Socket:
Inheritance graph
Collaboration diagram for Serial_2_Socket:
Collaboration graph

Public Member Functions

 Serial_2_Socket ()
 
 ~Serial_2_Socket ()
 
size_t write (uint8_t c)
 
size_t write (const uint8_t *buffer, size_t size)
 
size_t write (const char *s)
 
size_t write (unsigned long n)
 
size_t write (long n)
 
size_t write (unsigned int n)
 
size_t write (int n)
 
long baudRate ()
 
void begin (long speed)
 
void end ()
 
int available ()
 
int peek (void)
 
int read (void)
 
bool push (const char *data)
 
void flush (void)
 
void handle_flush ()
 
 operator bool () const
 
bool attachWS (void *web_socket)
 
bool detachWS ()
 

Detailed Description

Definition at line 29 of file serial2socket.h.

Constructor & Destructor Documentation

◆ Serial_2_Socket()

Serial_2_Socket::Serial_2_Socket ( )

◆ ~Serial_2_Socket()

Serial_2_Socket::~Serial_2_Socket ( )

Member Function Documentation

◆ attachWS()

bool Serial_2_Socket::attachWS ( void *  web_socket)

◆ available()

int Serial_2_Socket::available ( )

◆ baudRate()

long Serial_2_Socket::baudRate ( )

◆ begin()

void Serial_2_Socket::begin ( long  speed)

◆ detachWS()

bool Serial_2_Socket::detachWS ( )

◆ end()

void Serial_2_Socket::end ( )

◆ flush()

void Serial_2_Socket::flush ( void  )

◆ handle_flush()

void Serial_2_Socket::handle_flush ( )

◆ operator bool()

Serial_2_Socket::operator bool ( ) const

◆ peek()

int Serial_2_Socket::peek ( void  )

◆ push()

bool Serial_2_Socket::push ( const char *  data)

◆ read()

int Serial_2_Socket::read ( void  )

◆ write() [1/7]

size_t Serial_2_Socket::write ( const char *  s)
inline

Definition at line 36 of file serial2socket.h.

Here is the call graph for this function:

◆ write() [2/7]

size_t Serial_2_Socket::write ( const uint8_t *  buffer,
size_t  size 
)

◆ write() [3/7]

size_t Serial_2_Socket::write ( int  n)
inline

Definition at line 52 of file serial2socket.h.

Here is the call graph for this function:

◆ write() [4/7]

size_t Serial_2_Socket::write ( long  n)
inline

Definition at line 44 of file serial2socket.h.

Here is the call graph for this function:

◆ write() [5/7]

size_t Serial_2_Socket::write ( uint8_t  c)
Here is the caller graph for this function:

◆ write() [6/7]

size_t Serial_2_Socket::write ( unsigned int  n)
inline

Definition at line 48 of file serial2socket.h.

Here is the call graph for this function:

◆ write() [7/7]

size_t Serial_2_Socket::write ( unsigned long  n)
inline

Definition at line 40 of file serial2socket.h.

Here is the call graph for this function:

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