Island
2fa1213528
Merge branch 'backport_v4.4' into 'release/v4.4'
...
Fix some BLE bugs in bluedroid host(backport 4.4)
See merge request espressif/esp-idf!26167
2023-10-17 09:31:28 +08:00
zhanghaipeng
79d7f33ff6
fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE
2023-10-16 19:33:03 +08:00
baohongde
597d13f2d9
feat(bt/hci): Added Vendor-Specific HCI command to disable DM1 for ACL-U
2023-10-13 14:23:57 +08:00
baohongde
182c1f9c91
fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40
2023-10-13 14:23:56 +08:00
shangke
8dde99b024
fix(bt/controller): Fixed some HCI commands parameter
...
1: add param check for HCI_Recevie_Synchronization_Train.
2: add param check for HCI_Set_Connectionless_Peripheral_Broadcast.
3: fix slave cannot take a secure authentication.
2023-10-09 02:28:44 +00:00
chenjianhua
59825e3c9c
update esp32 bt-lib (7b24543)
...
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-09-05 20:29:03 +08:00
chenjianhua
377501aaad
Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
...
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-09-05 20:29:03 +08:00
chenjianhua
2792f318c3
Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
...
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-09-05 20:29:03 +08:00
xiongweichao
c372c48439
fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
...
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-08-04 11:07:41 +08:00
Jiang Jiang Jian
922af41ba0
Merge branch 'backport_v4.4' into 'release/v4.4'
...
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v4.4)
See merge request espressif/esp-idf!24778
2023-07-18 10:47:53 +08:00
wangmengyang
1e1c46b2f7
bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally
2023-07-17 06:17:18 +00:00
zhanghaipeng
05faa8f213
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
...
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:42:06 +08:00
xiongweichao
2685472da0
bt: Fixed some bluetooth bugs
...
1. Fixed LC_AFH_UPDATE_IND has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-07-11 07:23:45 +00:00
chenjianhua
ac27406dcb
Update bt-lib for esp32
...
- Fixed memory leak when setting adv data
2023-07-11 07:23:45 +00:00
chenjianhua
b8e4f091f6
Update bt-lib for esp32
...
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-16 17:21:33 +08:00
zhiweijian
6d59258519
Fixed BLE disconnection failure on ESP32
2023-06-16 16:26:52 +08:00
zwj
1728b49d7f
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-06-16 16:26:44 +08:00
Jiang Jiang Jian
7053e483ea
Merge branch 'feature/add_bluetooth_nimble_lightsleep_example_v4.4' into 'release/v4.4'
...
bt: Added an example of Bluetooth using light sleep(v4.4)
See merge request espressif/esp-idf!23694
2023-06-09 19:20:31 +08:00
chenjianhua
3c606bf79c
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-07 11:19:38 +08:00
xiongweichao
0ba101dfac
ble: Fixed bluetooth can only use main XTAL as low power clock source due to configuration on ESP32S3
2023-05-30 20:27:06 +08:00
chenjianhua
31166e0884
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-25 10:46:12 +00:00
chenjianhua
1ddc3a1d5c
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-05-25 10:46:12 +00:00
zwj
509fedeed0
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-05-25 10:46:12 +00:00
chenjianhua
bd77f3d436
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-05-25 10:46:12 +00:00
zwj
b69ec22cb9
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-14 12:10:38 +08:00
wangmengyang
7a7090a46a
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-04-13 10:24:01 +08:00
xiongweichao
f9bfdd0b1e
bt:Fixed esp32 controller bug
...
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval
Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-12 09:15:49 +08:00
zwj
0ab020fef0
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
2023-03-30 17:07:19 +08:00
zhiweijian
e7fd58d77a
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-03-30 16:14:18 +08:00
zwj
b475798ad6
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-30 16:10:42 +08:00
zwj
50163578bf
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-30 15:54:37 +08:00
chenjianhua
293c4d9f71
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-02-14 11:11:36 +08:00
Jiang Jiang Jian
a60b89bb49
Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v4.4' into 'release/v4.4'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs(backport v4.4)
See merge request espressif/esp-idf!22095
2023-02-03 13:50:53 +08:00
wangmengyang
86b2779adc
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3 and ESP32-S3
2023-01-20 10:53:52 +08:00
zwj
046a5b145d
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-20 11:40:34 +08:00
zwj
4cb0e30b08
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-20 11:39:35 +08:00
chenjianhua
41c643909e
update bt lib for ESP32-C3 and ESP32-S3
...
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-20 11:38:22 +08:00
zwj
c32c9d8833
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-20 11:36:58 +08:00
chenjianhua
bdfc1426ac
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-20 11:34:43 +08:00
zwj
13493a6137
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-20 11:29:33 +08:00
Jiang Jiang Jian
694bc6bf47
Merge branch 'feature/backport_blufi_coexist_phy_init_flag_v4.4' into 'release/v4.4'
...
esp_wifi: backport coexist fix, connectionless ps fix, blufi feature
See merge request espressif/esp-idf!21411
2022-12-05 15:04:43 +08:00
Wang Meng Yang
6672ec0692
Merge branch 'feature/support_ble_max_conn_num_to_9_v4.4' into 'release/v4.4'
...
Support bluedroid host maximum number of connections to 9 (backport v4.4)
See merge request espressif/esp-idf!21399
2022-12-05 12:16:55 +08:00
liuning
b6800c3e01
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-02 19:54:58 +08:00
zwj
417dff3a1e
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-12-02 12:01:04 +08:00
zhiweijian
2902766706
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-12-01 19:43:55 +08:00
zwj
8e50c5acb2
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 10:46:30 +08:00
zwj
b6f3bfaa13
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-17 03:46:02 +00:00
zwj
485f3a4ce1
change default tx power from 3dBm to 9dBm
2022-11-17 03:46:02 +00:00
wangmengyang
b2c7f7689c
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth on ESP32
2022-11-09 19:32:01 +08:00
zwj
94c74bd866
Fixed BLE lld_per_adv.c line 401 assert
2022-10-24 19:27:56 +08:00