Obtaining MQTT broker IP
Posted: Thu Jun 18, 2015 5:20 am
hi,
I'm currently using the esp_open_sdk and running esp_mqtt example. I was able to successfully connect to a MQTT broker by specifying the broker IP beforehand (in user_config) and was able to publish test messages. What should I do to obtain the IP of the broker by connecting to the accesspoint of the broker using just SSiD and Password? So that, I won't have to change the user_config files, everytime the router boots up as it uses DHCP.
Thank you.
I'm currently using the esp_open_sdk and running esp_mqtt example. I was able to successfully connect to a MQTT broker by specifying the broker IP beforehand (in user_config) and was able to publish test messages. What should I do to obtain the IP of the broker by connecting to the accesspoint of the broker using just SSiD and Password? So that, I won't have to change the user_config files, everytime the router boots up as it uses DHCP.
Thank you.