Add MDNS for ESP8266 (#153)

With ESP32 MDNS causes BLE to don't work properly
This commit is contained in:
Florian authored and GitHub committed 2018-01-06 09:42:27 +01:00
1 parent 9d55af871b
commit ebf82fbb38
5 files changed
+73 -8

No files matched your search

+3 -1
View File
@@ -29,9 +29,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*-------------------VERSION----------------------*/
#define OMG_VERSION "0.6"
#define OMG_VERSION "0.6.1"
/*-------------DEFINE YOUR NETWORK PARAMETERS BELOW----------------*/
//MQTT Parameters definition
//#define mqtt_server_name "www.mqtt_broker.com" // instead of defining the server by its IP you can define it by its name, uncomment this line and set the correct MQTT server host name
#define mqtt_server "192.168.1.17"
//#define mqtt_user "your_username" // not compulsory only if your broker needs authentication
#define mqtt_password "your_password" // not compulsory only if your broker needs authentication
@@ -43,6 +44,7 @@
#define will_Retain true
#define will_Message "Offline"
#define Gateway_AnnouncementMsg "Online"
//#define MDNS_SD //comment if you don't want to use mdns for discovering automatically your ip server, please note that MDNS with ESP32 can cause the BLE to not work
/*-------------DEFINE YOUR NETWORK PARAMETERS BELOW----------------*/
// Update these with values suitable for your network.