Commit Graph

6162 Commits

Author SHA1 Message Date
hejiaxin
f772cd6d38 fix(bt_hfp): Fix macro definition 2026-09-03 17:30:32 +08:00
Wang Meng Yang
7f1b8d002e Merge branch 'feature/hfp_lc3' into 'master'
Feature/hfp lc3

See merge request espressif/esp-idf!50037
2026-09-03 14:44:47 +08:00
Rahul Tank
c71e574ebf Merge branch 'bugfix/fix_stale_conn_cccd' into 'master'
fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool

Closes BLERP-3057, BLERP-3060, BLERP-3061, and BLERP-3062

See merge request espressif/esp-idf!51868
2026-09-03 12:01:32 +05:30
hejiaxin
25ca329650 fix(bt_hfp): Fix the solution of unknown AT command 2026-09-03 11:04:05 +08:00
hejiaxin
9f6cf1ac3c feat(bluedroid): Update LC3-SWB support in bluedroid
- Update LC3 in btc and bta, update AT
- Update LC3 in SCO frame transfer and examples
- improve lc3 transfer speed
- Fix some encoding and decoding bugs
- Rename the functions and macros to fit both msbc and lc3
- Add config dependency
- Add migration guides for bluetooth-classic
- change the statement of "Wide Band Speech" to "Wideband Speech" to fit HFPv1.10
2026-09-03 11:02:50 +08:00
Jiang Jiang Jian
b91a486cc1 Merge branch 'bugfix/delete_unused_avrcp_rcb' into 'master'
fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails

Closes IDFGH-18197

See merge request espressif/esp-idf!52226
2026-09-03 11:02:05 +08:00
Island
dd14ea0742 Merge branch 'bugfix/fixed_acl_timeout_issue' into 'master'
Bugfix/fixed acl timeout issue

Closes BTQABR2023-900

See merge request espressif/esp-idf!52255
2026-09-02 21:07:44 +08:00
Rahul Tank
657f80181b fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool 2026-09-02 17:46:54 +05:30
Island
c493c2a725 Merge branch 'feat/support_ble_esl_nimble' into 'master'
Feat/support ble esl nimble

See merge request espressif/esp-idf!51029
2026-09-02 19:51:35 +08:00
Island
26c58e6c46 Merge branch 'idf/ble_audio_cap_handover' into 'master'
feat(ble_audio): Add CAP Handover (U2B & B2U) example

See merge request espressif/esp-idf!52061
2026-09-02 19:35:13 +08:00
Wang Meng Yang
eb90cd94b8 Merge branch 'bugfix/fix_osi_event_bug' into 'master'
Bugfix/fix osi event bug

See merge request espressif/esp-idf!51916
2026-09-02 17:47:06 +08:00
Liu Linyan
bcc2981f25 feat(ble_audio): Add CAP Handover (U2B & B2U) example 2026-09-02 15:00:16 +08:00
Island
08a66ea273 Merge branch 'refactor/ble-log-esp-timer-rt-migration' into 'master'
refactor: BLE Log Runtime Migration

See merge request espressif/esp-idf!52002
2026-09-01 11:28:59 +08:00
chenjianhua
17d368eecc feat(ble/nimble): support ble esl profile 2026-09-01 10:49:16 +08:00
ShenWeilong
a41d5e35cb fix(ble): Fixed occasional supervision timeout and mic error for esp32s31 2026-08-31 19:46:08 +08:00
liqigan
940b71eb45 fix(bt/controller): Fixed event mask not set to default value after hci reset 2026-08-31 19:30:16 +08:00
ShenWeilong
40706bf28f fix(ble): Check if there are illegal library files in controller lib path 2026-08-28 19:20:18 +08:00
Matteo Sandrin
35cf3fa42b fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails 2026-08-28 05:24:44 -04:00
Wang Meng Yang
1b937bd648 Merge branch 'bugfix/a2dp_aac_br' into 'master'
fix(bt): Fix some bugs of A2DP AAC

Closes BTQABR2023-876, BTQABR2023-877, BTQABR2023-878, and BTQABR2023-879

See merge request espressif/esp-idf!51819
2026-08-28 15:26:50 +08:00
Wang Meng Yang
63076cf266 Merge branch 'fix/bt_memory' into 'master'
fix(bt_memory): Reduce memory usage in transfer

See merge request espressif/esp-idf!51396
2026-08-28 14:52:59 +08:00
Wang Meng Yang
2608853f3f Merge branch 'bugfix/assert_8486' into 'master'
fix(bt/controller): update libbtdm_common_app.a to f60e5b29

Closes BTQABR2023-884

See merge request espressif/esp-idf!52135
2026-08-28 14:46:34 +08:00
Island
74512f74a4 Merge branch 'feat/adapt_uhci_code_260824' into 'master'
refactor(hci): switch HCI UART DMA transport to UHCI driver APIs

Closes BLERP-2978

See merge request espressif/esp-idf!51986
2026-08-28 11:02:23 +08:00
Zhou Xiao
327016d1a3 test(ble_log): add dedicated runtime dispatch test app
Extend the test peripheral with receipt timestamps and an auto-recycle
hook so runtime tests can observe handoff latency and sustain arrivals from
dispatch completion.

Add a standalone Unity app covering fixed first-submission deadlines,
callback-entry batch drain, shared ESP timer task fairness, periodic
timestamp light-sleep behavior, synchronous flush, dispatch latency,
deinit races, bounded inflight peaks, and timeout conversion at both
supported tick rates. Verify FIFO delivery and reject delayed-consumer and
extra-marker false positives.

Render BLE_LOG_RT_PERF lines in the performance log parser and
cross-reference the runtime and performance apps from their READMEs.
2026-08-27 16:16:38 +08:00
Zhou Xiao
620a3c90a9 refactor(ble_log): move runtime dispatch to esp_timer
Replace the dedicated BLE Log FreeRTOS task with a deferred esp_timer
batch dispatch. The first submission anchors a one-shot 1 ms deadline;
the callback drains the queue depth captured at entry and schedules the
next fixed defer only for arrivals left behind. Later submissions cannot
move the current deadline, and no fixed batch-size cap limits throughput.

Protect queue and timer lifetime with runtime references. Drain queued
submissions before ble_log_lbm_flush_all_trans waits for transport
ownership to return, so synchronous flush does not depend on the deferred
alarm firing.

Keep the defer alarm as a light-sleep wake source and select
ESP_TIMER_IN_IRAM. Timestamp synchronization uses the shared ESP timer task
with skipped unhandled events, so it neither wakes light sleep nor replays
missed periods. Retain legacy task and trigger symbols as hidden no-op
sdkconfig compatibility options.
2026-08-27 16:16:38 +08:00
yangfeng
5a8e9347a5 fix(bt): Build the optimal config when registering A2DP SEP 2026-08-27 15:58:39 +08:00
Jin Cheng
2e9769d270 fix(bt/controller): update libbtdm_common_app.a to f60e5b29
- fixed BT ASSERT ID 8486
- relates to BTQABR2023-884
2026-08-27 15:51:59 +08:00
yangfeng
d1d1f91b12 fix(bt): Add invalid codec capability verification when registering SEP 2026-08-27 15:44:58 +08:00
yangfeng
998bd59e3f feat: Add default SBC SEP in A2DP init 2026-08-27 15:44:58 +08:00
yangfeng
ba8b1091a5 fix(bt): Fix the processing of bit rate being 0 in A2DP AAC 2026-08-27 15:44:58 +08:00
hejiaxin
12fe70031f fix(bt_avrcp): size some AVRC command buffers 2026-08-27 15:14:53 +08:00
hejiaxin
59eee88105 fix(bt_l2cap): size L2CAP ERTM S-frame & RX SDU buffer 2026-08-27 15:13:58 +08:00
hejiaxin
8a0156c4ed fix(bt_sdp): size SDP TX buffers 2026-08-27 15:11:44 +08:00
hejiaxin
53200e1ec4 fix(bt_rfcomm): size RFCOMM TX buffers by peer MTU 2026-08-27 15:10:28 +08:00
hejiaxin
b58556b338 fix(bt_hid): size HID TX buffers to report length 2026-08-27 15:10:05 +08:00
Wang Meng Yang
13e18a6a43 Merge branch 'bugfix/fixed_ble_deinit_crash_issue' into 'master'
Bugfix/fixed ble deinit crash issue

Closes BLECRT-623, BLECRT-624, and BT-4481

See merge request espressif/esp-idf!52103
2026-08-27 14:12:41 +08:00
Island
e2930d30c8 Merge branch 'bugfix/fix_bluedroid_find_info_format_mismatch' into 'master'
fix(ble/bluedroid): restore find info PDU stop on UUID format mismatch

See merge request espressif/esp-idf!52063
2026-08-26 22:00:25 +08:00
ShenWeilong
0ed6004586 fix(bt): fixed mempool deinit crash issue for esp32s31 2026-08-26 21:48:02 +08:00
Island
61aefd09ae Merge branch 'feat/ble_smp_repairing_hardening' into 'master'
feat(ble/bluedroid): add Kconfig options for BLE re-pairing hardening

See merge request espressif/esp-idf!51221
2026-08-26 15:07:45 +08:00
zhaoweiliang
a56a614fdf fix(ble): refactor uart dma hci transport code on ESP32-S31 2026-08-26 11:33:19 +08:00
zhaoweiliang
404e45a4f0 refactor(hci): switch HCI UART DMA transport to UHCI driver APIs 2026-08-26 11:33:19 +08:00
Island
0260f0511a Merge branch 'idf/ble_audio_dynamic_svc' into 'master'
fix(ble_audio): Fix wrong registration when multiple tbs instances exist

See merge request espressif/esp-idf!52046
2026-08-26 11:30:06 +08:00
zhanghaipeng
196cb39545 fix(ble/bluedroid): restore find info PDU stop on UUID format mismatch
Restore GATT_NO_RESOURCES when sequential attributes have differing UUID
sizes so gatts_process_find_info() stops building the response PDU.
2026-08-26 11:20:23 +08:00
Jiang Jiang Jian
1072706739 Merge branch 'bugfix/avrcp_version_compatibility' into 'master'
fix(bt): Fix the issue of AVRCP version compatibility

Closes BTQABR2023-886

See merge request espressif/esp-idf!51978
2026-08-26 10:37:22 +08:00
Liu Linyan
eb2b8bdb00 fix(ble_audio): Fix wrong registration when multiple tbs instances exist 2026-08-25 21:29:12 +08:00
Rahul Tank
3af5e71150 Merge branch 'bugfix/fix_pawr_conn_issues' into 'master'
fix(nimble): bound PAwR synced connect retries in the example

See merge request espressif/esp-idf!51941
2026-08-25 16:02:57 +05:30
Island
0db46728bc Merge branch 'idf/ble_audio_deinit' into 'master'
feat(ble_audio): Support BLE ISO & BLE Audio deinitialization

See merge request espressif/esp-idf!51616
2026-08-25 16:39:38 +08:00
liqigan
8873769d11 change(bt/bluedroid): Used dynamic osi event to reduce lock cost 2026-08-25 15:50:22 +08:00
Island
c438746e5d Merge branch 'change/ble_update_lib_20260824' into 'master'
change(ble): [AUTO_MR] 20260824 - Update ESP BLE Controller Lib

Closes BLERP-3039, BLERP-3037, BLERP-3036, BLERP-2950, and BLERP-2932

See merge request espressif/esp-idf!51996
2026-08-25 14:21:40 +08:00
Island
120d813cd9 Merge branch 'bugfix/fix_bluedroid_gatt_discover_downstream_stall' into 'master'
fix(ble/bluedroid): allow osi_event re-post during POSTING window

Closes BLERP-3044, BLERP-3042, BLERP-3043, BLERP-3051, and BLERP-3052

See merge request espressif/esp-idf!51833
2026-08-25 12:13:38 +08:00
Island
5de7d85e4e Merge branch 'feat/support_ble_ots_nimble' into 'master'
Feat/support ble ots nimble

See merge request espressif/esp-idf!51019
2026-08-25 11:19:50 +08:00