/* Get Accessibility Mode. 
Get the accessibility mode of the device. */
ADI_BLER_RESULT adi_radio_GetMode(ADI_BLE_GAP_MODE *const pBleMode)
/* Get Accessibility Mode. 
Get the accessibility mode of the device. */
ADI_BLER_RESULT adi_radio_GetMode(ADI_BLE_GAP_MODE *const pBleMode)
{
    ADI_BLER_RESULT bleResult;
    ASSERT(pBleMode != NULL);
    ADI_BLE_LOGEVENT(LOGID_CMD_BLEGAP_GET_MODE);
    ADI_BLE_RADIO_CMD_START(CMD_BLEGAP_GET_MODE);
    bleResult = bler_process_cmd(CMD_BLEGAP_GET_MODE, 0u, pBleMode, sizeof(ADI_BLE_GAP_MODE));
    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);
}