Page 1 of 1

Getting MAC Address of Devices NOT connected in your network

Posted: Thu Jul 11, 2019 11:17 am
by MorseIot
configuration:

esp8266
AP mode
wifi

problem:

I need to capture mac address, Rssi etc from mobile devices close to ESP8266 without being connected
promiscuous WiFi scanned
Does anyone know Micropython code?

Re: Getting MAC Address of Devices NOT connected in your network

Posted: Sat Jul 13, 2019 12:02 pm
by jimmo
I believe this requires promiscuous mode, as you say. This is supported on the ESP8266 (and ESP32) hardware, but not available in MicroPython. It would appear this wouldn't be too hard to add though -- via esp_wifi_set_promiscuous() & esp_wifi_set_promiscuous_rx_cb().

Re: Getting MAC Address of Devices NOT connected in your network

Posted: Tue Jul 16, 2019 8:56 pm
by MorseIot
jimmo wrote:
Sat Jul 13, 2019 12:02 pm
I believe this requires promiscuous mode, as you say. This is supported on the ESP8266 (and ESP32) hardware, but not available in MicroPython. It would appear this wouldn't be too hard to add though -- via esp_wifi_set_promiscuous() & esp_wifi_set_promiscuous_rx_cb().
Correct, I already use with arduino and sming, I have interest to implement in micropython. Thank you