Wifi Sniffer - Nodemcu esp8266


I’m trying to run Wifi Sniffer example with nodemcu esp8266

But i got “[AttributeError @[0000:00BA:0000:0000:0000:0000:0000:0000]]” error in the console and when i click on it, it takes me to " wifi_driver.start_sniffer( …"

doesn’t the library exist ?
is there anyway to solve it?

Thank you in advance

Hello @Rava_Rajab,

yes, the library exists but start_sniffer is not supported by esp8266 (hence the missing Attribute Error), but by esp32 only.

I suggest you to switch to a supported esp32 based device for testing it out.