Commit Graph

2975 Commits

Author SHA1 Message Date
zwj
52ca53746f Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-04-24 15:49:36 +08:00
zwj
a26449844f Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-04-24 15:49:12 +08:00
Jiang Jiang Jian
1644050652 Merge branch 'bugfix/fix_some_ble_bug_v5.1' into 'release/v5.1'
Fixed some BLE bugs (backport v5.1)

See merge request espressif/esp-idf!23324
2023-04-24 10:41:59 +08:00
Jiang Jiang Jian
a12e124410 Merge branch 'bugfix/bt_diable_enbale_crash_v5.1' into 'release/v5.1'
bt:Fixed esp32 controller bug (v5.1)

See merge request espressif/esp-idf!23365
2023-04-24 10:39:58 +08:00
xiongweichao
b5357e8b01 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

Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-23 20:26:56 +08:00
zhiweijian
59666637bc Disable controller 5.0 feature bits if host 5.0 feature is not enabled 2023-04-22 20:49:30 +08:00
zwj
48c5f74cbc improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3 2023-04-22 20:49:10 +08:00
chenjianhua
8e41186ac8 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-22 20:48:38 +08:00
Darian Leung
51405fd9d4 bt: Remove FreeRTOS static allocation from OSI functions
Previously, the BT OSI would use various FreeRTOS "create static" functions to
ensure that semaphores and queues were always allocated to internal memory.
However, from commit e21ab0332b onwards, all
dynamic memory allocated by FreeRTOS will default to internal RAM.

Thus, the extra "create static" calls can be removed to simply the code.
2023-04-21 15:19:29 +08:00
chenjianhua
d0011b778a bluedroid: report status after clearing the BLE white list 2023-04-20 18:58:38 +08:00
chenjianhua
c2fe7be50e bluedroid: fix GATTC cache address save 2023-04-20 18:57:23 +08:00
Jiang Jiang Jian
a15c36f987 Merge branch 'bugfix/delete_node_during_list_traverse' into 'master'
bugfix/fixed the crash of LoadProhibited caused by taht the nodes are deleted during the traversal of the linked list

Closes IDFGH-3256

See merge request espressif/esp-idf!23090
2023-04-07 13:52:53 +08:00
Jin Cheng
a7a2e5d407 fixed the crash of LoadProhibited caused by taht
the nodes are deleted during the traversal of the linked list
2023-04-06 14:13:05 +08:00
baohongde
dff3c07e42 components/coexist: Set coex scan status when ble connecting 2023-04-06 11:09:46 +08:00
Isha Pardikar
cb79b1e202 Merge branch 'bugfix/esp_nimble_config' into 'master'
NimBLE : Fixed config options in esp_nimble_cfg.h

See merge request espressif/esp-idf!23019
2023-04-04 20:08:16 +08:00
Jiang Jiang Jian
08b4bd2ecd Merge branch 'feature/add_interface_for_ble_QA_test' into 'master'
BLE: Add interface for QA test

Closes EBLE50Y23-69

See merge request espressif/esp-idf!22976
2023-03-31 19:43:54 +08:00
isha.pardikar@espressif.com
810f719ee1 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-03-31 16:21:44 +05:30
Jiang Jiang Jian
6ede152d87 Merge branch 'bugfix/unhandle_unsniff_req_disconnect' into 'master'
bt: Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state

Closes BTQABR2023-25 and BT-3208

See merge request espressif/esp-idf!22941
2023-03-31 12:07:14 +08:00
Jiang Jiang Jian
6cac537791 Merge branch 'bugfix/fix_hw_ralunderrun_assert' into 'master'
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3

Closes BT-3241 and BT-3247

See merge request espressif/esp-idf!22974
2023-03-30 19:02:51 +08:00
Wang Meng Yang
70a355dbc1 Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod' into 'master'
bt: Optimized the document for GAP API: esp_bt_gap_set_cod

Closes IDFGH-8668

See merge request espressif/esp-idf!22887
2023-03-30 12:12:02 +08:00
xiongweichao
8f5c33cec1 1.Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
2.Fixed crash caused by supervision timeout greater than sniff interval
2023-03-30 11:15:38 +08:00
Shen Weilong
aad3d8344b BLE: Add interface for QA test
Fix sleep crash issue
2023-03-29 20:02:56 +08:00
zwj
a1bfc91f54 Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3 2023-03-29 17:13:15 +08:00
Jin Cheng
cb68c7cba1 Optimized the document for GAP API:
`esp_bt_gap_set_cod`
2023-03-29 15:41:14 +08:00
Rahul Tank
ff88044a44 Merge branch 'bugfix/warning_cur_len' into 'master'
NimBLE: Fixed warning cur_len unused

See merge request espressif/esp-idf!22855
2023-03-24 19:09:50 +08:00
Rahul Tank
9179456c48 Add Power control specific soc capability 2023-03-24 10:56:03 +05:30
isha.pardikar@espressif.com
e987b80d90 NimBLE: Fixed warning cur_len unused 2023-03-24 10:48:07 +05:30
Isha Pardikar
d6f49becff Merge branch 'feature/services' into 'master'
NimBLE : Added heart rate measurement as a service

See merge request espressif/esp-idf!22781
2023-03-24 13:13:34 +08:00
Jiang Jiang Jian
e797a06120 Merge branch 'bugfix/unify_btbb_init' into 'master'
esp_phy: added API esp_btbb_disable

See merge request espressif/esp-idf!22806
2023-03-23 20:34:03 +08:00
Island
12b1028329 Merge branch 'bugfix/ble_mesh_stack_minor_fixes' into 'master'
ble_mesh: stack: Minor fix for provisioner provisioning timeout

See merge request espressif/esp-idf!22883
2023-03-23 19:34:11 +08:00
Jiang Jiang Jian
b6fda9723e Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
Fixed bluedroid host ATT Ignore wrong response error

Closes BLEQABR23-30 and BT-3224

See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
wangmengyang
cbb8bf9f88 esp_phy: added API esp_btbb_disable
APIs esp_btbb_enable and esp_btbb_disable are supposed to be used by 802.15.4 and Bluetooth module, and implemented with reference counter for resource management
2023-03-23 05:40:32 +00:00
isha.pardikar@espressif.com
fc0aa4d083 NimBLE : Added heart rate measurement as a service 2023-03-23 11:04:00 +05:30
wangjialiang
bb316f96f2 ble_mesh: stack: add description of internal BQB Test 2023-03-23 11:10:08 +08:00
Jiang Jiang Jian
defae704e4 Merge branch 'bugfix/delay_report_memory_leak' into 'master'
bugfix: fixed memory leak in AVDT delay report

Closes BTQABR2023-12

See merge request espressif/esp-idf!22870
2023-03-23 10:55:47 +08:00
lly
43c9814387 ble_mesh: stack: Minor fix for provisioner provisioning timeout 2023-03-23 10:26:23 +08:00
Island
ec030b358a Merge branch 'feature/ble_mesh_console_stack_update' into 'master'
ble_mesh: stack: Update stack to solve several problems

See merge request espressif/esp-idf!22499
2023-03-22 16:17:46 +08:00
Jin Cheng
439d285c4a Fixed memory leak in AVDT delay report 2023-03-22 15:30:06 +08:00
Jin Cheng
1d32c85f18 Fixed the index out of bounds of hfp_ag BTC control block 2023-03-22 13:17:33 +08:00
wangjialiang
c266dedb1f ble_mesh: stack: bug fix in bqb 2023-03-22 11:28:29 +08:00
wangjialiang
45015940eb ble_mesh: add BQB LOG 2023-03-22 11:27:09 +08:00
luoxu
f4f192ed70 ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01 2023-03-22 11:27:09 +08:00
luoxu
a7d8caf7c6 ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg 2023-03-22 11:27:09 +08:00
luoxu
c159572004 ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link 2023-03-22 11:27:09 +08:00
Shen Wei Long
ab63aaa4a2 Merge branch 'feature/update_bluedriod_examples_for_esp32h2_ble' into 'master'
Feature/update bluedriod examples for esp32h2 ble

Closes IDF-6921

See merge request espressif/esp-idf!22634
2023-03-22 10:56:28 +08:00
Rahul Tank
e32083c859 Merge branch 'feature/write_blob' into 'master'
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN

See merge request espressif/esp-idf!22808
2023-03-21 16:33:01 +08:00
Shen Weilong
90d6b9cbd7 ble: Update README files for bluedroid host examples on ESP32-H2
Disable clocks and phy modem directly in esp_bt_controller_deinit()
2023-03-20 19:09:29 +08:00
zhiweijian
3be3bef3a6 set BT_CTRL_BLE_MAX_ACT default value to 6 2023-03-20 15:54:47 +08:00
zhiweijian
7ad9e885e4 If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED 2023-03-20 15:54:32 +08:00
Jiang Jiang Jian
12b44b3a0a Merge branch 'bugfix/update_config_in_esp32h2_chip' into 'master'
ble: update config in esp32h2 chip

See merge request espressif/esp-idf!22708
2023-03-20 12:09:52 +08:00
Island
b5549cb373 Merge branch 'feature/ble_mesh_add_bqb_log_test_macro' into 'master'
ble_mesh: stack: Add macros for BQB test to enable some internal function or log

See merge request espressif/esp-idf!22540
2023-03-20 11:43:53 +08:00
isha.pardikar@espressif.com
e985cc521b NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN 2023-03-17 15:25:08 +05:30
isha.pardikar@espressif.com
7d3e347ba2 Bluetooth : Fixed h2 controller function definition 2023-03-16 18:03:39 +05:30
lly
fd799153cf ble_mesh: stack: Minor updates for BQB test log 2023-03-16 14:23:22 +08:00
wangjialiang
87c694f44c ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log 2023-03-16 12:29:44 +08:00
cjin
e317f07798 ble: update config in esp32h2 chip 2023-03-15 21:02:12 +08:00
Rahul Tank
a945b85543 Merge branch 'bugfix/add_debug_check' into 'master'
Nimble: Added debug relate flag around debug code

See merge request espressif/esp-idf!22764
2023-03-15 18:04:09 +08:00
Rahul Tank
2fed59af2f Nimble: Added debug relate flag around debug code 2023-03-14 16:57:40 +05:30
zhiweijian
588626d64e Fixed ATT Ignore wrong response error 2023-03-14 08:49:19 +00:00
zwj
a9d9f115c3 - 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-13 10:47:18 +00:00
Jiang Jiang Jian
251e0c5fc7 Merge branch 'bugfix/fix_adv_scan_state_conflict' into 'master'
Bluedroid: fix adv and scan state conflict

See merge request espressif/esp-idf!22685
2023-03-13 10:52:40 +08:00
Jiang Jiang Jian
abc43d8e94 Merge branch 'bugfix/some_small_fix_for_sleep' into 'master'
esp_hw_support/sleep: update soc caps for chips that support power down modem

Closes WIFI-4424

See merge request espressif/esp-idf!20198
2023-03-13 10:47:26 +08:00
jingli
cb0f517fe3 soc/soc_caps: update soc caps for chips that support power-down of modem hardware
Closes WIFI-4424
2023-03-10 14:15:27 +08:00
Roshan Bangar
de7a7b41b7 NimBLE : Correct macro usage 2023-03-10 11:05:41 +05:30
Rahul Tank
8fc0343e5a Merge branch 'bugfix/modify_configuration_for_ble_5' into 'master'
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips

See merge request espressif/esp-idf!22409
2023-03-10 12:35:39 +08:00
Island
b43cde7463 Merge branch 'bugfix/esp32c2_acl_flow_ctrl_err' into 'master'
Bugfix/esp32c2 acl flow ctrl err

See merge request espressif/esp-idf!22689
2023-03-10 12:26:06 +08:00
Jiang Jiang Jian
1f05281913 Merge branch 'bugfix/fix_hidh_connection_bug' into 'master'
Bugfix/Fix HID Host bug when handling the two consecutive connection request

Closes IDFGH-9100

See merge request espressif/esp-idf!21988
2023-03-10 03:48:48 +08:00
zwl
45d207572b Add hci uart pin reconfig API 2023-03-09 20:03:08 +08:00
zwl
57c7310512 ble: Add assertion checking for bluedroid hci on ESP32-C2,ESP32-C6 and ESP32-H2 2023-03-09 20:02:23 +08:00
Wang Meng Yang
9c1897028a Merge branch 'bugfix/avrcp_psth_cmd_rsp' into 'master'
bt:Added a parameter to tell the user the result of the pass through command implementation

Closes BT-2233

See merge request espressif/esp-idf!22474
2023-03-09 17:48:15 +08:00
Jiang Jiang Jian
e63f609501 Merge branch 'bugfix/fix_fast_packets_handling' into 'master'
Nimble: Retry buffer allocation, if previous allocation fails

Closes BT-2473 and IDFGH-9487

See merge request espressif/esp-idf!22586
2023-03-09 17:44:54 +08:00
chenjianhua
7bbfd28d44 bluedroid: fix adv and scan state conflict 2023-03-09 16:36:54 +08:00
liqigan
20c9efed4d fix HID Host bug when handling the two consecutive connection request
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-09 14:25:25 +08:00
Zim Kalinowski
05037957c7 Merge branch 'docs/broken_links_2' into 'master'
docs: fix broken links

See merge request espressif/esp-idf!22611
2023-03-08 18:12:24 +08:00
Rahul Tank
eb304455d5 Nimble: Added change to give time to allocate buffers, in case previous
allocation fails

Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-08 12:31:41 +05:30
Rahul Tank
d89736babf Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-08 11:59:43 +05:30
Jiang Jiang Jian
fe979e6513 Merge branch 'feature/merge_c3_s3_bt_files_to_one' into 'master'
Merge ESP32C3 and ESP32S3 BLE bt.c, esp_bt.h and kconfig files to one

Closes BT-3209

See merge request espressif/esp-idf!22453
2023-03-08 10:53:01 +08:00
Marius Vikhammer
24e0d91cd0 docs: fix broken links 2023-03-06 17:29:10 +08:00
zwj
a5e43a7d43 Merge ESP32C3 and ESP32S3 BLE bt.c files to one 2023-03-06 14:53:03 +08:00
Shen Weilong
f39648040e BLE: Add ble support for esp32h2 2023-03-06 10:43:17 +08:00
Shen Wei Long
20cc537044 Merge branch 'bugfix/fix_assertion_when_deinit_ble_controller' into 'master'
[esp32c2] Fixed the occasional assertion when deinit the ble controller

Closes BT-3203

See merge request espressif/esp-idf!22455
2023-02-28 20:53:21 +08:00
wangmengyang
2c4fc5d9ea bt: add coexistence internal API declarations and clean up some unused coexistence hooks 2023-02-26 06:58:18 +00:00
liuning
b3a040aa98 coex: apply new coex_schm_callback 2023-02-26 06:58:18 +00:00
wangmengyang
1661694e0b bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller 2023-02-26 06:58:18 +00:00
liuning
38316b38b5 esp_wifi: move coex part from esp_wifi to esp_coex 2023-02-26 06:58:18 +00:00
liuning
103772df94 esp_wifi: support adapter of all chips for new coex lib 2023-02-26 06:58:18 +00:00
Chen Yudong
d352fb2411 ble_mesh: fix gcc-12 compile errors 2023-02-23 22:46:16 +08:00
xiongweichao
3b5939396d bt:Added a parameter to tell the user the result of the pass through command implementation 2023-02-22 15:37:54 +08:00
Alexey Lapshin
d4b7be4a73 bt: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Wang Meng Yang
998711b4e7 Merge branch 'bugfix/blufi_notify' into 'master'
BluFi : Fixed hdr getting free twice

Closes IDFGH-9378

See merge request espressif/esp-idf!22416
2023-02-21 17:43:38 +08:00
Shen Weilong
c1329974a0 [esp32c2] Fixed the occasional assertion when deinit the ble controller 2023-02-21 14:03:37 +08:00
isha.pardikar@espressif.com
14aa55b353 BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
2023-02-20 11:02:30 +05:30
Jiang Jiang Jian
0591695a81 Merge branch 'bugfix/bluedroid_le_coc_compile_error' into 'master'
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs

Closes BT-2862

See merge request espressif/esp-idf!22321
2023-02-20 13:23:51 +08:00
Jiang Jiang Jian
07d8862256 Merge branch 'feature/migration_to_nimble_1.5' into 'master'
Nimble: migrate to nimble 1.5 branch

See merge request espressif/esp-idf!22034
2023-02-17 12:45:34 +08:00
Island
50ae186ff7 Merge branch 'bugfix/esp32c2_fixed_adv_stop' into 'master'
ble:Fixed issues of adv error stop and abnormal reporting of connection update...

Closes BT-3137 and BT-3144

See merge request espressif/esp-idf!22310
2023-02-15 14:20:51 +08:00
Roshan Bangar
baf4240776 NimBLE: Use dynamic buffers instead of static memory. 2023-02-15 04:55:26 +00:00
Roshan Bangar
ba1119a725 Nimble: Migrate to nimble 1.5 2023-02-15 04:55:26 +00:00
Jin Cheng
eac73d8f58 Fixed build errors when sniff subrating is enabled. 2023-02-11 08:29:09 +00:00
Jiang Jiang Jian
254efe402e Merge branch 'feature/wifi_kconfig_merge' into 'master'
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig

Closes WIFI-4541 and IDF-1830

See merge request espressif/esp-idf!18998
2023-02-11 07:38:46 +08:00
Kapil Gupta
30a2558450 esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig 2023-02-11 07:38:45 +08:00
wangmengyang
3279b4d41d bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-02-10 21:51:08 +08:00
Wang Meng Yang
e0e3700142 Merge branch 'feature/support_ble_privacy_by_controller' into 'master'
Support ble privacy by controller on bluedroid

See merge request espressif/esp-idf!21966
2023-02-10 14:34:36 +08:00
zwl
f79d0e6a43 ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2 2023-02-10 14:16:07 +08:00
Jiang Jiang Jian
404eb39adf Merge branch 'bugfix/ble_hci_issue_with_pcl' into 'master'
BLE: fixed hci event fail on esp32c6

See merge request espressif/esp-idf!22231
2023-02-07 20:27:28 +08:00
cjin
9985371b8a BLE: fixed hci event fail on bluedroid host 2023-02-03 17:57:33 +08:00
Rahul Tank
78baa6c98c Nimble: Modified code to have fragmentation of packet equal to MAX PKT SIZE in case
controller supports larger buffer size
2023-02-03 10:20:49 +05:30
Chen Jian Hua
732df630cd Merge branch 'feature/add_params_in_gatt_conn_evt' into 'master'
Bluedroid: add params for GATT connect event

Closes BLEQABR23-1

See merge request espressif/esp-idf!22183
2023-02-03 10:29:36 +08:00
Jiang Jiang Jian
fb1902773f Merge branch 'bugfix/sdp_event_status_overwritten_by_handle' into 'master'
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle

Closes IDFGH-9219

See merge request espressif/esp-idf!22153
2023-02-02 19:54:45 +08:00
Island
c8de3e54c7 Merge branch 'bugfix/esp32c6_ble_adv_issues' into 'master'
Bugfix/esp32c6 ble adv issues

Closes EBLE50Y23-19

See merge request espressif/esp-idf!22179
2023-02-02 16:37:05 +08:00
AlbertWDev
18a1b4c9b9 bt: fix SDP event status overwritten by handle 2023-02-01 10:53:42 +01:00
chenjianhua
4b44305103 bluedroid: add params in GATT connect event 2023-02-01 12:08:33 +08:00
zwl
423c43f3e3 Fixed hci uart tx long data error 2023-02-01 09:41:04 +08:00
zwl
3a5373a5d0 Fixed the issue that Offest Base in SyncInfo was zero on ESP32-C6 2023-01-31 20:34:04 +08:00
Rahul Tank
826495a145 Nimble: Added return value (success / failure ) to nimble_port_init 2023-01-31 12:01:02 +05:30
Jiang Jiang Jian
43f5f3d56d Merge branch 'bugfix/coex_enable_disable_not_in_pairs' into 'master'
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs

Closes BCI-317

See merge request espressif/esp-idf!21895
2023-01-18 17:01:02 +08:00
Island
2dc96f9a27 Merge branch 'feature/esp32c6_enable_pcl_feature' into 'master'
Enabled PCL feature on ESP32C6

Closes IDF-6529

See merge request espressif/esp-idf!21903
2023-01-17 17:35:04 +08:00
Island
1157657664 Merge branch 'feature/modify_bt_sdkconfig_to_support_bluedroid_on_esp32c6' into 'master'
modify bt sdkconfig to support bluedroid examples for esp32c6

Closes IDF-6525 and BT-3113

See merge request espressif/esp-idf!21928
2023-01-16 15:32:53 +08:00
zwl
38c5f239be Enabled PCL feature on ESP32C6 BT Controller 2023-01-16 12:28:44 +08:00
Shen Weilong
45aaeda1e3 modify bt sdkconfig to support bluedroid examples for esp32c6 2023-01-13 15:05:34 +08:00
chenjianhua
708ca0181c bluedroid: support get bluetooth device name 2023-01-13 10:39:57 +08:00
Zhi Wei Jian
c176e5e0ec Merge branch 'bugfix/fix_blufi_frag_pkt_vulnerability' into 'master'
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing

Closes BT-3106

See merge request espressif/esp-idf!21819
2023-01-10 21:13:01 +08:00
chenjianhua
175be1c42c bluedroid: support ble privacy by controller 2023-01-10 18:50:11 +08:00
Zhi Wei Jian
c08cd91da3 Merge branch 'bugfix/fix_bluedroid_bug_for_pts' into 'master'
Bluedroid: fixed GATT multi notify and robust caching

Closes BT-3142

See merge request espressif/esp-idf!21871
2023-01-10 10:49:21 +08:00
Zhi Wei Jian
1002ad1f90 Merge branch 'bugfix/fix_disconn_due_to_instant_passed' into 'master'
Fix ble disconnect due to channel map update instant passed

Closes BT-3085

See merge request espressif/esp-idf!21889
2023-01-10 10:48:37 +08:00
chenjianhua
70bb6c7388 bluedroid: fixed GATT multi notify and robust caching 2023-01-06 20:13:58 +08:00
zwl
06937271bb Optimized NPL Freertos API 2023-01-06 15:10:18 +08:00
wangmengyang
29610b8a1b bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6 2023-01-05 12:34:49 +08:00
Island
e58181b3f9 Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2' into 'master'
Bugfix/fixed hci uart flow ctrl error on esp32c2

Closes BLE-460, BLE-471, and IDF-6530

See merge request espressif/esp-idf!21882
2023-01-05 10:06:16 +08:00
Wang Meng Yang
068fec4714 Merge branch 'bugfix/access_nullptr_when_ble_disconn' into 'master'
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected`

See merge request espressif/esp-idf!21877
2023-01-04 20:43:58 +08:00
zhaoweiliang
98c487233c Fixed task watchdog trigger issue when closed hci uart 2023-01-04 15:27:31 +08:00
Jin Cheng
2e9a180f43 Fixed crash caused by accessing nullptr in btm_acl_disconnected 2023-01-04 11:47:05 +08:00
chenjianhua
c0dd6896a7 update bt-lib for ESP32
fix ble disconnect due to channel map update instant passed
2023-01-04 11:22:33 +08:00
Shen Weilong
e41b35b089 1. Update libbt
2. Release the controller's .bss and .data memory
3. Modify the kconfig in nimble host
2023-01-04 11:17:07 +08:00
shenweilong
93fc1bd05f support ble on esp32c6 2023-01-04 11:10:10 +08:00
zhaoweiliang
2819f9a4c3 Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4 2023-01-03 20:48:32 +08:00
Sumeet Singh
79fbb4add7 NimBLE: Fix incomplete clearing of peer_dev_rec 2022-12-30 17:26:00 +05:30
Cao Sen Miao
4713a9a7f2 ESP32H2: Introduce new chip target esp32h2, hello_world example supported 2022-12-29 12:29:14 +08:00
zhiweijian
7c9d47b702 Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing 2022-12-28 14:59:38 +08:00
Rahul Tank
8ff7d526b0 Merge branch 'bugfix/remove_global_min_max_def' into 'master'
Nimble: Removes global min/max definition causing problems with other libraries

See merge request espressif/esp-idf!21652
2022-12-22 22:53:45 +08:00
Shu Chen
0215575606 Merge branch 'feature/esp32c6_ieee802154_support' into 'master'
ieee802154: add ieee802154 support for esp32c6

See merge request espressif/esp-idf!21615
2022-12-22 18:01:58 +08:00
xiaqilin
57a6abdad1 ieee802154: add support ieee802154 for esp32c6 2022-12-22 10:45:23 +08:00
Rahul Tank
133b2e45e3 Nimble: Removes global min/max definition causing problems with other libraries 2022-12-20 11:21:31 +05:30
zwj
9ac7b16124 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 15:15:37 +08:00
Zhi Wei Jian
67cfef0acd Merge branch 'feature/add_config_to_set_duplicate_scan_list_refresh_time' into 'master'
Add config to set duplicate scan list refresh period on ESP32-S3 and ESP32-C3

Closes BT-3073 and BT-3023

See merge request espressif/esp-idf!21586
2022-12-15 16:29:44 +08:00
Rahul Tank
f3012849e8 Merge branch 'feature/add_periodic_helper_macros' into 'master'
Nimble: Add helper macros to set interval min / max for periodic adv

See merge request espressif/esp-idf!21575
2022-12-14 22:07:00 +08:00
Jiang Jiang Jian
97d6050fea Merge branch 'feature/esp32c2_optimize_npl_element_count' into 'master'
Feature/esp32c2 optimize npl element count

Closes BT-3012

See merge request espressif/esp-idf!21562
2022-12-14 17:18:07 +08:00
zwj
5e72006fb9 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-14 15:54:01 +08:00
Zhi Wei Jian
cd5ce86cf2 Merge branch 'bugfix/fix_ble_conn_failed_in_air' into 'master'
Change default TX power to 9 dBm on ESP32

Closes BT-2436

See merge request espressif/esp-idf!21567
2022-12-14 14:43:54 +08:00
Zhi Wei Jian
be7f20ecc4 Merge branch 'bugfix/fix_multi_per_adv_sync_fail' into 'master'
Fixed privacy error and multi periodic adv sync failed on ESP32-C3 and ESP32-S3

Closes BT-2757

See merge request espressif/esp-idf!21570
2022-12-14 14:41:38 +08:00
chenjianhua
d7c97ce20b 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-13 21:40:04 +08:00