pub unsafe extern "C" fn ble_gap_pair_initiate(
    conn_handle: u16
) -> c_int
Expand description

Initiates the GAP pairing procedure as a master. This is for testing only and should not be used by application. Use ble_gap_security_initiate() instead.

@param conn_handle The handle corresponding to the connection to start pairing on.

@return 0 on success; BLE_HS_ENOTCONN if the there is no connection with the specified handle; BLE_HS_EALREADY if an pairing procedure for this connection is already in progress; Other nonzero on error.