minor changes, added ALL required externals

This commit is contained in:
2021-03-14 15:20:44 +01:00
parent 3da4722748
commit 5e8ba82e6e
22 changed files with 1853 additions and 30 deletions

27
user/ESP8266lib/net/IP.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef IP_H
#define IP_H
#define Port uint16_t
struct IP {
uint32_t val;
/** empty ctor */
IP() : val(0) {
;
}
/** ctor with IP-string */
IP(const char* ipStr) {
set(ipStr);
}
/** set the IP */
void set(const char* ipStr) {
val = ipaddr_addr(ipStr);
}
};
#endif // IP_H