...
Every Wireless Manager layer net_wifi_mgr.c
Prototype
...
Code Block |
---|
static void NetWiFiMgr_AP_Scan (NET_IF *p_if,
NET_IF_WIFI_AP *p_buf_scan,
CPU_INT16U scna_len_max,
const NET_IF_WIFI_SSID *p_ssid,
NET_IF_WIFI_CH ch,
NET_ERR *perr); |
Note that since every Wireless Manager’s AP_Scan()
function is accessed only by function pointer via the Wireless Manager’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static
’.
...
NET_IF_WIFI_CH_ALL
NET_IF_WIFI_CH_1
NET_IF_WIFI_CH_2
NET_IF_WIFI_CH_3
NET_IF_WIFI_CH_4
NET_IF_WIFI_CH_5
NET_IF_WIFI_CH_6
NET_IF_WIFI_CH_7
NET_IF_WIFI_CH_8
NET_IF_WIFI_CH_9
NET_IF_WIFI_CH_10
NET_IF_WIFI_CH_11
NET_IF_WIFI_CH_12
NET_IF_WIFI_CH_13
NET_IF_WIFI_CH_14
perr
Pointer to variable that will receive the return error code from this function.
...