1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

mDNS, platform and espota.py changes for IDE Upload

mDNS responds with more TXT properties
platform change to support OTA functions
espota.py added authentication parameter
IDE branch: https://github.com/me-no-dev/Arduino-1/tree/esp8266-ota
This commit is contained in:
Me No Dev
2015-11-07 22:02:43 +02:00
parent 7e8bcca1d9
commit 843e11100d
5 changed files with 73 additions and 30 deletions

View File

@ -77,12 +77,14 @@ public:
void addService(String service, String proto, uint16_t port){
addService(service.c_str(), proto.c_str(), port);
}
void enableArduino(uint16_t port, bool auth=false);
private:
struct MDNSService * _services;
UdpContext* _conn;
char _hostName[128];
char _boardName[64];
bool _arduinoAuth;
uint32_t _getOurIp();
uint16_t _getServicePort(char *service, char *proto);