We have fixed an issue in the internal Bluetooth library that could cause a crash related to r_rwbtdm_isr_wrapper with 32768. Below is the updated Bluetooth library. Please follow the steps below to switch your project to use the new library:
Replace components/bt/controller/lib_esp32/esp32/libbtdm ...
Search found 7 matches
- Mon Nov 10, 2025 2:29 am
- Forum: ESP-IDF
- Topic: ESP32 task corruption when playing A2DP
- Replies: 5
- Views: 3761
- Mon Nov 10, 2025 2:25 am
- Forum: ESP-IDF
- Topic: ESP32 task corruption when playing A2DP
- Replies: 5
- Views: 3761
Re: ESP32 task corruption when playing A2DP
We have fixed an issue in the internal Bluetooth library that could cause a crash related to `r_rwbtdm_isr_wrapper with 32768`. Below is the updated Bluetooth library. Please follow the steps to switch your project to use the new library:
1. Replace `components/bt/controller/lib_esp32/esp32/libbtdm ...
1. Replace `components/bt/controller/lib_esp32/esp32/libbtdm ...
- Wed Oct 29, 2025 9:48 am
- Forum: ESP-IDF
- Topic: ESP32 task corruption when playing A2DP
- Replies: 5
- Views: 3761
Re: ESP32 task corruption when playing A2DP
The crash that occurred in `r_rwbtdm_isr_wrapper` is a Bluetooth hardware error. Specifically, the number of `1`’s in the AFH channel map written by software does not match the value of `nb_good_chan` also written by software. By examining the ESP32 Bluetooth library, we found there might be a ...
- Thu Sep 01, 2022 8:20 am
- Forum: ESP-IDF
- Topic: Bluetooth HFP AG over HCI, outgoing SCO link drops data
- Replies: 8
- Views: 5267
Re: Bluetooth HFP AG over HCI, outgoing SCO link drops data
I will try some testing with this sniff change. However, I think this sniff mode bug is a separate issue from the original SCO link problem... is that correct?
Regarding SCO link quality and retries:
This is a known issue which caused by that our hardware is not able to receive retransmitted ...
- Tue Aug 23, 2022 2:42 am
- Forum: ESP-IDF
- Topic: Bluetooth HFP AG over HCI, outgoing SCO link drops data
- Replies: 8
- Views: 5267
Re: Bluetooth HFP AG over HCI, outgoing SCO link drops data
You can change to and test again. Please provide feedback on your test results, thank you very much!
Code: Select all
#define BTA_DM_PM_SNIFF3_MAX 150Code: Select all
#define BTA_DM_PM_SNIFF3_MAX 180- Fri Aug 19, 2022 2:40 am
- Forum: ESP-IDF
- Topic: Bluetooth HFP AG over HCI, outgoing SCO link drops data
- Replies: 8
- Views: 5267
Re: Bluetooth HFP AG over HCI, outgoing SCO link drops data
Thanks for the note on hardware limitation esp-jc. A few follow-up questions:
Is there a workaround to the HW limitation that can improve audio quality?
Will there be a future update to the BT controller lib that will help?
I have some additional observations from testing that may be useful ...
- Tue Jun 14, 2022 6:27 am
- Forum: ESP-IDF
- Topic: Bluetooth HFP AG over HCI, outgoing SCO link drops data
- Replies: 8
- Views: 5267
Re: Bluetooth HFP AG over HCI, outgoing SCO link drops data
BT_APPL: bta_ag_sco_read_cback: status(2)
This is a known issue which caused by that our hardware is not able to receive retransmitted sco packets from the peer device.
This is a known issue which caused by that our hardware is not able to receive retransmitted sco packets from the peer device.