Passive Scan on ESP8266(AP Beacon)

ESP_Kewal
Posts: 2
Joined: Mon Jul 25, 2016 2:23 pm

Passive Scan on ESP8266(AP Beacon)

Postby ESP_Kewal » Sat Apr 22, 2017 6:42 pm

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.
Attachments
passive scan.rar
(278.34 KiB) Downloaded 1848 times
Regards,
Kewal Shah

pratik

Re: Passive Scan on ESP8266(AP Beacon)

Postby pratik » Wed Apr 26, 2017 1:26 pm

Thanks for posting, this is rather helpful!

hanehalthy
Posts: 1
Joined: Tue Jun 20, 2017 3:05 pm

Re: Passive Scan on ESP8266(AP Beacon)

Postby hanehalthy » Tue Jun 20, 2017 3:07 pm

你好,如何才能获取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,为什么?

JamelBF
Posts: 1
Joined: Fri Nov 17, 2017 7:23 pm

Re: Passive Scan on ESP8266(AP Beacon)

Postby JamelBF » Fri Nov 17, 2017 7:39 pm

Hello guys. I'm new here.
Where can I see the information with the basics of the work?
Maybe something for beginners? Very interesting. :)
My spec: Apple Mac mini 2.8GHz Intel Core i5 Dual Core, 8GB RAM, 1TB Fusion Drive
"I have been developing for 5 years,my current project.Beta for now."

User avatar
TommyDI
Posts: 1
Joined: Wed Nov 29, 2017 8:36 pm

Re: Passive Scan on ESP8266(AP Beacon)

Postby TommyDI » Thu Nov 30, 2017 5:33 pm

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
“Success is something you attract by the person you become.” –Jim Rohn
My being.

Who is online

Users browsing this forum: No registered users and 1 guest