Search found 10 matches

by ESPI_1
Fri Apr 03, 2020 4:27 am
Forum: ESP-IDF
Topic: Bluedroid source - where to sind?
Replies: 1
Views: 4785

Bluedroid source - where to sind?

Where can I find the Bluedroid source that is used by espressif?

looking in "esp_idf_Tools_V2_2\components\bt", I find only header files and libraries *.a

I want to find the error by myself in the source, otherwise I 100% depend on the help from the espressif-team

the Code in "bt_app_hf.c" seems ...
by ESPI_1
Thu Apr 02, 2020 7:10 am
Forum: ESP-IDF
Topic: Bluetooth Handsfree , registered callback never called
Replies: 1
Views: 4248

Bluetooth Handsfree , registered callback never called

Bluetooth Hf-AG, 100% original example from espressif

STEPS:
1) configured for SCO-HCI in Controller and in Bluedroit

2) Connection sucessfully established (I can VOLUME_CONTROL_EVT when pressing Buttons on the Device)

3) succefully set up audio connection with peer device: Terminal: enter "hf ...
by ESPI_1
Wed Apr 01, 2020 11:19 pm
Forum: ESP-IDF
Topic: Bluetooth HFP-AG: ESP32 IDF Example Template Bug: Noise or No Connection
Replies: 1
Views: 5112

Re: Bluetooth HFP-AG: ESP32 IDF Example Template Bug: Noise or No Connection

Hallo espressif-Team It seems to be a bug in the BT-Library - can you check it - I have no source.

Switching BT DEBUG LOG LEVEL to "Verbose", I see there is an error some statements earlier

D (1395) BT_BTC: btc_hf_cb_handler: event = BTA_AG_ENABLE_EVT
E (1395) BT_BTC: btc_hf_cb_handler: Invalid ...
by ESPI_1
Wed Apr 01, 2020 10:35 am
Forum: ESP-IDF
Topic: Bluetooth HFP-AG: ESP32 IDF Example Template Bug: Noise or No Connection
Replies: 1
Views: 5112

Bluetooth HFP-AG: ESP32 IDF Example Template Bug: Noise or No Connection

using the Original Espressif HFP-AG example does not work properly
-> " Noise " in Speaker or " no Connection "


STEPS:
Creating a new / Espressif-IDF-Project / from template
Selecting "bluetooth/bluedroid/classic_bt/hfp_ag"

Keep the original "sdkconfig" unchanged

Compile, download - OK

Got ...
by ESPI_1
Fri Mar 13, 2020 8:19 am
Forum: Report Bugs
Topic: ADC+I2S(DMA) conficts with "dac_output_enable": ADC reads 0x00 Values
Replies: 0
Views: 7665

ADC+I2S(DMA) conficts with "dac_output_enable": ADC reads 0x00 Values

Using ADC+I2S alone works:
- Test: Simply Connect the ADC-Input to 3V3, and we got 0X0FFF in the Buffer as expected --> OK

BUG:
Simply adding the Line
"dac_output_enable(DAC_CHANNEL_1)"
somewere! in the Project - even after the test1,
then the test reads only 0X0000 from the ADC-via spi ...
by ESPI_1
Mon Mar 02, 2020 7:39 am
Forum: Report Bugs
Topic: compiler bug, occures in "hal/pcnt_ll.h" - Expresion regarded as CONST ?
Replies: 2
Views: 9874

Re: compiler bug, occures in "hal/pcnt_ll.h" - Expresion regarded as CONST ?

Hi ESP_Angus

the Header is included via "driver/pcnt.h" and "pcnt_hal.h" from an .CPP file

the other aproach could be to avoid this inline in this Header File
--> Code moves from Header into a .c File
by ESPI_1
Sun Mar 01, 2020 9:14 am
Forum: Report Bugs
Topic: compiler bug, occures in "hal/pcnt_ll.h" - Expresion regarded as CONST ?
Replies: 2
Views: 9874

compiler bug, occures in "hal/pcnt_ll.h" - Expresion regarded as CONST ?

simply add #include "driver/pcnt.h" in my Project

causes two Compiler-Problems in "hal/pcnt_ll.h" line 48 and in line 60 (see Code below)

C:/Users/.../esp_idf_Tools_V2_2/components/soc/src/esp32/include/hal/pcnt_ll.h:48:71: error: cannot bind rvalue reference of type 'pcnt_dev_s::<unnamed struct ...
by ESPI_1
Fri Feb 28, 2020 1:32 pm
Forum: IDEs for ESP-IDF
Topic: Eclipse plugin, c++, symbol not resolved within Initialisation of nested struct
Replies: 5
Views: 11251

Re: Eclipse plugin, c++, symbol not resolved within Initialisation of nested struct

Still the same Problem when I moved the nested struct init outside the Extern "C"



typedef enum{
I2C_MODE_SLAVE = 0, /*!< I2C slave mode */
I2C_MODE_MASTER, /*!< I2C master mode */
I2C_MODE_MAX,
} i2c_mode_t;

/**
* @brief I2C initialization parameters
*/
typedef struct{
i2c_mode_t mode ...
by ESPI_1
Fri Feb 28, 2020 7:06 am
Forum: IDEs for ESP-IDF
Topic: Eclipse plugin, c++, symbol not resolved within Initialisation of nested struct
Replies: 5
Views: 11251

Re: Eclipse plugin, c++, symbol not resolved within Initialisation of nested struct

Thank for Your fast Reply

but the Problem is still there.

Can you copy the Code and test it in a .cpp file?


My STEPS
1) I Unistall the ESP-IDF Eclipse Plugin v1.0.0-beta4 in the market-place
+ Restart eclipe

2) In Eclipse-Help-InstallSoftware
I added espressif ide - https://dl.espressif.com ...
by ESPI_1
Thu Feb 27, 2020 8:16 am
Forum: IDEs for ESP-IDF
Topic: Eclipse plugin, c++, symbol not resolved within Initialisation of nested struct
Replies: 5
Views: 11251

Eclipse plugin, c++, symbol not resolved within Initialisation of nested struct

Initialisation of nested struct (Example below)
1) C: works well (placed in a C-file "main.c"),
2) C++: Fails with Problem/ Errors (placed in a CPP-file: "main.cpp" - Simply the renamed "main.c"):

using ESP-IDS Eclipse Plugin v1.0.0-beta4:
reportes Problem: "Symbol 'clk_speed' could not be ...

Go to advanced search