beckdac / ESP8266-transparent-bridge

Absolutely transparent bridge for the ESP8266
GNU General Public License v2.0
367 stars 95 forks source link

need an AT command to see DHCP address received on STA #20

Open monteslu opened 9 years ago

beckdac commented 9 years ago

The AT commands are only available network side.

monteslu commented 9 years ago

?

I only need to see the address on the network side. I'd rather not have to figure out from the DHCP server what address I was leased on the LAN

beckdac commented 9 years ago

How would you connect to the device to run the command?

monteslu commented 9 years ago

With multiple ESPs devices I'd likely connect to each as an AP, setup wifi dhcp client, then turn off the AP after I have the STA address.

beckdac commented 9 years ago

Hmm... I don't believe that would be supported by the ESP SDK. Would the MDNS approach you describe in the other issue solve this for you?

monteslu commented 9 years ago

yeah, MDNS would be better. Anything to get my IP would help :)