/* Get Local Address. 
Returns the local bluetooth address. */
ADI_BLER_RESULT adi_radio_GetLocalBluetoohAddr(ADI_BLER_CONFIG_ADDR *const pConfigAddr)
/* Get Local Address. 
Returns the local bluetooth address. */
ADI_BLER_RESULT adi_radio_GetLocalBluetoohAddr(ADI_BLER_CONFIG_ADDR *const pConfigAddr)
{
    ADI_BLER_RESULT bleResult;
    ASSERT(pConfigAddr != NULL);
    ADI_BLE_LOGEVENT(LOGID_CMD_BLEGAP_GET_LOCAL_BD_ADDR);
    ADI_BLE_RADIO_CMD_START(CMD_BLEGAP_GET_LOCAL_BD_ADDR);
    bleResult = bler_process_cmd(CMD_BLEGAP_GET_LOCAL_BD_ADDR, 0u, pConfigAddr, sizeof(ADI_BLER_CONFIG_ADDR));
    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);
}