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] filterPolicyDetermines whether the filter accept list is used. See Initiator filter policy for details.
[in] p_peerAddrPointer to the structure containing the remote Bluetooth address and address type. See BLE_GAP_Addr_T.
[in] p_createConnPhyPointer to the structure containing the connection PHY parameters. See BLE_GAP_ExtCreateConnPhy_T.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully initiates the create connection process.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAThe parameters provided are invalid.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed due to a conflicting operation or state.