Page 1 of 1

Passive Scan on ESP8266(AP Beacon)

Posted: Sat Apr 22, 2017 6:42 pm
by ESP_Kewal
The attached example code decodes AP details by catching beacon from each access point. The ESP8266 works in sniffer mode. Please go through the readme and sniffer.c and sniffer.h file. Also ESP8266 cannot connect to any access point in sniffer mode. You need to disable sniffer mode on esp8266 before connecting to access point.

Re: Passive Scan on ESP8266(AP Beacon)

Posted: Wed Apr 26, 2017 1:26 pm
by pratik
Thanks for posting, this is rather helpful!

Re: Passive Scan on ESP8266(AP Beacon)

Posted: Tue Jun 20, 2017 3:07 pm
by hanehalthy
你好,如何才能获取Sniffer到1470长度的整个数据包?

请问是否够在
wifi_set_opmode(STATION_MODE); // Promiscuous works only with station mode
wifi_set_channel(channel);
wifi_promiscuous_set_mac(dstMac);
wifi_promiscuous_enable(disable);
wifi_set_promiscuous_rx_cb(promisc_cb); // Set up promiscuous callback
wifi_promiscuous_enable(enable);

之后,在
void promisc_cb(uint8_t *buf, uint16_t len)
{}
里面获取整个Sniffer到 的数据包,我发送的包长度是1500,但每次在回调函数里面获取的包长是60,128,为什么?

Re: Passive Scan on ESP8266(AP Beacon)

Posted: Fri Nov 17, 2017 7:39 pm
by JamelBF
Hello guys. I'm new here.
Where can I see the information with the basics of the work?
Maybe something for beginners? Very interesting. :)

Re: Passive Scan on ESP8266(AP Beacon)

Posted: Thu Nov 30, 2017 5:33 pm
by TommyDI
JamelBF wrote:Hello guys. I'm new here.
Where can I see the information with the basics of the work?
Maybe something for beginners? Very interesting. :)


I do not know dude. :?
I'm looking for myself. I need a couple of questions to ask the key.
I can not find threads in the forum