BLE_GAP_CreateConnectionCancel

C

uint16_t BLE_GAP_CreateConnectionCancel(void);

Description

Cancels the ongoing BLE connection creation process.

Events generated

BLE_GAP_EVT_CONNECTED is generated with a corresponding status code when the cancellation is complete.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully cancel the ongoing connection creation process.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed due to a conflicting operation or state.