Get MAC From IP

AYahoo
Posts: 1
Joined: Sat Aug 24, 2019 6:17 am

Get MAC From IP

Postby AYahoo » Sat Aug 24, 2019 6:48 am

Hi there, I'm looking for a way to get a MAC address from an IP of another device connected to the same network, I need somehow to get to the ARP table, or send & receive ARP packages.

I saw the esp_wifi_80211_tx API and didn't see the way to get a esp_wifi_80211_rx, or anyother way to get the MAC from the IP.

Any Ideas?

ESP_Sprite
Posts: 9769
Joined: Thu Nov 26, 2015 4:08 am

Re: Get MAC From IP

Postby ESP_Sprite » Mon Aug 26, 2019 2:22 am

You'll probably need to look into lwip functionality for this... maybe etharp_get_entry() does what you want?

Who is online

Users browsing this forum: Baidu [Spider] and 117 guests