-->
Page 1 of 1

wifi-sniffer Example on ESP SDK

PostPosted: Wed May 13, 2015 7:23 am
by Bontor Humala
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

Re: wifi-sniffer Example on ESP SDK

PostPosted: Fri Sep 25, 2015 2:04 pm
by pulkin
Hi!

I created an example project on GitHub with sniffer+packet injection working on ESP8266:

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

Enjoy! (Requires SDK 1.4.0)

Re: wifi-sniffer Example on ESP SDK

PostPosted: Sun Mar 13, 2016 8:13 am
by GereeNice
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!