zephyr::raw

Function bt_br_set_connectable

source
pub unsafe extern "C" fn bt_br_set_connectable(enable: bool) -> i32
Expand description

@brief Enable/disable set controller in connectable state.

Allows make local controller to be connectable. It means the controller start listen to devices requests on PAGE SCAN channel. If disabled also resets discoverability if was set.

@param enable Value allowing/disallowing controller to be connectable.

@return Negative if fail set to requested state or requested state has been already set. Zero if done successfully.