rsi_wlan_req_radio#
Functions#
Register and Deregister WLAN radio.
Deregister WLAN radio. This is a blocking API.
Function Documentation#
rsi_wlan_req_radio#
int32_t rsi_wlan_req_radio (uint8_t enable, RSI_SUCCESS)
Register and Deregister WLAN radio.
[in] | enable | - To register and Deregister WLAN radio |
[out] | RSI_SUCCESS |
Returns
0 - Success Non-Zero Value - Failure
6400
of file wlan/rsi_wlan_apis.c
rsi_wlan_radio_deinit#
int32_t rsi_wlan_radio_deinit (void )
Deregister WLAN radio. This is a blocking API.
[out] |
The application should be in radio init and unconnected state before calling this function. rsi_wlan_radio_deinit() API is called after rsi_wlan_scan()
Returns
0 - Success Non-Zero Value - Failure If the return value is greater than 0 0x0021- Command given in wrong state 0x0101-WLAN radio is already deregistered
Note
1.If rsi_wlan_radio_deinit() API is called after rsi_wlan_scan().Need to call rsi_wlan_scan() API again after the rsi_wlan_radio_init(). 2.If rsi_wlan_radio_deinit() API is allowed before WLAN connected state only. 3.Need to enable powersave before sending any command when the module is in deep sleep power save.
Below APIs are allowed after rsi_wlan_radio_deinit() API#
3.Need to enable powersave before sending any command when the module is in deep sleep power save. Below APIs are allowed after rsi_wlan_radio_deinit() API
rsi_wlan_get() In this API only RSI_MAC_ADDRESS and RSI_CONNECTION_STATUS cmd_type are allowed.
6490
of file wlan/rsi_wlan_apis.c