Packet Encryption Detection

skywave
Posts: 19
Joined: Sun May 17, 2015 3:33 am

Packet Encryption Detection

Postby skywave » Sun May 17, 2015 3:39 am

Hi There,

I know we can get the WEP bit from Frame Control to distinguish if a packet received is encrypted or not.

However is there any way we can know what's the encryption type? (WPA-PSK AES TKIP WEP...)

I'm trying to implement my own SmartLink config. When using the ESP8266 in promiscuous mode and trying to implement something like a smartlink config, the packet size vary based on kind of encryption. Knowing the kind of encryption would be useful to check packet size based on that. Is that possible?

Best Regards,

ESP_Alfred
Posts: 56
Joined: Mon Nov 10, 2014 7:31 pm

Re: Packet Encryption Detection

Postby ESP_Alfred » Wed May 20, 2015 11:21 am

HT20 pack we can complete receive, but for HT40 pack we could hear the length of the package.

And you could use the other API "wifi_station_scan"---information of APs that be found, refer to struct bss_info

Who is online

Users browsing this forum: No registered users and 26 guests