Passive Scan on ESP8266(AP Beacon)
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
Kewal Shah
Re: Passive Scan on ESP8266(AP Beacon)
Postby pratik » Wed Apr 26, 2017 1:26 pm
Thanks for posting, this is rather helpful!
-
- 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,为什么?
请问是否够在
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)
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.
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."
"I have been developing for 5 years,my current project.Beta for now."
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.
My being.
Who is online
Users browsing this forum: No registered users and 1 guest
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.