/* Cancel Connection. 
This API is used to cancel connection creation that is in process. */
ADI_BLER_RESULT adi_radio_CancelCreateConnection(void)
/* Cancel Connection. 
This API is used to cancel connection creation that is in process. */
ADI_BLER_RESULT adi_radio_CancelCreateConnection(void)
{
    ADI_BLER_RESULT bleResult;
    ADI_BLE_LOGEVENT(LOGID_CMD_BLEGAP_CANCEL_CONNECTION);
    ADI_BLE_RADIO_CMD_START(CMD_BLEGAP_CANCEL_CONNECTION);
    bleResult = bler_process_cmd(CMD_BLEGAP_CANCEL_CONNECTION, 0u, NULL, 0u);
    if(bleResult == ADI_BLER_SUCCESS){
    	bleResult = ADI_BLE_WAIT_FOR_COMPLETION(ADI_EVENT_FLAG_EVENT_COMPLETE,ADI_BLER_CMD_TIMEOUT);
    }
    ADI_BLE_RADIO_CMD_END();
    return (bleResult);
}