1.2.2.1.1.4.6 BLE_GAP_CreateConnection

C

uint16_t BLE_GAP_CreateConnection(BLE_GAP_CreateConnParams_T *p_createConnParam);

Description

Create a BLE connection to a connectable advertiser.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully created a BLE link with specified device.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters,if any of the create connection parameters are out of range. See BLE_GAP_CreateConnParams_T for ranges.
MBA_RES_NO_RESOURCEExceed maximum connections.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed.