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.
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | [in] | enable | - To register and deregister WLAN radio |
[out] | RSI_SUCCESS |
Returns
0 - Success
Non-Zero Value - Failure
rsi_wlan_radio_deinit#
int32_t rsi_wlan_radio_deinit (void )
Deregister WLAN radio. This is a blocking API.
Type | Direction | Argument Name | Description |
---|---|---|---|
void | [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()