mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
Make advertiseServices() private
This commit is contained in:
parent
7a35ee4813
commit
160f84a6f6
@ -83,7 +83,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void enableArduino(uint16_t port, bool auth=false);
|
void enableArduino(uint16_t port, bool auth=false);
|
||||||
size_t advertiseServices(); // advertise all hosted services
|
|
||||||
|
|
||||||
void setInstanceName(String name);
|
void setInstanceName(String name);
|
||||||
void setInstanceName(const char * name){
|
void setInstanceName(const char * name){
|
||||||
@ -105,6 +104,7 @@ private:
|
|||||||
uint16_t _getServiceTxtLen(char *name, char *proto);
|
uint16_t _getServiceTxtLen(char *name, char *proto);
|
||||||
void _parsePacket();
|
void _parsePacket();
|
||||||
void _reply(uint8_t replyMask, char * service, char *proto, uint16_t port);
|
void _reply(uint8_t replyMask, char * service, char *proto, uint16_t port);
|
||||||
|
size_t advertiseServices(); // advertise all hosted services
|
||||||
};
|
};
|
||||||
|
|
||||||
extern MDNSResponder MDNS;
|
extern MDNSResponder MDNS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user