Function esp_idf_svc::hal::sys::esp_gap_ble_set_channels

source ยท
pub unsafe extern "C" fn esp_gap_ble_set_channels(
    channels: *mut u8,
) -> i32
Expand description

@brief BLE set channels

@param[in] channels : The n th such field (in the range 0 to 36) contains the value for the link layer channel index n. 0 means channel n is bad. 1 means channel n is unknown. The most significant bits are reserved and shall be set to 0. At least one channel shall be marked as unknown.

@return - ESP_OK : success - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - other : failed