Join an wireless access point.
Files
net_if_wifi.h/net_if_wifi.c
Prototype
Code Block |
---|
void NetIF_WiFi_Join (NET_IF_NBR if_nbr,
NET_IF_WIFI_NET_TYPE net_type,
NET_IF_WIFI_DATA_RATE data_rate,
NET_IF_WIFI_SECURITY_TYPE security_type,
NET_IF_WIFI_PWR_LEVEL pwr_level,
NET_IF_WIFI_SSID ssid,
NET_IF_WIFI_PSK psk,
NET_ERR *p_err); |
Arguments
if_nbr
Interface number to join wireless access point.
...
NET_IF_WIFI_ERR_NONE
NET_IF_WIFI_ERR_JOIN
NET_IF_WIFI_ERR_INVALID_NET_TYPE
NET_IF_WIFI_ERR_INVALID_DATA_RATE
NET_IF_WIFI_ERR_INVALID_SECURITY
NET_IF_WIFI_ERR_INVALID_PWR_LEVEL
Returned Value
None.
Required Configuration
None.
Notes / Warnings
Prior joining an access point a scan should be performed to find the access point.