From 76852c044c6103d830072082e4b5b00ed8845a4d Mon Sep 17 00:00:00 2001 From: Kirk Davis Date: Sun, 29 May 2016 10:23:04 -0600 Subject: [PATCH] Additional example for MY_ESP8266_HOSTNAME Additional example for pull request #451 This adds in comments and the MY_ESP8266_HOSTNAME definition. --- .../examples/GatewayESP8266OTA/GatewayESP8266OTA.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/MySensors/examples/GatewayESP8266OTA/GatewayESP8266OTA.ino b/libraries/MySensors/examples/GatewayESP8266OTA/GatewayESP8266OTA.ino index bb19188..142d058 100644 --- a/libraries/MySensors/examples/GatewayESP8266OTA/GatewayESP8266OTA.ino +++ b/libraries/MySensors/examples/GatewayESP8266OTA/GatewayESP8266OTA.ino @@ -85,6 +85,10 @@ #define MY_ESP8266_SSID "MySSID" #define MY_ESP8266_PASSWORD "MyVerySecretPassword" +// Set the hostname for the WiFi Client. This is the hostname +// it will pass to the DHCP server if not static. +// #define MY_ESP8266_HOSTNAME "sensor-ota-gateway" + // Enable UDP communication //#define MY_USE_UDP