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 value | Description |
---|---|
MBA_RES_SUCCESS | Successfully cancel the ongoing connection creation process. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_COMMAND_DISALLOWED | Command disallowed due to a conflicting operation or state. |