Skip to main content

esp_now_remain_on_channel

Function esp_now_remain_on_channel 

Source
pub unsafe extern "C" fn esp_now_remain_on_channel(
    config: *mut esp_now_remain_on_channel_t,
) -> esp_err_t
Expand description

@brief ESPNOW remain on the target channel for required duration.

@param config ESPNOW remain on channel relevant information

@return - ESP_OK : succeed - ESP_ERR_NO_MEM: failed to allocate memory - ESP_ERR_INVALID_ARG: the <channel, sec_channel> pair is invalid - ESP_FAIL: failed to perform roc operation