ESP8266 Developer Zone The Official ESP8266 Forum 2015-07-07T06:09:28+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=701 2015-07-07T06:09:28+08:00 2015-07-07T06:09:28+08:00 https://bbs.espressif.com:443/viewtopic.php?t=701&p=2529#p2529 <![CDATA[scan_done_cb_t and first parameter]]>
void *arg

The reality is that the parameter appears to only ever possibly be:

struct bss_info *pBssInfoList

This means that I have to cast the "poorly named" parameter called "arg" each time I want to use it. Is there a reason we can't have the first parameter of the scan_done_cb_t simply be "struct bss_info *pBssInfoList"?

Neil

Statistics: Posted by kolban — Tue Jul 07, 2015 6:09 am


]]>