chenjianhua
da7cbbfb7f
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 11:41:24 +08:00
chenjianhua
2be8e6e086
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-16 11:41:19 +08:00
zwl
2153f59574
ble:fixed the issue that slave reports the wrong address for master when address resolution disable
2023-05-29 20:29:55 +08:00
zwl
8ce59ffe14
ble:fixed build error when disable smp
2023-05-24 20:51:41 +08:00
zwl
bc96a1b6c7
ble:esp32c2 add rf temperature compensation
2023-05-24 20:51:41 +08:00
Jiang Jiang Jian
c21a4c9858
Merge branch 'bugfix/fix_esp32_bugs_230511' into 'release/v5.0'
...
Fixed some esp32 bugs(backport v5.0)
See merge request espressif/esp-idf!23704
2023-05-15 13:40:05 +08:00
Island
21cfccad3a
Merge branch 'feature/add_interface_for_ble_QA_test_5.0' into 'release/v5.0'
...
BLE: Add interface for QA test
See merge request espressif/esp-idf!22980
2023-05-12 16:27:37 +08:00
zhiweijian
81f9fdb6e6
Fixed BLE disconnection failure on ESP32
2023-05-11 20:04:38 +08:00
zwj
6545c5aad5
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-05-11 20:04:19 +08:00
zwl
15d347f8c0
ble: Add assertion checking for bluedroid hci on ESP32-C2 and ESP32-H2
2023-05-11 12:01:21 +00:00
Shen Weilong
6bfeac7b6c
BLE: Add interface for QA test
...
Fix sleep crash issue
2023-05-11 20:01:13 +08:00
Jiang Jiang Jian
c323399520
Merge branch 'bugfix/fix_hw_ralunderrun_assert_v5.0' into 'release/v5.0'
...
Fixed BLE HW RAL_UNDERRUN assert and backport some bug fix 23-03-30 (back port v5.0)
See merge request espressif/esp-idf!22989
2023-05-11 17:27:32 +08:00
Jiang Jiang Jian
bc2b5f52e2
Merge branch 'bugfix/bt_diable_enbale_crash_v5.0' into 'release/v5.0'
...
bt:Fixed esp32 controller bug (v5.0)
See merge request espressif/esp-idf!23154
2023-05-11 17:23:48 +08:00
Jiang Jiang Jian
65c71e9c12
Merge branch 'rebase/fix_conn_estab_tmo_issue' into 'release/v5.0'
...
ble:fix conn establishment timeout issue
See merge request espressif/esp-idf!23524
2023-05-11 17:21:17 +08:00
chenjianhua
c48debf246
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-11 10:58:43 +08:00
chenjianhua
8c17ef00b1
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-05-11 10:57:30 +08:00
zwj
4c506a9eea
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-05-11 02:45:56 +00:00
chenjianhua
2279603842
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-05-11 02:45:56 +00:00
zwj
d8e4bdc69e
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
2023-05-11 02:45:56 +00:00
zhiweijian
f0c6c5962a
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-05-11 02:45:56 +00:00
zwj
0e5c6144b7
- 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-05-11 02:45:56 +00:00
zwj
c6942be321
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-05-11 02:45:56 +00:00
zwj
cd1b88c97e
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-05-04 06:37:19 +00:00
wangmengyang
239e97ff7e
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-05-04 06:37:19 +00:00
xiongweichao
a83b16f18d
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-05-04 06:37:19 +00:00
Jin Chen
0f9ba10f4e
ble:fix connection establishemnt timeout issue
2023-04-28 17:47:29 +08:00
Yuan Mingfu
3cc5ad7ac4
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM
2023-04-04 18:04:12 +08:00
Shen Weilong
0fce029b92
[esp32c2] Fixed the occasional assertion when deinit the ble controller
2023-02-27 16:56:05 +08:00
zwl
7b28d40c0a
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-27 16:56:05 +08:00
zwl
530c07a5be
Optimized NPL Freertos API
2023-02-27 16:56:05 +08:00
Jiang Jiang Jian
7c20c3742d
Merge branch 'bugfix/fix_the_bluedroid_hci_crash_on_esp32c2' into 'release/v5.0'
...
Fixed the bluedroid hci crash due to insufficient memory on ESP32C2
See merge request espressif/esp-idf!22056
2023-02-27 15:07:31 +08:00
Jiang Jiang Jian
f39c3b286c
Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v5.0' into 'release/v5.0'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs(backport v5.0)
See merge request espressif/esp-idf!22094
2023-02-27 15:05:49 +08:00
chenjianhua
78437f48ae
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-02-14 11:23:01 +08:00
Shen Weilong
699dde8a38
Fixed the bluedroid hci crash due insufficient memory on ESP32C2
2023-02-03 20:41:23 +08:00
wangmengyang
ebb7650e63
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3 and ESP32-C2
2023-01-20 10:47:58 +08:00
zwj
0733694f1f
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-19 20:26:17 +08:00
zwj
e7ee437bcf
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-19 20:24:26 +08:00
chenjianhua
e95d7202ce
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-19 20:23:34 +08:00
zwj
c656e7ec07
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-19 20:22:58 +08:00
chenjianhua
0b8f0e5456
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-19 20:19:59 +08:00
zwj
5fff471b50
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-19 20:19:28 +08:00
liuning
8ba9f8a6cf
ci: fix esp_phy_modem_deinit issue
2022-12-15 10:48:04 +08:00
liuning
7d16868e32
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-15 10:45:09 +08:00
zwl
e8555efe5b
Renamed BAH
2022-12-13 18:05:00 +08:00
zwl
756dbc3f94
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:50:14 +08:00
zwl
5cab9686bb
Optimized the number of npl on ESP32C2
2022-12-13 17:50:00 +08:00
cjin
842349de6d
ble: fix occasional assertion on ble rtc intr
2022-12-09 15:25:37 +08:00
zwl
de7e62fdfe
Unify controller internal error code on ESP32-C2
2022-12-09 15:25:37 +08:00
cjin
5c481c5a08
ble: remove redundant pm lock on ble
2022-12-09 15:25:37 +08:00
Island
8e4bcb4875
Merge branch 'feature/add_comments_for_bt_connections' into 'release/v5.0'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21322
2022-12-06 17:21:12 +08:00
Wang Meng Yang
755ee147bd
Merge branch 'feature/support_ble_max_conn_num_to_9_v5.0' into 'release/v5.0'
...
Support bluedroid host maximum number of connections to 9 (backport v5.0)
See merge request espressif/esp-idf!21400
2022-12-05 12:16:53 +08:00
Jiang Jiang Jian
9406e80d5f
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance_v5.0' into 'release/v5.0'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall(backport v5.0)
See merge request espressif/esp-idf!21370
2022-12-02 20:39:17 +08:00
Jiang Jiang Jian
6d1f2821f1
Merge branch 'feature/esp32c2_optimize_ble_init_v5.0' into 'release/v5.0'
...
Fixed memory leak when RAM free size is insufficient or setting ext scan...
See merge request espressif/esp-idf!21262
2022-12-02 20:37:16 +08:00
Jiang Jiang Jian
7c395f3ca8
Merge branch 'feature/support_ble_memory_release_on_esp32c2_v5.0' into 'release/v5.0'
...
Support BLE memory release on ESP32C2 (v5.0)
See merge request espressif/esp-idf!21189
2022-12-02 20:35:18 +08:00
Shen Weilong
dcc310f468
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:22:53 +08:00
zwj
8b0ec09c71
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:18:52 +08:00
zhiweijian
9cfffd2915
- 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 18:44:31 +08:00
zwl
06290d44c3
Fixed interrupt latency when cache is disable on ESP32-C2
2022-11-29 16:27:05 +08:00
zwl
90fa0e5c49
Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2
2022-11-29 16:27:05 +08:00
Rahul Tank
6c4292f7b1
Support BLE memory release on ESP32C2
2022-11-22 10:38:40 +05:30
zwj
1b4499046a
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 10:33:55 +08:00
zwj
7e168de48d
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-21 10:33:35 +08:00
zwj
99cd53490b
change default tx power from 3dBm to 9dBm
2022-11-21 10:33:35 +08:00
satish.solanke
6d11786776
Update_sdkdefaultconfig_BLE_only_flag ESP32C2
2022-11-21 10:33:35 +08:00
Jiang Jiang Jian
3305987d66
Merge branch 'bugfix/esp32c2_create_sync_lost_v5.0' into 'release/v5.0'
...
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
See merge request espressif/esp-idf!20862
2022-11-02 11:35:00 +08:00
zhiweijian
c35b14bb49
Fixed BLE array access out of bounds
2022-10-31 20:13:26 +08:00
zwl
3bc38b7ff4
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 12:01:35 +08:00
Jiang Jiang Jian
6713c745c2
Merge branch 'bugfix/esp32c2_scan_assert_v5.0' into 'release/v5.0'
...
Fixed occasional crash during scanning
See merge request espressif/esp-idf!20580
2022-10-16 11:01:13 +08:00
Jiang Jiang Jian
65bf1ff368
Merge branch 'bugfix/use_nonblocking_coex_callback_v5.0' into 'release/v5.0'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth(backport v5.0)
See merge request espressif/esp-idf!20414
2022-10-14 11:25:21 +08:00
zwl
6b980e526a
Fixed occasional crash during scanning
2022-10-13 14:05:45 +08:00
Jiang Jiang Jian
2978de0f75
Merge branch 'rebase/fix_ble_mem_leak_issue_rls' into 'release/v5.0'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20528
2022-10-13 10:49:46 +08:00
wangmengyang
2d4f6d5b62
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-12 19:42:55 +08:00
cjin
baca425ce8
fix ble mem leak when sleep is enabled
2022-10-12 11:29:55 +08:00
Jiang Jiang Jian
5ae4f34cb8
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3_v5.0' into 'release/v5.0'
...
Fixed BLE lld_per_adv.c line 401 assert (backport v5.0)
See merge request espressif/esp-idf!20506
2022-10-11 17:46:10 +08:00
Jiang Jiang Jian
bb6e0e52b8
Merge branch 'bugfix/fix_esp32_ble_assert_32_v5.0' into 'release/v5.0'
...
Fixed ESP32 BLE assert(32 0) (backport v5.0)
See merge request espressif/esp-idf!20508
2022-10-11 17:45:55 +08:00
zwj
60ece59f04
Fixed ESP32 BLE assert(32 0)
2022-10-09 16:06:28 +08:00
zwj
1030bdd299
Fixed BLE lld_per_adv.c line 401 assert
2022-10-09 16:02:06 +08:00
zwl
719f05306f
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-30 12:02:58 +08:00
cjin
0010f4c3a8
update controller lib for bugfix on light-sleep
2022-09-30 12:02:57 +08:00
cjin
9d7a7001ac
fix ble compilation error
2022-09-30 12:02:57 +08:00
Jiang Jiang Jian
096fdb8bb4
Merge branch 'bugfix/bluedroid_debug_esp32c2_rls' into 'release/v5.0'
...
Bugfix/bludroid debug esp32c2
See merge request espressif/esp-idf!20244
2022-09-21 20:37:17 +08:00
cjin
d5349fcc53
update ble controller lib for bugfix on esp32c2
2022-09-21 14:16:52 +08:00
Jiang Jiang Jian
4bcf814855
Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2' into 'release/v5.0'
...
Bugfix/ble light sleep error on esp32c2
See merge request espressif/esp-idf!20237
2022-09-21 10:53:29 +08:00
Jin Cheng
b7ad8a150f
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-09-20 11:19:02 +00:00
cjin
3112c8b954
mbuf copy hci data error fix
2022-09-20 18:06:45 +08:00
zwl
549eb762d8
fixed wifi can't be connected after enable bt sleep mode
2022-09-20 14:26:28 +08:00
Jiang Jiang Jian
4b01f4080c
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed_v5.0' into 'release/v5.0'
...
Fixed BLE disconnection issue when channel map instant passed due to bad channels(backport v5.0)
See merge request espressif/esp-idf!20190
2022-09-20 14:24:32 +08:00
zwl
89a141eea2
fixed ble can't enter light sleep
2022-09-19 21:32:54 +08:00
satish.solanke
00beda2ef1
Fix: blufi example memory leak while init and deinit
2022-09-19 11:51:05 +05:30
zwj
a2575d6b4d
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-16 21:23:40 +08:00
zwj
73d00170d6
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabled
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
2022-09-08 13:30:23 +00:00
zhiweijian
b6ec98535d
Add QA test Functions
2022-09-01 13:56:52 +00:00
zwl
502d47fa44
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 15:39:01 +00:00
xiongweichao
7dcf576659
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 15:59:33 +08:00
zwj
ccd9d0f8ce
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:42:28 +08:00
zwl
65d35b0b45
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
2022-08-16 22:04:30 +08:00
Jiang Jiang Jian
4ba5515dc0
Merge branch 'backport/backport_master_to_release_v5.0' into 'release/v5.0'
...
backport master to release v5.0(Backport v5.0)
See merge request espressif/esp-idf!19560
2022-08-16 16:37:54 +08:00
Li Shuai
b9a667b9f8
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-15 21:16:11 +08:00
xiongweichao
555d72c90a
make bluetooth and wifi use the same low power clock
2022-08-15 21:15:51 +08:00
xiongweichao
ebca41b3ca
ESP32S3:bluetooth support use main XTAL in light sleep mode
2022-08-15 21:15:42 +08:00