ESP8266
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
WiFiUDP Class Reference
Inheritance diagram for WiFiUDP:
UDP SList< WiFiUDP > Stream Print

Public Member Functions

 WiFiUDP ()
 
 WiFiUDP (const WiFiUDP &other)
 
WiFiUDPoperator= (const WiFiUDP &rhs)
 
 ~WiFiUDP ()
 
 operator bool () const
 
virtual uint8_t begin (uint16_t port)
 
virtual void stop ()
 
uint8_t beginMulticast (IPAddress interfaceAddr, IPAddress multicast, uint16_t port)
 
virtual int beginPacket (IPAddress ip, uint16_t port)
 
virtual int beginPacket (const char *host, uint16_t port)
 
virtual int beginPacketMulticast (IPAddress multicastAddress, uint16_t port, IPAddress interfaceAddress, int ttl=1)
 
virtual int endPacket ()
 
virtual size_t write (uint8_t)
 
virtual size_t write (const uint8_t *buffer, size_t size)
 
virtual int parsePacket ()
 
virtual int available ()
 
virtual int read ()
 
virtual int read (unsigned char *buffer, size_t len)
 
virtual int read (char *buffer, size_t len)
 
virtual int peek ()
 
virtual void flush ()
 
virtual IPAddress remoteIP ()
 
virtual uint16_t remotePort ()
 
IPAddress destinationIP ()
 
uint16_t localPort ()
 
- Public Member Functions inherited from Stream
 Stream ()
 
void setTimeout (unsigned long timeout)
 
bool find (const char *target)
 
bool find (uint8_t *target)
 
bool find (const char *target, size_t length)
 
bool find (const uint8_t *target, size_t length)
 
bool find (char target)
 
bool findUntil (const char *target, const char *terminator)
 
bool findUntil (const uint8_t *target, const char *terminator)
 
bool findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen)
 
bool findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)
 
long parseInt ()
 
float parseFloat ()
 
size_t readBytes (char *buffer, size_t length)
 
size_t readBytes (uint8_t *buffer, size_t length)
 
size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
String readString ()
 
String readStringUntil (char terminator)
 
- Public Member Functions inherited from Print
 Print ()
 
int getWriteError ()
 
void clearWriteError ()
 
size_t write (const char *str)
 
size_t write (const char *buffer, size_t size)
 
size_t printf (const char *format,...) __attribute__((format(printf
 
size_t size_t print (const __FlashStringHelper *)
 
size_t print (const String &)
 
size_t print (const char[])
 
size_t print (char)
 
size_t print (unsigned char, int=10)
 
size_t print (int, int=10)
 
size_t print (unsigned int, int=10)
 
size_t print (long, int=10)
 
size_t print (unsigned long, int=10)
 
size_t print (double, int=2)
 
size_t print (const Printable &)
 
size_t println (const __FlashStringHelper *)
 
size_t println (const String &s)
 
size_t println (const char[])
 
size_t println (char)
 
size_t println (unsigned char, int=10)
 
size_t println (int, int=10)
 
size_t println (unsigned int, int=10)
 
size_t println (long, int=10)
 
size_t println (unsigned long, int=10)
 
size_t println (double, int=2)
 
size_t println (const Printable &)
 
size_t println (void)
 
- Public Member Functions inherited from SList< WiFiUDP >
 SList ()
 

Static Public Member Functions

static void stopAll ()
 
static void stopAllExcept (WiFiUDP *exC)
 

Private Attributes

UdpContext_ctx
 

Additional Inherited Members

- Protected Member Functions inherited from UDP
uint8_t * rawIPAddress (IPAddress &addr)
 
- Protected Member Functions inherited from Stream
int timedRead ()
 
int timedPeek ()
 
int peekNextDigit ()
 
long parseInt (char skipChar)
 
float parseFloat (char skipChar)
 
- Protected Member Functions inherited from Print
void setWriteError (int err=1)
 
- Static Protected Member Functions inherited from SList< WiFiUDP >
static void _add (WiFiUDP *self)
 
static void _remove (WiFiUDP *self)
 
- Protected Attributes inherited from Stream
unsigned long _timeout
 
unsigned long _startMillis
 
- Protected Attributes inherited from SList< WiFiUDP >
WiFiUDP_next
 
- Static Protected Attributes inherited from SList< WiFiUDP >
static WiFiUDP_s_first = 0
 

Constructor & Destructor Documentation

WiFiUDP::WiFiUDP ( )
WiFiUDP::WiFiUDP ( const WiFiUDP other)
WiFiUDP::~WiFiUDP ( )

Member Function Documentation

int WiFiUDP::available ( void  )
virtual

Implements UDP.

uint8_t WiFiUDP::begin ( uint16_t  port)
virtual

Implements UDP.

uint8_t WiFiUDP::beginMulticast ( IPAddress  interfaceAddr,
IPAddress  multicast,
uint16_t  port 
)
int WiFiUDP::beginPacket ( IPAddress  ip,
uint16_t  port 
)
virtual

Implements UDP.

int WiFiUDP::beginPacket ( const char *  host,
uint16_t  port 
)
virtual

Implements UDP.

int WiFiUDP::beginPacketMulticast ( IPAddress  multicastAddress,
uint16_t  port,
IPAddress  interfaceAddress,
int  ttl = 1 
)
virtual
IPAddress WiFiUDP::destinationIP ( )
int WiFiUDP::endPacket ( )
virtual

Implements UDP.

void WiFiUDP::flush ( void  )
virtual

Implements UDP.

uint16_t WiFiUDP::localPort ( )
WiFiUDP::operator bool ( ) const
WiFiUDP & WiFiUDP::operator= ( const WiFiUDP rhs)
int WiFiUDP::parsePacket ( )
virtual

Implements UDP.

int WiFiUDP::peek ( void  )
virtual

Implements UDP.

int WiFiUDP::read ( void  )
virtual

Implements UDP.

int WiFiUDP::read ( unsigned char *  buffer,
size_t  len 
)
virtual

Implements UDP.

virtual int WiFiUDP::read ( char *  buffer,
size_t  len 
)
virtual

Implements UDP.

IPAddress WiFiUDP::remoteIP ( )
virtual

Implements UDP.

uint16_t WiFiUDP::remotePort ( )
virtual

Implements UDP.

void WiFiUDP::stop ( )
virtual

Implements UDP.

void WiFiUDP::stopAll ( )
static
void WiFiUDP::stopAllExcept ( WiFiUDP exC)
static
size_t WiFiUDP::write ( uint8_t  byte)
virtual

Implements UDP.

size_t WiFiUDP::write ( const uint8_t *  buffer,
size_t  size 
)
virtual

Implements UDP.

Member Data Documentation

UdpContext* WiFiUDP::_ctx
private