Hello All,
Is it possible to configure esp32 to act as an a2dp and SPP acceptor at the same time? If yes, are there any examples?
Thanks.
Search found 12 matches
- Tue Jan 14, 2025 5:33 pm
- Forum: ESP-IDF
- Topic: a2DP and Bluetooth serial port profile (SPP) at the same time
- Replies: 0
- Views: 309
- Tue Jun 21, 2022 4:17 pm
- Forum: ESP-IDF
- Topic: debugging a memory leak
- Replies: 3
- Views: 3313
Re: debugging a memory leak
Just to confirm, switching between timezones using calls to setenv() and then tzset() ate all available heap memory on esp32 module in about 24 hours. Getting rid of that code solved the problem for me.
- Sun Jun 19, 2022 2:56 pm
- Forum: ESP-IDF
- Topic: debugging a memory leak
- Replies: 3
- Views: 3313
Re: debugging a memory leak
I found one memory leak in setenv("TZ"...) calls when using tzset to switch between different timezones. I keep printing available heap memory, and so far I don't see any decrease in available heap.
- Sun Jun 19, 2022 12:32 pm
- Forum: ESP-IDF
- Topic: debugging a memory leak
- Replies: 3
- Views: 3313
debugging a memory leak
Folks, I am debugging a memory leak in my code, and so far has not managed to isolate the main cause. I am using standalone heap tracing mode. In addition to heap tracing, I am recording available heap memory at the start and at the end of the code block. Here is one of the examples I would like to ...
- Fri Sep 03, 2021 12:38 pm
- Forum: ESP-IDF
- Topic: MDNS service persistence
- Replies: 4
- Views: 3102
Re: MDNS service persistence
Very interesting, thanks for pointing this out.
- Fri Sep 03, 2021 2:35 am
- Forum: ESP-IDF
- Topic: MDNS service persistence
- Replies: 4
- Views: 3102
Re: MDNS service persistence
... and I found a heap memory leak. Happy to say, once I fixed it, the problem went away.
- Fri Sep 03, 2021 1:51 am
- Forum: ESP-IDF
- Topic: MDNS service persistence
- Replies: 4
- Views: 3102
Re: MDNS service persistence
Turns out MDNS is just a symptom. Wifi on esp32 is disconnecting with a message
wifi:bcn_timout,ap_probe_send_start
wifi:bcn_timout,ap_probe_send_start
- Fri Sep 03, 2021 12:30 am
- Forum: ESP-IDF
- Topic: MDNS service persistence
- Replies: 4
- Views: 3102
MDNS service persistence
I noticed that mdns record that I am publishing, disappears after some time. My code follows mdns example: mdns_init(); mdns_hostname_set(hostname); mdns_instance_name_set(instance_name); const int txt_length = 1; mdns_txt_item_t txt[txt_length] = { {"topic", "some_topic"} }; mdns_service_add(nullpt...
- Sun Jul 25, 2021 3:40 pm
- Forum: ESP-IDF
- Topic: Difference between SemaphoreHandle_t and critical section in esp-idf
- Replies: 4
- Views: 6047
Re: Difference between SemaphoreHandle_t and critical section in esp-idf
Out of curiosity, what would happen on ESP32 if I were to use intrinsics listed here:
https://gcc.gnu.org/onlinedocs/gcc/_005 ... ltins.html
and specify a memory model?
Thanks!
https://gcc.gnu.org/onlinedocs/gcc/_005 ... ltins.html
and specify a memory model?
Thanks!
- Sun Jul 25, 2021 3:19 am
- Forum: ESP-IDF
- Topic: Difference between SemaphoreHandle_t and critical section in esp-idf
- Replies: 4
- Views: 6047
Re: Difference between SemaphoreHandle_t and critical section in esp-idf
That's an awesome answer, and thank you very much for your help.