pub unsafe extern "C" fn ble_gap_conn_find(
handle: u16,
out_desc: *mut ble_gap_conn_desc,
) -> c_int
Expand description
Searches for a connection with the specified handle. If a matching connection is found, the supplied connection descriptor is filled correspondingly.
@param handle The connection handle to search for. @param out_desc On success, this is populated with information relating to the matching connection. Pass NULL if you don’t need this information.
@return 0 on success, BLE_HS_ENOTCONN if no matching connection was found.