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
8000
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.
[in] |
Returns
0 - Success
Non-Zero Value - Failure (Possible Error Codes - 0x0021,0x0067)
Note
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().
If rsi_wlan_radio_deinit() API is allowed before WLAN connected state only.
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.
rsi_bt_power_save_profile()Note
Precondition - 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()
8088
of file wlan/rsi_wlan_apis.c