External device MAC address

endi83
Posts: 24
Joined: Wed Nov 22, 2023 2:43 pm

External device MAC address

Postby endi83 » Mon Dec 11, 2023 7:58 am

I have an ESP32 C6 module with a W5500 ethernet module. On this W5500 I have an external device connected via ethernet. How can I get the MAC address of the external device connected via ethernet?

I have tried the functions:

esp_eth_ioctl(eth_handle, ETH_CMD_G_MAC_ADDR, mac_addr_eth);
esp_read_mac(mac_addr_eth, ESP_MAC_ETH);

But in both cases I get the base MAC address of the ESP32 module.

Who is online

Users browsing this forum: Bing [Bot] and 95 guests