wifi_promiscuous_set_mac address format
wifi_promiscuous_set_mac address format
Postby gbrault » Mon May 18, 2015 10:52 pm
Could you please give me an example to call this funtion?
I get the prototype void wifi_promiscuous_set_mac(const uint8_t *address);
but don't now the format of the address
Thank you
I get the prototype void wifi_promiscuous_set_mac(const uint8_t *address);
but don't now the format of the address
Thank you
Re: wifi_promiscuous_set_mac address format
Postby ESP_Faye » Tue May 19, 2015 5:53 pm
Hi,
please try this
please try this
Code: Select all
char ap_mac[6] = {0x16, 0x34, 0x56, 0x78, 0x90, 0xab};
wifi_promiscuous_set_mac(ap_mac);
Re: wifi_promiscuous_set_mac address format
Postby gbrault » Wed May 20, 2015 4:17 am
Hi,
thanks, I have treid but was not successful: I see you mention AP, does it mean it just filter AP MAC and not Station MAC?
I was successful making the test in the call-back (not using the built-in function)
thanks, I have treid but was not successful: I see you mention AP, does it mean it just filter AP MAC and not Station MAC?
I was successful making the test in the call-back (not using the built-in function)
Re: wifi_promiscuous_set_mac address format
Postby ESP_Faye » Wed May 20, 2015 9:49 am
Hi,
Here is a sniffer demo, you can add "wifi_promiscuous_set_mac" as below.
Here is a sniffer demo, you can add "wifi_promiscuous_set_mac" as below.
Code: Select all
wifi_promiscuous_enable(1);
wifi_set_promiscuous_rx_cb(sniffer_wifi_promiscuous_rx);
char ap_mac[6] = {0x16, 0x34, 0x56, 0x78, 0x90, 0xab};
wifi_promiscuous_set_mac(ap_mac);
- Attachments
-
- sniffer demo for SDKv1.0.1.zip
- (2.65 KiB) Downloaded 747 times
Who is online
Users browsing this forum: No registered users and 138 guests
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.