Chat freely about anything...

User avatar
By Bontor Humala
#17306 Hi, anybody tried the wifi-sniffer example on ESP SDK 0.9.5? I compiled and flashed the fw to my ESP-01 but I cannot see any packet being sniffed. This is the UART output,

Image

Also, after several minutes, it will behave strangely - wdt triggered but not restarted.

Anybody successful in trying this example? The code also seems correct according to SDK doc, it got sniffing rx callback that is supposed to be called when a packet is received/sniffed
User avatar
By GereeNice
#43006 Hi!

Sorry for the lame question but I got to know esp8266 with Arduino and I'm not familiar with alternative ways. I saw the sniffer code example and tried to upload it but I didn't succeed. I attempted to build the toolchain in a linux vm according to:

https://github.com/esp8266/esp8266-wiki/wiki/Toolchain

But it just won't connect / upload to the chip. Could someone provide me or point me to a, preferably complete guide on how to set up an environment where I can compile and upload the code I cloned from:

https://github.com/pulkin/esp8266-injection-example

There's just too many ways, versions, etc and I got confused, don't know where to start. Thanks in advance!