pub unsafe extern "C" fn bt_br_set_discoverable(enable: bool) -> i32
Expand description
@brief Enable/disable set controller in discoverable state.
Allows make local controller to listen on INQUIRY SCAN channel and responds to devices making general inquiry. To enable this state it’s mandatory to first be in connectable state.
@param enable Value allowing/disallowing controller to become discoverable.
@return Negative if fail set to requested state or requested state has been already set. Zero if done successfully.