Functions | |
| esp_err_t | init () |
| Initialize mDNS. | |
Variables | |
| std::string | str |
| esp_err_t intf::mdns::init | ( | ) |
Initialization takes place in init(). This function sets the hostname based on the currently active WiFi mode. In station mode, the hostname is set to the user's preference; in access point mode, it is set to "remise."
The following services are registered.
| Type | Protocol | Port |
|---|---|---|
| _http | _tcp | 80 |
| _z21 | _udp | 21105 |
|
inline |