Commit Graph
100 Commits
Author SHA1 Message Date
chenjianhua 7c51dbc350 feat(ble/bluedroid): Add an API to resolve RPA 2026-02-09 00:05:10 +08:00
chenjianhua 2ccf312373 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(1bb2f50)
- Support fixed log id for log compression
- Support parsing log with synced timestamp
2025-12-31 14:09:35 +08:00
chenjianhua b85771d577 feat(bt/bluedroid): Support get allocated heap size 2025-12-19 12:15:34 +08:00
chenjianhua 22641241fa fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5106725)
- Fixed BLE assert lld_con.c 1479
2025-12-17 11:01:34 +08:00
chenjianhua 1e89ab704e feat(ble/nimble): support runtime allocation for mempool 2025-11-17 15:26:35 +08:00
chenjianhua 9df842f2c3 fix(bt/bluedroid): Fixed memory debug error 2025-11-10 16:59:16 +08:00
chenjianhua 1aeb965607 feat(ble/bluedroid): Add more debug log for bluedroid 2025-11-10 16:59:16 +08:00
chenjianhua b870a8fb5a feat(ble): Enable get bt ts for ESP32-C3 and ESP32-S3 2025-11-03 17:46:21 +08:00
chenjianhua 03758ba550 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(0871069)
- Added more log for BLE
- Support BLE log filter and simeple output
- Support BLE log compression
2025-11-03 17:46:21 +08:00
chenjianhua b936d0075c fix(ble/bluedroid): Fixed GATT response timeout setting 2025-10-27 17:34:52 +08:00
chenjianhua 25adf4c934 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(18b5cbe)
- Fixed GPIO matrix function calls
2025-10-11 19:38:41 +08:00
chenjianhua fd4bb69357 feat(ble/bluedroid): Added API to set channel map for scanning 2025-09-23 00:05:48 +08:00
chenjianhua 4ae438cca2 fix(ble/bluedroid): Fixed the status setting in the HCI event 2025-08-18 14:40:36 +08:00
chenjianhua b8996f3953 feat(ble/bluedroid): Added BLE multiple connections examples 2025-08-12 12:20:34 +08:00
chenjianhua f0cfb6e33c feat(ble/bluedroid): Support multi-connection optimization vendor hci command 2025-08-12 12:14:51 +08:00
chenjianhua 437aba1653 fix(ble/bluedroid): Fixed the connection count limit in multi-connection 2025-08-12 11:02:38 +08:00
chenjianhua ea8bcdc360 feat(bt/blufi): Support Blufi start advertising with specified name 2025-07-29 21:04:39 +08:00
chenjianhua f20c6a2813 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-22 16:14:27 +08:00
chenjianhua ad71a2cd33 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2edb0b0)
- Fixed TX issue when the event is aborted
- Fixed BLE assert llc_llcp.c 487
- Fixed BLE assert sch_prog.c 304
- Fixed anonymous extended adv reporting
- Support vendor HCI related params reset
2025-07-01 16:18:09 +08:00
chenjianhua 6392180813 fix(ble/bluedroid): Fixed extended adv restart failure during reconnection 2025-06-10 15:06:03 +08:00
chenjianhua 71e15a1085 feat(ble/bluedroid): Add config for BLE vendor hci command and event 2025-06-10 10:54:18 +08:00
chenjianhua 0fe1586a55 feat(ble/bluedroid): Support BLE vendor event reporting with params 2025-06-09 20:26:18 +08:00
chenjianhua 913645d239 feat(ble/bluedroid): Support anonymous address type for white list 2025-06-09 19:41:54 +08:00
chenjianhua f0d5227735 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(edf923e)
- Fixed ble lib linkage issue
2025-04-28 13:25:10 +08:00
chenjianhua 0df0b53b0a fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(edf923e)
- Fixed MIC error disconnection when pairing with iOS devices
2025-04-23 17:34:19 +08:00
chenjianhua 4602665e5d fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a684dd5)
- Fixed clear legacy adv error when adv not exist
- Disable anonymous extended adv reporting
- Fixed BLE assert lld_adv.c 2992
- Fixed heap assert due to adv data buffer double freeing
- Fixed BLE 0x08 disconnect when the win size is greater than half of the conn interval
2025-04-03 18:11:18 +08:00
chenjianhua 8742bbe553 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(566c8e3)
- Support BLE vendor hci set RX sensitivity and AGC gain command
2025-03-31 11:23:54 +08:00
chenjianhua d5664c20ad fix(bt): Update bt lib for ESP32(dc1cd581)
- Remove unused functions in the controller
- Add an SDK config for the minimum size of encryption key
2025-03-25 15:07:31 +08:00
chenjianhua 106ded1e8a fix(bt): Update bt lib for ESP32(e250cf1)
- Disable debug vendor hci command
2025-03-09 18:20:14 +08:00
chenjianhua d672f909f3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b34b7d6)
- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command
2025-02-27 20:52:05 +08:00
chenjianhua d4c15e2cb6 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(723439d)
- Added BLE controller debug log trace
- Added BLE controller log module
2025-02-25 15:18:58 +08:00
chenjianhua 5fb8cc06ab fix(bt/bluedroid): Fixed BLE connection active count getting 2025-02-20 19:42:40 +08:00
chenjianhua 1003ced6e9 feat(bt/bluedroid): Support BLE vendor hci event reporting 2025-02-18 11:32:33 +08:00
chenjianhua fd4094e502 feat(bt/bluedroid): Support BLE setting vendor event mask 2025-02-18 11:32:21 +08:00
chenjianhua 326f391f9c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(fd62b31)
- Fixed periodic adv enable params checking
- Fixed BLE assert lld_scan.c 1728 when receiving directed adv
- Support resolving RPA to identity address when creating connection
- Fixed BLE assert rwble.c 505 param 00400010
- Fixed peer address type error in HCI LE meta event
- Fixed setting random address failed when extended adv is enabled
2025-01-03 16:52:42 +08:00
chenjianhua ad3554fbed 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:36:29 +08:00
Chen Jian Hua dbbf154551 refactor(bt/bluedroid): Optimize BLE GATT related APIs reference 2024-12-23 14:34:33 +08:00
chenjianhua 23455ea9c2 fix(bt/bluedroid): Fixed failure to get host status when host is not enabled 2024-12-11 14:39:56 +08:00
chenjianhua 6d1160b2e6 feat(bt/bluedroid): Added config for saving BLE bonding keys to NVS 2024-12-11 14:38:59 +08:00
chenjianhua 602b3e59f6 fix(bt/bluedroid): Fixed connection params copying when creating LE connection 2024-12-03 15:06:06 +08:00
chenjianhua 2d96d67b7a fix(bt/controller): Fixed hci uart example compile error on ESP32C3 2024-11-27 16:58:53 +08:00
chenjianhua e5789a8ca1 feat(ble/bluedroid): Support setting connection params when creating connection 2024-11-26 12:10:27 +08:00
chenjianhua cada39c3b5 fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists
2024-11-19 17:39:00 +08:00
chenjianhua ef4679d8c4 fix(bt/bluedroid): Fixed LE channel selection algorithm event reporting 2024-11-12 19:34:37 +08:00
Chen Jian Hua cd21bdeb15 Merge branch 'bugfix/fix_mem_debug_on_bluedroid' into 'master'
fix(bt/bluedroid): Fixed error when memory debug enabled

Closes BLERP-1158

See merge request espressif/esp-idf!34351
2024-10-29 15:40:33 +08:00
chenjianhua 2b28133ace 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:45:29 +08:00
chenjianhua 0abdd20240 fix(bt/bluedroid): Fixed error when memory debug enabled 2024-10-22 11:49:58 +08:00
chenjianhua 17fe964c1b fix(bt/bluedroid): Fixed GATTC app status check when BT and BLE coexist 2024-10-20 17:20:38 +08:00
chenjianhua 1e3220b0b0 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(52ee788)
- Fixed BLE vendor HCI set and get tx power
- Support BLE vendor HCI set adv aux offset command
- Support BLE vendor HCI set CSA support command
- Added config for BLE instant passed workaround
- Fixed btdm_sleep_clock_sync timeout workaround
2024-10-20 16:33:27 +08:00
chenjianhua 4ae7b4aecf feat(bt/bluedroid): Added API to set supported channel selection algorithm 2024-10-17 16:56:48 +08:00
chenjianhua 020f7a6297 fix(bt/controller): Fixed BLE functions overriding on ESP32-C3 ECO7 2024-10-15 12:11:13 +08:00
chenjianhua d53572ab10 fix(bt/bluedroid): Update address type for BLE link when the connection is completed 2024-10-15 11:10:17 +08:00
chenjianhua 4108a5cc4c fix(bt/controller): Fixed ble get tx power error 2024-09-26 10:49:06 +08:00
chenjianhua 873708579c fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC 2024-09-26 10:49:06 +08:00
chenjianhua 7ea2779b6d test(bt/bluedroid): Support to disable BLE address resolution 2024-09-21 10:33:37 +08:00
chenjianhua 5bc3609965 fix(bt/bluedroid): correct the readme links for BLE periodic examples 2024-09-19 16:13:13 +08:00
chenjianhua 241b90f3f0 fix(bt): Update bt lib for ESP32(3bf7ef0)
- Fixed BLE scanning and initiating coexist
2024-09-14 15:24:52 +08:00
chenjianhua 53a8345e60 refactor(bt/bluedroid): Refactor the print for BLE examples 2024-09-12 19:30:45 +08:00
chenjianhua e4e23087ee fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails 2024-09-11 10:26:45 +08:00
chenjianhua e4a372ab76 feat(bt/bluedroid): Add BLE connection id param for ESP_GATTS_RESPONSE_EVT 2024-09-11 10:26:45 +08:00
chenjianhua fe43c8f1b5 fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3 2024-09-09 11:25:10 +08:00
chenjianhua 83ea37bcfc feat(bt): Update esp32 bt-lib(bc393dd)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Support BLE scanning and initiating coexist
2024-09-04 16:45:26 +08:00
chenjianhua 832e728ac3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(8ce789b)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Fixed BLE util buffer free after controller reset
- Fixed assert when connection already exist and be connected again
2024-09-02 20:08:31 +08:00
chenjianhua a56d18383b refactor(bt/bluedroid): Refactor the print for gatt_server and gatt_client example 2024-08-28 14:51:12 +08:00
chenjianhua ec0277d833 fix(bt/bluedroid): Fixed work queue delete when create thread failed 2024-08-23 16:31:12 +08:00
chenjianhua ee0bd91364 fix(bt): Update bt lib for ESP32(241c96c)
- Fixed BLE vendor HCI get controller status command
2024-08-14 15:29:11 +08:00
chenjianhua 800f360cc3 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-05 16:18:41 +08:00
chenjianhua 1ba831b0e2 feat(bt/bluedroid): Report HCI error code to app when command fails 2024-07-29 15:23:14 +08:00
chenjianhua 6962bca5fa fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist 2024-07-23 20:31:43 +08:00
chenjianhua 6c2fc9da53 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
- Support enhanced BLE TX power setting and getting
2024-07-23 16:22:26 +08:00
chenjianhua 97057eeaf2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(66b5cc0)
- Fixed vendor hci get controller status command
- Prevent BLE interrupt from being preempted
2024-06-25 17:00:50 +08:00
chenjianhua 5aae8dc53c feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-18 20:11:39 +08:00
chenjianhua f4edc80019 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(0738a61)
- Fixed BT BB interrupt allocation
- Refactor the prefix of assert print
- Fixed HCI LE set privacy mode command handle
2024-06-03 11:15:56 +08:00
chenjianhua 7e975ee805 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-05-23 17:26:07 +08:00
chenjianhua f573cd09ab feat(bt/bluedroid): support BLE set privacy mode 2024-05-21 19:53:43 +08:00
chenjianhua 2c93450d59 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-05-14 14:41:39 +08:00
chenjianhua 22cdf8db16 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a771b7c)
- Fixed assert when starting advertising due to preemption
- Fixed RPA generation after each reboot
- Fixed RPA renew timer start and stop
2024-04-23 11:30:02 +08:00
chenjianhua 765af1aba4 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-04-10 14:24:07 +08:00
chenjianhua 10735b7ea5 feat(bt): Update bt lib for ESP32(e314148)
- Support QA test vendor HCI command and event
2024-04-10 14:23:00 +08:00
chenjianhua ae95ad5958 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-03 17:56:21 +08:00
Chen Jian Hua 9c075b9ab0 Merge branch 'bugfix/fix_idfci_1944' into 'master'
Fixed HCI command status event sending for disconnect command on ESP32

Closes BLERP-595 and BLERP-596

See merge request espressif/esp-idf!29373
2024-03-07 10:41:07 +08:00
Chen Jian Hua d76ac4527d Merge branch 'bugfix/fix_fcs_1385' into 'master'
fix(bt/bluedroid): Fixed crash when calculating GATTS database hash

See merge request espressif/esp-idf!28788
2024-03-07 10:40:32 +08:00
chenjianhua 66df2b9dd5 fix(bt): Update bt lib for ESP32(5ea2fca)
- Fixed HCI command status event sending for disconnect command
- Fixed LE transmitter test command param check
2024-03-04 21:19:33 +08:00
chenjianhua 2e122313c2 feat(bt/bluedroid): Add ext adv and privacy status check 2024-03-01 11:07:37 +08:00
chenjianhua 7df536d325 fix(bt): Update bt lib for ESP32(2de69f3)
- Fixed HCI command status event send when LLCP busy
2024-02-28 12:09:03 +08:00
chenjianhua a3f5382eaa feat(bt/bluedroid): Support get status of bluedroid host 2024-02-02 17:29:11 +08:00
chenjianhua 20acc39eb2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-01-31 19:39:04 +08:00
chenjianhua b99cb002ed fix(bt/bluedroid): Fixed crash when calculating GATTS database hash 2024-01-31 10:08:16 +08:00
chenjianhua bc98ff414f feat(bt/bluedroid): Make the max number of bond device to be configurable 2023-12-19 11:38:01 +08:00
chenjianhua 7c56f21981 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 13:37:09 +08:00
chenjianhua 5c2c0884fe fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3 2023-12-06 15:37:04 +08:00
chenjianhua 74f99d2679 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-04 17:03:38 +08:00
chenjianhua daae89357c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-01 21:12:43 +08:00
chenjianhua 9c40585b23 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-01 21:01:53 +08:00
chenjianhua 51607c87d6 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-01 21:01:53 +08:00
chenjianhua 7a07d51859 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
- Fixed power state setting when entering modem sleep
2023-11-15 16:46:10 +08:00
chenjianhua 448d168dfd update esp32 bt-lib (6458728)
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-01 19:25:01 +08:00
chenjianhua ada56ca062 Update bt lib for ESP32-C3 and ESP32-S3(f817304)
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-10-26 19:43:02 +08:00
chenjianhua 7a1db4befb feat(bt/bluedroid): support clear legacy advertising 2023-10-26 19:14:54 +08:00
chenjianhua 42b85dffb1 Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-09-26 16:10:21 +08:00