ESP8266
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
SSDPClass Class Reference

Public Member Functions

 SSDPClass ()
 
 ~SSDPClass ()
 
bool begin ()
 
void schema (WiFiClient client)
 
void setName (const String &name)
 
void setName (const char *name)
 
void setURL (const String &url)
 
void setURL (const char *url)
 
void setSchemaURL (const String &url)
 
void setSchemaURL (const char *url)
 
void setSerialNumber (const String &serialNumber)
 
void setSerialNumber (const char *serialNumber)
 
void setModelName (const String &name)
 
void setModelName (const char *name)
 
void setModelNumber (const String &num)
 
void setModelNumber (const char *num)
 
void setModelURL (const String &url)
 
void setModelURL (const char *url)
 
void setManufacturer (const String &name)
 
void setManufacturer (const char *name)
 
void setManufacturerURL (const String &url)
 
void setManufacturerURL (const char *url)
 
void setHTTPPort (uint16_t port)
 

Protected Member Functions

void _send (ssdp_method_t method)
 
void _update ()
 
void _startTimer ()
 

Static Protected Member Functions

static void _onTimerStatic (SSDPClass *self)
 

Protected Attributes

UdpContext_server
 
SSDPTimer_timer
 
uint16_t _port
 
IPAddress _respondToAddr
 
uint16_t _respondToPort
 
bool _pending
 
unsigned short _delay
 
unsigned long _process_time
 
unsigned long _notify_time
 
char _schemaURL [64]
 
char _uuid [37]
 
char _friendlyName [64]
 
char _serialNumber [32]
 
char _presentationURL [128]
 
char _manufacturer [64]
 
char _manufacturerURL [128]
 
char _modelName [64]
 
char _modelURL [128]
 
char _modelNumber [32]
 

Constructor & Destructor Documentation

SSDPClass::SSDPClass ( )
SSDPClass::~SSDPClass ( )

Member Function Documentation

void SSDPClass::_onTimerStatic ( SSDPClass self)
staticprotected
void SSDPClass::_send ( ssdp_method_t  method)
protected
void SSDPClass::_startTimer ( )
protected
void SSDPClass::_update ( )
protected
bool SSDPClass::begin ( )
void SSDPClass::schema ( WiFiClient  client)
void SSDPClass::setHTTPPort ( uint16_t  port)
void SSDPClass::setManufacturer ( const String &  name)
void SSDPClass::setManufacturer ( const char *  name)
void SSDPClass::setManufacturerURL ( const String &  url)
void SSDPClass::setManufacturerURL ( const char *  url)
void SSDPClass::setModelName ( const String &  name)
void SSDPClass::setModelName ( const char *  name)
void SSDPClass::setModelNumber ( const String &  num)
void SSDPClass::setModelNumber ( const char *  num)
void SSDPClass::setModelURL ( const String &  url)
void SSDPClass::setModelURL ( const char *  url)
void SSDPClass::setName ( const String &  name)
void SSDPClass::setName ( const char *  name)
void SSDPClass::setSchemaURL ( const String &  url)
void SSDPClass::setSchemaURL ( const char *  url)
void SSDPClass::setSerialNumber ( const String &  serialNumber)
void SSDPClass::setSerialNumber ( const char *  serialNumber)
void SSDPClass::setURL ( const String &  url)
void SSDPClass::setURL ( const char *  url)

Member Data Documentation

unsigned short SSDPClass::_delay
protected
char SSDPClass::_friendlyName[64]
protected
char SSDPClass::_manufacturer[64]
protected
char SSDPClass::_manufacturerURL[128]
protected
char SSDPClass::_modelName[64]
protected
char SSDPClass::_modelNumber[32]
protected
char SSDPClass::_modelURL[128]
protected
unsigned long SSDPClass::_notify_time
protected
bool SSDPClass::_pending
protected
uint16_t SSDPClass::_port
protected
char SSDPClass::_presentationURL[128]
protected
unsigned long SSDPClass::_process_time
protected
IPAddress SSDPClass::_respondToAddr
protected
uint16_t SSDPClass::_respondToPort
protected
char SSDPClass::_schemaURL[64]
protected
char SSDPClass::_serialNumber[32]
protected
UdpContext* SSDPClass::_server
protected
SSDPTimer* SSDPClass::_timer
protected
char SSDPClass::_uuid[37]
protected