1.1.2.1.1.4.17 BLE_GAP_ExtCreateConnection

C

uint16_t BLE_GAP_ExtCreateConnection(uint8_t filterPolicy, BLE_GAP_Addr_T *p_peerAddr, BLE_GAP_ExtCreateConnPhy_T *p_createConnPhy);

Parameters

ParameterDescription
[in] filterPolicyThis parameter is used to determine whether the filter accept List is used. See Initiator filter policy .
[in] p_peerAddrPointer to the BLE_GAP_Addr_T structure buffer. Remote bluetooth address and address type.
[in] p_createConnPhyPointer to the BLE_GAP_ExtCreateConnPhy_T structure buffer.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue the create connection.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed.