The "scan_done_cb_t" is defined as a callback function where the first parameter is defined as:
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
scan_done_cb_t and first parameter
Who is online
Users browsing this forum: No registered users and 2 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.