Function bt_le_set_chan_map

Source
pub unsafe extern "C" fn bt_le_set_chan_map(chan_map: *mut u8) -> i32
Expand description

@brief Set (LE) channel map.

Used to inform the Controller of known channel classifications. The Host can specify which channels are bad or unknown by setting the corresponding bit in the channel map to respectively 0 or 1.

@note The interval between two succesive calls to this function must be at least one second.

@param chan_map Channel map. 5 octets where each bit represents a channel. Only the lower 37 bits are valid.

@return Zero on success or error code otherwise, positive in case of protocol error or negative (POSIX) in case of stack internal error.