/* Get List of Active Connections. 
This API is used to return the number of active connections and the active connection handles. */
ADI_BLER_RESULT adi_radio_GetConnectionList(ADI_BLER_CONN_LIST *pConnectionList)
/* Get List of Active Connections. 
This API is used to return the number of active connections and the active connection handles. */
ADI_BLER_RESULT adi_radio_GetConnectionList(ADI_BLER_CONN_LIST *pConnectionList)
{
    ADI_BLER_RESULT bleResult;
    ASSERT(pConnectionList != NULL);
    ADI_BLE_LOGEVENT(LOGID_CMD_BLEGAP_GET_NUM_ACTIVE_CONNS);
    ADI_BLE_RADIO_CMD_START(CMD_BLEGAP_GET_NUM_ACTIVE_CONNS);
    bleResult = bler_process_cmd(CMD_BLEGAP_GET_NUM_ACTIVE_CONNS, 0u, pConnectionList, ADI_BLER_CONN_LIST_SIZE);
    if(bleResult == ADI_BLER_SUCCESS){
    	bleResult = ADI_BLE_WAIT_FOR_COMPLETION(ADI_EVENT_FLAG_RESP_SUCCESS,ADI_BLER_CMD_TIMEOUT);
    }
    ADI_BLE_RADIO_CMD_END();
    return (bleResult);
}