Closed cnlohr closed 7 years ago
Ok, on second thought, browsing looks completely broken now. I seem to recall something about espressif changing the unsolicited UDP behavior, will have to check that out to see why EmitWhoAmINow isn't working.
Ok, browse behavior improved in 01cc359 -> Now it actually responds to 'bq' requests. This way the ESPs have a name, too!
Check it out.
echo -ne "bq" | socat - udp-datagram:192.168.4.255:7878,broadcast
Though it seems socat doesn't show the remote host. Hmm. Not sure how to fix that. Perhaps a custom tool?
Also, now looks like http://cn8266.local does in fact work. Glad @con-f-use you got the working version of the mdns stuff ported! Yay!
One feature I had left for a long time and haven't messed with much was the browse and MDNS feature (if turned on). Normally esp82xx devices can be found by typing: http://esp82xx.local into your web browser. It will pick the first available esp82xx device. (Currently we're calling it cn8266, but I think the name may want to change?)
Once you are at that device, it can list all other ESPs on the network and produce a list of links for you to click the others. It does this by sending 'q' to broadcast port 7878.
We should do that in the makefile when searching, too! @con-f-use (For the makefile part)r