Search found 14 matches

by adherent
Sat Feb 09, 2019 11:17 am
Forum: General Discussion
Topic: for A2DP Source, how to "override" the current audio playing by using a new audio?
Replies: 0
Views: 243

for A2DP Source, how to "override" the current audio playing by using a new audio?

suppose A2DP source is playing one audio, i.e. A2DP is now in started state. Now I want to stop the current playing and play another audio immediately. Should I first stop A2DP current playing, move it to idle state, then do the whole start procedure again. Or I can directly send ESP_A2D_MEDIA_CTRL_...
by adherent
Tue Jul 17, 2018 6:53 pm
Forum: General Discussion
Topic: Failed to allocate memory using malloc in BT Stack
Replies: 3
Views: 856

Re: Failed to allocate memory using malloc in BT Stack

Thanks for the quick and detailed reply. I will follow the steps and check.
by adherent
Sun Jul 15, 2018 9:29 pm
Forum: General Discussion
Topic: Failed to allocate memory using malloc in BT Stack
Replies: 3
Views: 856

Failed to allocate memory using malloc in BT Stack

I am using A2DP source to send audio to headset. From the log from BT Stack I can see there is this error from time to time printed out: BT: ERROR btc_media_aa_prep_sbc_2_send no buffer TxCnt 3 I digged into BT stack and found out the code is like this: while (nb_frame) { if (NULL == (p_buf = osi_ma...
by adherent
Sat May 12, 2018 9:37 pm
Forum: General Discussion
Topic: How to disable bluetooth A2DP sink's auto reconnect?
Replies: 0
Views: 421

How to disable bluetooth A2DP sink's auto reconnect?

I use ESP32 as A2DP SRC, after I press button 1 , it will do the discovery, find one A2DP sink and create the connection. If I press button 2 , it will first disconnect the previous connection and try to connect 2nd A2DP sink. In this way I can choose a certain Sink to send certain audio. The implem...
by adherent
Wed May 09, 2018 8:56 pm
Forum: General Discussion
Topic: Can I use ESP32 as bluetooth A2DP SRC, and connect to multiple Sinks?
Replies: 0
Views: 411

Can I use ESP32 as bluetooth A2DP SRC, and connect to multiple Sinks?

I would like ESP32 used as bluetooth A2DP SRC, and let it connected with multiple sinks. Can I create multiple connections at the same time with different audio devices? I don't need to broadcast to all devices at the same time, but rather select one device to receive audio, then switch to another d...
by adherent
Mon Apr 09, 2018 7:26 am
Forum: General Discussion
Topic: Any timeline for IDF release 3.0
Replies: 2
Views: 694

Re: Any timeline for IDF release 3.0

Thanks for the update, I will do as you suggested.
by adherent
Sun Apr 08, 2018 8:18 pm
Forum: General Discussion
Topic: Any timeline for IDF release 3.0
Replies: 2
Views: 694

Any timeline for IDF release 3.0

I am aware that ESP-IDF Pre-release 3.0-rc1 (https://github.com/espressif/esp-idf/releases) has been intensively updated everyday. Is there any timeline to release version 3.0 officially? I need one feature in this release and thinking if I should wait or just take the current release version. But m...
by adherent
Mon Apr 02, 2018 8:08 pm
Forum: General Discussion
Topic: read ADC result will trigger other GPIO Pin's interrupt
Replies: 2
Views: 765

Re: read ADC result will trigger other GPIO Pin's interrupt

krzychb wrote:Hi adherent,
adherent wrote:Any idea or hint will be highly appreciated!
Ref: https://github.com/espressif/esp-idf/issues/1096
Thank a lot for the hint.
by adherent
Mon Apr 02, 2018 7:08 pm
Forum: General Discussion
Topic: read ADC result will trigger other GPIO Pin's interrupt
Replies: 2
Views: 765

read ADC result will trigger other GPIO Pin's interrupt

Hi all, I encountered a very weird issue. I am using esp wrover as development kit. I registered ISR for 4 GPIO pins to respond to falling and rising edge, simplified code as following: //install gpio isr service gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT); //hook isr handler for specific gpio p...
by adherent
Fri Jan 19, 2018 9:53 am
Forum: General Discussion
Topic: interrupt still triggered after interrupt service has been disabled
Replies: 8
Views: 2012

Re: interrupt still triggered after interrupt service has been disabled

Solved, after reading this post: https://esp32.com/viewtopic.php?f=2&t=1836

The problem here is during the time while one GPIO's interrupt is disabled, the newly generated interrupts are somehow "registered" internally, and as soon as the interrupt is enabled again ISR will be called.

Go to advanced search