154 Commits

Author SHA1 Message Date
linruihao b4b7c54b1e fix(bt): Update esp32 libbtdm_app.a (e02a38ea)
- Correct the error code in pairing when pin code req rejected by host
2026-05-18 19:52:11 +08:00
Jin Cheng 10f4e9ad62 fix(bt): Update esp32 libbtdm_app.a (003f89d9)
- Relax the TID checks during EPR to be compatible with some RealTek
      devices
    - Fixed wrong HCI event used for eSCO connection update
    - Do not inform the host when conneciton request was automatically
      rejected
2026-04-16 20:10:47 +08:00
linruihao 6a3c709f40 fix(coex): Update esp32 libbtdm_app.a (a5d37fe3)
- fix ble scan may restart twice in coex scenarios
- fix bredr page/pscan coex request/release not match
- fix bredr incorrect inquiry length calculation
- add coex pti protection for entire page/inquiry event
2026-03-24 14:50:06 +08:00
xiongweichao 4c40f02e72 fix(bt): Update esp32 libbtdm_app.a (440e0f93)
- Put rf_rw_txpwr_cs_get into iram
2026-03-23 14:19:24 +08:00
yangfeng a7a567dfb4 feat(bt): Update esp32 libbtdm_app.a (7d9b2149) 2026-03-12 16:03:35 +08:00
Jin Cheng a348e3fbc7 fix(bt): Update esp32 libbtdm_app.a (83df0004)
- fixed remote LMP_AU_RAND is mistakely rejected
2026-02-25 11:03:06 +08:00
Jin Cheng 1359f195ed fix(bt): Update esp32 libbtdm_app.a (045a658b)
- fix(bt): fixed wrong key type was notified during changing connection
  link key
2026-01-05 17:31:21 +08:00
liqigan 05e9c75b89 fix(bt): Update esp32 libbtdm_app.a (c28b2052)
- fix(hci): Fixed not reject connection request when auto accept is off and connect request event is masked
2025-11-28 10:23:11 +08:00
zhanghaipeng 06dc466733 fix(bt): Update esp32 libbtdm_app.a (15a18b1a)
- fix(ble): Fixed BLE enable scan timeout
- fix(ble): fixed crash in "btdm_controller_task"
2025-11-24 12:14:06 +08:00
Jin Cheng a184fa951e fix(bt): Update esp32 libbtdm_app.a (f8ae2d09)
- fix(acl): Ignore the invalid channel map when disabling AFH and safely ignore the Bluetooth hardware error "CHMAP_ERROR"
- fix(acl): Fixed encryption LMP collision bug
2025-11-12 14:19:09 +08:00
gongyantao 45910ee1e5 fix(bt): Update esp32 libbtdm_app.a (89b2ff7)
- fix(acl): push new acl packet to tx queue when old data was not sent completely
2025-10-13 09:08:09 +08:00
Jin Cheng 1686b54862 fix(bt): Update esp32 libbtdm_app.a (526309a2)
- fix(sco): make sure the base ACL link exists before scheduling SCO events
- fix(ld): keep the RX descriptor index in sync with that the hardware is using
- fix(lc): make sure SCO is released before ACL
- fix(sco): recycle the RX descriptor when the ACL event does not exist
- fix(btdm): fixed the issue where modifying the btdm_pwr_state value would
  cause phy_disable to be called twice
- fix(bt): fixed peripheral was not auth peer device against when the first
  request was reject
2025-09-28 12:03:27 +08:00
Jin Cheng 0d1d45e93d fix(bt): Update esp32 libbtdm_app.a (f5c3312a)
- fixed the sniff anchor point can be mismatch from central and
  peripheral
2025-09-28 11:29:54 +08:00
liqigan f0bdec4d25 fix(bt): Update esp32 libbtdm_app.a (7bc9d6ab)
- fix(lc): Always send LMP_ENC_KEY_SIZE_MASK_REQ before changing to
temp key
 - fix(lc): Ignored received LMP_DETACH during detach process
 - fix(lc): Fixed possible accessment to NULL pointers
2025-08-19 11:56:37 +08:00
JinCheng 9e3497d02b fix(bt): Update esp32 libbtdm_app.a (f74c7b0a)
- fixed for no HCI_LINK_KEY_NOTIFICATION_EVENT on repairing of the acceptor side
    - fixed TX descriptor for page FHS after handshake failure
    - fixed wrong local state caused by EPR collision
    - fixed APB encryption key size is zero
2025-08-11 10:40:05 +08:00
zhanghaipeng facff30369 fix(bt): Update esp32 libbtdm_app.a (f1dc7d8)
- Improve ESP32 stability and security
2025-08-07 21:18:33 +08:00
zhanghaipeng 185c7205db fix(bt/ble): Update esp32 libbtdm_app.a (722c907a)
- Fixed bt hci event was not report to host when hci command was sent
2025-08-01 19:16:41 +08:00
zhanghaipeng 1d75685043 fix(bt/ble): Update esp32 libbtdm_app.a (65c26ad)
- Fixed bt hci event was not report to host when hci command was sent
2025-08-01 18:52:31 +08:00
chenjianhua b8a08a0680 fix(bt): Update bt lib for ESP32(d9a3de0)
- Support BLE vendor HCI related params reset
- Support multi conn optimization vendor hci command
- Fixed the issue where rssi of conn is incorrect when latency is no zero
- Fixed prio setting for BLE events
- Fixed disconnection issue when coexisting with other BLE events
- Fixed crash due to bandwidth full when updating conn params
2025-07-18 19:29:29 +08:00
gongyantao 37e0472ea2 fix(bt): Update esp32 libbtdm_app.a (b26f10c2)
- Fixed the incorrect unit of clk in cpb rx event
2025-07-04 14:27:57 +08:00
zhanghaipeng 8243fcc96f fix(bt/ble): Update esp32 libbtdm_app.a (3a27e2e)
- Optimize check Access Address when receive connection request PDU
2025-07-03 10:26:08 +08:00
liqigan b0ebfcf639 change(bt): Update bt lib for ESP32(bcb42447)
- Fixed bugs on LMP legacy and secure authentication collision
- Fixed build warnings
2025-06-19 20:21:58 +08:00
gongyantao 6d007b7167 change(bt): Update bt lib for ESP32(b992c7)
- disable dm1 for acl-u when aes-ccm is on in peripheral
2025-05-07 19:22:40 +08:00
linruihao 492b6043bb fix(bt): Update bt lib for ESP32(42e1f02)
- fix access external memory in interrupt
2025-04-18 15:09:28 +08:00
Jin Cheng 2ba9d8ddfa fix(bt): Update bt lib for ESP32(2471be1)
- fixed ACL is stopped by SCO too early
    - fixed dynamic priority config error in dual mode
2025-04-16 19:17:56 +08:00
gongyantao 1e9c3355dd fix(bt): Update bt lib for ESP32(884622ef)
- add check for Wi-Fi channel
- fix the incorrect unit of duration_min in cpb tx
- recalculate the channel map when afh is enabled
- fix incorrect vendor event count causing an assertion failure
2025-03-31 14:47:31 +08:00
baohongde ddb95d354f feat(coex): Support BR/EDR (e)SCO and Wi-Fi coexistence(717f483a) 2025-03-28 16:59:25 +08:00
chenjianhua 921944f336 fix(bt): Update bt lib for ESP32(dc1cd581)
- Remove unused functions in the controller
- Add an SDK configuration for the minimum size of encryption key
2025-03-21 14:20:49 +08:00
chenjianhua 78dc8fd3ac fix(bt): Update bt lib for ESP32(e250cf1)
- Disable debug vendor hci command
2025-03-09 18:19:08 +08:00
gongyantao e4ab88c714 fix(bt): Update libbtdm_app.a to 508fe493
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-05 14:45:43 +08:00
Jin Cheng fbbb054cbc fix(bt): Update libbtdm_app.a to 94054498
1. added a VSC to control whether to initiate lmp_auto_rate
    2. fixed EA resource cleanup error after SNIFF negotiation failure
    3. removed an assertion in SCO data TX handler after disconnection
2025-02-25 19:26:49 +08:00
zhanghaipeng 6093909e01 fix(ble): Update bt lib for ESP32(2a2631f)
- Support ESP32 BLE debug with GPIO
2025-02-13 15:33:19 +08:00
zhanghaipeng e847faba2d fix(ble): Update bt lib for ESP32(194dd63)
- Fix the issue where disconnection events were not reported as a slave.
- Enhance Access Address validation in compatibility mode.
2025-01-22 13:01:46 +08:00
gongyantao 89ac32e33b fix(bt): Update libbtdm_app.a to bbf8f7b0
- add afh related vendor hci command and event
- add vendor event mask command
2025-01-20 20:19:17 +08:00
linruihao b0b9cff14b feat(bt): Update bt lib for ESP32(9ea62a5)
- Add page coexist scheme status support
2025-01-08 15:10:13 +08:00
Jin Cheng 35fb599d37 fix(bt): Update bt lib for ESP32 (f7360be8)
- Added critical protection on the utils for sync buffers
2025-01-02 11:08:56 +08:00
chenjianhua daee36fdcf fix(bt): Update bt lib for ESP32(ba6739f)
- Fixed assert in lld_evt.c at line 2353
- Fixed interrupt WDT when shutdown bt controller
- Added config for BLE vendor HCI QA command
- Added config for BLE channel assessment and ping procedure
2024-12-25 11:25:56 +08:00
xiongweichao ffb8fad8e0 fix(bt): Update esp32 libbtdm_app.a (8e03057)
- Fix epr not being initiated after authentication is completed
- Fixed the issue HCI_READ_CLOCK returned parameter in slot
- Fixed the missmatching of CLKN and FCNT after clock update
2024-12-16 19:09:10 +08:00
chenqingqing e20022bf77 fix(bt): Update bt lib for ESP32(ed2f2c0)
fix error code returned by create_conn_cancel_cmd at different status
2024-11-28 20:34:56 +08:00
gongyantao b44cf428e7 fix(bt): Update bt lib for ESP32(20b459d6)
1: fix duplicated lc_enc_restart_req when new lk type is semi-permanent
   key
2: reset PreventEncEvt flag at the end of restart encryption procedure
2024-11-27 15:07:23 +08:00
Jin Cheng d198359552 fix(bt): Update bt lib for ESP32(39c7e4c2)
- Added VSC to update local Bluetooth clock
    - Added critical protection for the free method for sync buffers
    - Fixed zero attempt value set by role switch
2024-11-25 10:10:02 +08:00
chenjianhua b9cf5984dc fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists
2024-11-15 14:13:15 +08:00
Jin Cheng 4f9869a760 fix(bt): Update esp32 libbtdm_app.a (a3ed1fe1)
- Fixed wrong logic in handling sniff transaction collision at slave
      side
    - Fixed the issue ACL is stopped too early before eSCO
2024-11-08 12:42:38 +08:00
gongyantao 5c4a62c1d4 fix(bt): Update esp32 libbtdm_app.a (faadb754)
1: Store local device name into NVDS when handling hci_wr_local_name_cmd.
2: Set default device name during link manager initialization.
3: Set the QoS value to the minimum value if the calculated QoS is less
       than the minumum.
2024-10-31 14:47:46 +08:00
zhanghaipeng 171c4a7653 fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Check Access Address when receive connection request PDU
2024-10-29 17:49:40 +08:00
chenjianhua c3f6258cfb fix(bt): Update bt lib for ESP32(a2a7457)
- Fixed assert in ke_mem.c at line 409 when controller reset
- Added config for BLE instant passed workaround
- Fixed connection can't be established when initiating and advertising coexist
2024-10-23 17:36:42 +08:00
chenjianhua c75b819a39 fix(bt): Update bt lib for ESP32(a2a7457)
- Fixed assert in ke_mem.c at line 409 when controller reset
- Added config for BLE instant passed workaround
- Fixed connection can't be established when initiating and advertising coexist
2024-10-20 11:39:46 +08:00
Jin Cheng f5114d2a70 fix(bt): Update esp32 libbtdm_app.a (547886a)
- Fixed access NULL in SCO frame end
    - Added LAP checking for Periodic Inquiry
    - Removed an inproper assertion in SCO mudule
    - Fixed the wrong logic in key exchange when
      LMP transaction collision occurred
2024-09-27 16:02:45 +08:00
Jin Cheng 22a4e62193 fix(bt): Update esp32 libbtdm_app.a (547886a)
- Fixed access NULL in SCO frame end
    - Added LAP checking for Periodic Inquiry
    - Removed an inproper assertion in SCO mudule
    - Fixed the wrong logic in key exchange when
      LMP transaction collision occurred
2024-09-23 15:30:46 +08:00
chenjianhua 74b4b0ffc6 fix(bt): Update bt lib for ESP32(3bf7ef0)
- Fixed BLE scanning and initiating coexist
2024-09-14 15:23:13 +08:00