1.1.2.1.1.4.7 BLE_GAP_CreateConnectionCancel
C
uint16_t BLE_GAP_CreateConnectionCancel(void);
Description
Cancel the current connecting procedure before successful connection establishment.
Events generated
BLE_GAP_EVT_CONNECTED Generated with corresponding status code.
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully cancel the current connecting procedure. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_COMMAND_DISALLOWED | Command disallowed. |