ESP8266 Developer Zone The Official ESP8266 Forum 2015-05-20T11:21:28+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=448 2015-05-20T11:21:28+08:00 2015-05-20T11:21:28+08:00 https://bbs.espressif.com:443/viewtopic.php?t=448&p=1795#p1795 <![CDATA[Re: Packet Encryption Detection]]>
And you could use the other API "wifi_station_scan"---information of APs that be found, refer to struct bss_info

Statistics: Posted by ESP_Alfred — Wed May 20, 2015 11:21 am


]]>
2015-05-17T03:39:28+08:00 2015-05-17T03:39:28+08:00 https://bbs.espressif.com:443/viewtopic.php?t=448&p=1706#p1706 <![CDATA[Packet Encryption Detection]]>
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,

Statistics: Posted by skywave — Sun May 17, 2015 3:39 am


]]>