espduino icon indicating copy to clipboard operation
espduino copied to clipboard

How to get MAC address?

Open renno-bih opened this issue 9 years ago • 8 comments

As this new firmware doesn't work with AT commands, is there any way to get MAC address of this module so I can use it in sketch? Also, it will be very useful to use mDNS or other ways to find module in network. What are plans for that?

renno-bih avatar May 28 '15 11:05 renno-bih

How about the IP address also ?

bigpaulie avatar May 28 '15 13:05 bigpaulie

I am currently working on a modification of the firmware which will extend the wifiCb response. The response will now include mac and ip address as this information can be used in topics on MQTT side.

Namphibian avatar Sep 29 '15 22:09 Namphibian

Hello,

When I upload software to esp8266 I get an error that is below. Please help me !!!.

pi@raspberrypi /usr/share/arduino/libraries/espduino $ sudo esp8266/tools/esptool.py -p /dev/ttyUSB0 write_flash 0x00000 esp8266/release/0x00000.bin 0x40000 esp8266/release/0x40000.bin Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Traceback (most recent call last): File "esp8266/tools/esptool.py", line 22, in import serial ImportError: No module named serial

ibrahimisim avatar Oct 15 '15 18:10 ibrahimisim

Namphibian, how is it coming along ? I need that mac address (or unique id) too !

noxqs avatar Oct 21 '15 08:10 noxqs

I would also love to have these extra info in the callback

TLMNicolas avatar Dec 01 '15 09:12 TLMNicolas

Any love on a way to get the MAC or IP address of the ESP8266 via espduino? Working with Cactus Micro Rev2. (I assume this is related to this thread, as to not hi-jack it ;)

dexterlabora avatar Jan 14 '16 22:01 dexterlabora

Hi All.

I have made some modifications to the library which exposes the following:

  1. MAC Address is now published back when connected to a WIFI access point.
  2. New Function To Get Signal Strength Of Access Point.

I am happy to expand this with further API extensions. I am going to expand the data sent back on call back to include IP Address, Gateway and all information I can for IP Configuration. Once that is done I will submit a pull and then hopefully Master Tuan is happy with my C-Fu!

End of week should be achievable!

Namphibian avatar Mar 20 '16 23:03 Namphibian

Hi, How is this coming? MAC adress would be great, IP even better. I would love RSSI value!

G

gautenk avatar Apr 16 '16 22:04 gautenk