-->
Page 1 of 1

ESP8266 Static Ip with Mobile phone hotspot ...

PostPosted: Thu Mar 09, 2017 11:50 pm
by vbarunn
I have connected the ESP8266 to the access point and PUBLISH to a MQTT broker. I set the static Ip to the ESP8266 using following functions

WiFi.begin(ssid, password);

WiFi.config(IPAddress(192, 168, XX, XX), IPAddress(192, 168,XX, 1), IPAddress(255, 255, 255, 0));

This is working with the normal routers. However, when I did this by using my mobile hotspot as the AP, I couldn't connect to the MQTT broker. Anyone have ideas about setting static Ip with mobile phone hotspot ?