esp_bt_gap_set_afh_channels() function
Set the AFH channels
Arguments
channels
The n th such field (in the range 0 to 78) contains the value for channel n : 0 means channel n is bad. 1 means channel n is unknown. The most significant bit is reserved and shall be set to 0. At least 20 channels shall be marked as unknown.
Return value
- ESP_OK : success - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - other : failed