I have a micro-controller,ESP8266 for the moment, which is connecting to a mqtt broker and pulish some messages.
I have configured mqtt broker on raspberry pi which has an IP address
so for now I have hard coded the mqtt broker IP in micro-controller firmware. But I want it like it search the mqtt server in local network and then connect to the same.
so is it possible to do the same ?? Does such micro-controller can have that capability to do so? I have already search a lot on Google but does not found any solution. Please provide some path.