Commit Graph

3238 Commits

Author SHA1 Message Date
Jiang Jiang Jian
82fde1e823 Merge branch 'backport_v5.1' into 'release/v5.1'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.1)

See merge request espressif/esp-idf!24780
2023-07-14 18:17:32 +08:00
Island
4f37aeb747 Merge branch 'update/ble_mesh_debug_log_level_update_v5.1' into 'release/v5.1'
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level (v5.1)

See merge request espressif/esp-idf!24769
2023-07-14 16:56:19 +08:00
cjin
5ec30e6fc2 ble : remove extra retention cnt upon deinit temporarily 2023-07-14 11:07:56 +08:00
zhanghaipeng
2b1269d4fb 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:43:37 +08:00
zhanghaipeng
124cce0de3 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:43:37 +08:00
Liu Linyan
f718d26d31 update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level 2023-07-13 14:38:23 +08:00
chenjianhua
34b4936a7d fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-13 12:14:16 +08:00
chenjianhua
62bd3973f6 bluedroid: fixed gatt tcb free when disconnecting 2023-07-13 12:13:47 +08:00
Rahul Tank
cab8159187 Nimble: Increase the number of semaphore count to allow more semaphore
allocation
2023-07-12 15:31:46 +05:30
Jiang Jiang Jian
e27b44e661 Merge branch 'bugfix/handle_signed_power_level_pcl_v5.1' into 'release/v5.1'
fix(nimble): Fix data type of power level and delta to handle negative values (v5.1)

See merge request espressif/esp-idf!24712
2023-07-12 16:54:23 +08:00
Island
196fc559b4 Merge branch 'feature/ble_mesh_example_support_duplicate_scan_v5.1' into 'release/v5.1'
Feature/ble mesh example support duplicate scan(v5.1)

See merge request espressif/esp-idf!24700
2023-07-12 10:38:05 +08:00
Rahul Tank
fa8f99249c fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-11 17:18:09 +05:30
Island
8e2de1b594 Merge branch 'ble_dev/esp32c6_support_power_save_example_5.1' into 'release/v5.1'
ble: support esp32c6 power save example

See merge request espressif/esp-idf!24386
2023-07-11 16:55:22 +08:00
wangjialiang
573755a8d2 feat(ble_mesh: stack: esp32c6/h2): update Kconfig file to support duplicate scan. 2023-07-11 15:54:48 +08:00
Rahul Tank
a125e8f7ed Merge branch 'feature/services_proximity_v5.1' into 'release/v5.1'
NimBLE : Added proximity sensor as a service (v5.1)

See merge request espressif/esp-idf!24649
2023-07-11 14:04:31 +08:00
cjin
1dbbd97749 ble: support esp32c6 power save example 2023-07-10 18:08:37 +00:00
Island
e21fc0dc50 Merge branch 'feature/update_ble_libs_5.1' into 'release/v5.1'
ble: Added APIs for QA test

See merge request espressif/esp-idf!24651
2023-07-10 17:21:51 +08:00
Island
e68d4a7177 Merge branch 'feature/update_ble_duplicte_vs_hci_lib_fix_5_1' into 'release/v5.1'
Feature/update ble duplicte vs hci lib fix 5 1

See merge request espressif/esp-idf!24638
2023-07-10 15:09:18 +08:00
Rahul Tank
a7b62bbcaf Merge branch 'bufix/fix_assert_while_stack_deinit_v5.1' into 'release/v5.1'
NimBLE :  Fix assert due to controller event while stack deinit (v5.1)

See merge request espressif/esp-idf!24620
2023-07-07 19:41:52 +08:00
Shen Weilong
027e6ecab9 ble: Added APIs for QA test 2023-07-07 19:40:48 +08:00
Jiang Jiang Jian
66f384cad0 Merge branch 'bugfix/added_chip_based_cca_config_v5.1' into 'release/v5.1'
ble: fix cca for esp32c2

See merge request espressif/esp-idf!24426
2023-07-07 17:31:00 +08:00
isha.pardikar@espressif.com
893967f596 feat (NimBLE): Add proximity sensor as a service 2023-07-07 14:59:22 +05:30
Island
a8c9665ae2 Merge branch 'ble_dev/support_esp32h2_modem_clock_selection_5.1' into 'release/v5.1'
ble: support esp32h2 modem clock selection

See merge request espressif/esp-idf!24388
2023-07-07 16:57:22 +08:00
Geng Yuchao
730d8e18d8 fix(ble): Fix duplicate var length issue 2023-07-07 14:29:21 +08:00
Geng Yuchao
1398605873 fix(ci): Fix declaration isn't a prototype issue 2023-07-07 14:29:21 +08:00
Geng Yuchao
0359d0df5d feat(ble): Update ble lib to 6f9ef119 2023-07-07 14:29:21 +08:00
Geng Yuchao
eea7df273c change(ble): Enable pdu type trig in duplicate in default mode as before 2023-07-07 14:29:21 +08:00
Geng Yuchao
a5f127ec88 feat(ble): Add duplicate refersh function support for esp32h2 2023-07-07 14:29:21 +08:00
Geng Yuchao
2b195191b3 feat(ble): Add support to scan period refresh duplicate cache list 2023-07-07 14:29:21 +08:00
Geng Yuchao
a357fd17c2 feat(ble): Add duplicate filter feature enable on ble for h2. 2023-07-07 14:29:21 +08:00
Geng Yuchao
6dc7d9b63f feat(ble): Add duplicate filter feature enable on ble for c6. 2023-07-07 14:29:21 +08:00
Rahul Tank
7c6ab05f50 feat(nimble): Add support for PCL Set RSSI VSC and example code for its usage
This commit adds support for sending Vendor Specific HCI commands and handling Vendor Specific HCI
Events in the Nimble stack. It also includes the necessary configuration options and APIs to handle
these commands and events.

The following changes were made:
- Added configuration option to enable support for VSC and VSE
- Added API to send Vendor Specific HCI commands
- Added example code for using the Set RSSI VSC for Power Control

This commit also includes some minor code improvements and bug fixes
2023-07-06 19:54:19 +05:30
Rahul Tank
022ce314c3 Nimble: Add APIs to handle vs HCI commands and events 2023-07-06 19:54:19 +05:30
Rahul Tank
f1b9af72fd Merge branch 'bugfix/sync_reporting_files_v5.1' into 'release/v5.1'
NimBLE : Sync common porting and nimble submodule files (v5.1)

See merge request espressif/esp-idf!24277
2023-07-06 15:05:54 +08:00
cjin
7b70e2eb34 ble: fix cca for esp32c2 2023-07-06 14:05:43 +08:00
Roshan Bangar
fe05003a8f fix(nimble): Fix assert due to controller event while stack deinit 2023-07-06 10:30:36 +05:30
Jiang Jiang Jian
5e3488396a Merge branch 'bugfix/fix_some_bt_controller_bug_v5.1' into 'release/v5.1'
component_bt:Fixed some bluetooth bugs(v5.1)

See merge request espressif/esp-idf!24579
2023-07-06 00:54:40 +08:00
Jiang Jiang Jian
16ff61b36e Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link_5.1' into 'release/v5.1'
Ble dev/support ble light sleep using extra link 5.1

See merge request espressif/esp-idf!24192
2023-07-05 20:32:56 +08:00
Jiang Jiang Jian
71a5663786 Merge branch 'bugfix/hfp_packet_type_err_v5.1' into 'release/v5.1'
Revised (e)SCO configuration parameter sets (v5.1)

See merge request espressif/esp-idf!24346
2023-07-05 20:05:59 +08:00
Jiang Jiang Jian
d682fbeb07 Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v5.1' into 'release/v5.1'
bugfix/Fixed the issue of alarm leak (v5.1)

See merge request espressif/esp-idf!24351
2023-07-05 19:53:09 +08:00
Jiang Jiang Jian
425b660583 Merge branch 'feature/update_avrcp_v1.5_v5.1' into 'release/v5.1'
change(bt/Bluedroid): Update AVRCP version to 1.5 (v5.1)

See merge request espressif/esp-idf!24582
2023-07-05 19:52:09 +08:00
Jiang Jiang Jian
4474b0ac8c Merge branch 'bugfix/resume_ext_scan_pti_in_time_v5.1' into 'release/v5.1'
bt: fix the issue that BLE scan uses high priority incorrectly and causes Wi-Fi unable to work normally on ESP32-C3 and ESP32-S3(backport v5.1)

See merge request espressif/esp-idf!24403
2023-07-05 19:49:05 +08:00
Jiang Jiang Jian
60163c3b0f Merge branch 'bugfix/memory_cleanup_optimization_v5.1' into 'release/v5.1'
Nimble: Fixes for memory leak / optimization (v5.1)

See merge request espressif/esp-idf!24139
2023-07-05 19:42:58 +08:00
wangmengyang
1e7d3425e5 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-05 12:54:59 +08:00
Roshan Bangar
a41f5387c1 NimBLE : Sync porting files 2023-07-05 10:02:58 +05:30
Jiang Jiang Jian
9d47a58750 Merge branch 'bugfix/macro_changes_in_nimble-1.5_v5.1' into 'release/v5.1'
NimBLE : Update macro name changes in nimble-1.5 (v5.1)

See merge request espressif/esp-idf!23745
2023-07-05 12:24:52 +08:00
Rahul Tank
bd0343c9c3 Merge branch 'bugfix/fix_config_option_v5.1' into 'release/v5.1'
Nimble: Fixed setting macro values based on selected configuration (v5.1)

See merge request espressif/esp-idf!24137
2023-07-05 12:16:36 +08:00
Rahul Tank
1ed419e23c Nimble: Removed the extra status field in the enh read transmit power level 2023-07-04 15:48:38 +05:30
Rahul Tank
4e1ec90525 Nimble: Fixed setting macro values based on selected configuration 2023-07-04 15:48:16 +05:30
Rahul Tank
73639cf0b4 Nimble: Fixes for memory leak / optimization 2023-07-04 15:45:22 +05:30
xiongweichao
015555c6fb change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-04 15:52:29 +08:00
xiongweichao
6e9dabe659 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-04 15:03:10 +08:00
chenjianhua
4bf8f8895c Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-07-04 15:03:05 +08:00
xiongweichao
50904e9353 components/bt: Fix crash due to NULL point 2023-07-04 14:55:04 +08:00
Jiang Jiang Jian
11d34b143f Merge branch 'bugfix/sdp_32_and_128_bit_UUID_v5.1' into 'release/v5.1'
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID(v5.1)

See merge request espressif/esp-idf!24442
2023-07-04 12:15:01 +08:00
Jiang Jiang Jian
09f2ab841f Merge branch 'docs/update_esp_hid_host_v5.1' into 'release/v5.1'
[docs] fix documents for Bluetooth HID Host API reference (backport v5.1)

See merge request espressif/esp-idf!24389
2023-07-04 12:14:22 +08:00
Jin Cheng
c020194656 Revised (e)SCO configuration parameter sets 2023-07-04 04:12:35 +00:00
Jin Cheng
4ce9023cd4 Fixed the issue of alarm leak in hf-ag 2023-07-04 04:12:24 +00:00
Jin Cheng
ced0a5747b Fixed the issue of alarm leak in A2DP 2023-07-04 04:12:24 +00:00
Jiang Jiang Jian
56bb50b85e Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
FIxed some BLE bugs (backport v5.1)

See merge request espressif/esp-idf!24275
2023-07-04 12:11:35 +08:00
cjin
e72359fc66 ble:added esp32c6 light sleep support 2023-07-04 12:09:22 +08:00
cjin
3d181f5346 ble:add version num support for esp32c6 chip 2023-07-03 16:16:06 +08:00
Roshan Bangar
fb0cc7189a NimBLE : Update macro name changes in nimble-1.5 2023-07-03 04:58:43 +00:00
cjin
06c6281add ble: support esp32h2 modem clock selection 2023-07-03 11:45:16 +08:00
Island
cd4845e431 Merge branch 'bugfix/fixed_ble_create_sync_fail_v5.1' into 'release/v5.1'
Bugfix/fixed ble create sync fail v5.1

See merge request espressif/esp-idf!24305
2023-07-03 10:59:49 +08:00
Island
61524a2675 Merge branch 'bugfix/esp32c2_slave_report_address_error_v5.1' into 'release/v5.1'
Bugfix/esp32c2 slave report address error v5.1

See merge request espressif/esp-idf!23923
2023-07-03 10:31:20 +08:00
Ilia Lutchenko
0b7e61b95a btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-28 14:11:34 +08:00
zwl
503de45dd8 ble: Fixed the issue of occasional failure to create sync on ESP32-H2 2023-06-25 21:46:41 +08:00
zwl
5d00fd4d60 ble: Fixed the issue of occasional failure to create sync on ESP32-C6 2023-06-25 21:46:13 +08:00
wangmengyang
5fa5f7b2fe component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-25 15:37:41 +08:00
gongyantao
e5899f6a70 resolve the conflicts 2023-06-25 15:37:41 +08:00
Rahul Tank
a2daceb791 Nimble: Expose API to clear all addresses in whitelist out of stack 2023-06-25 10:13:39 +05:30
chenjianhua
b4dcd3bf21 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:06:12 +08:00
chenjianhua
db68d45702 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-16 11:05:49 +08:00
chenjianhua
3758e37024 bluedroid: fixed default extended connection params 2023-06-16 11:02:17 +08:00
zwl
80f3ad1f1b ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-06-05 16:49:48 +08:00
chenjianhua
c5e580e522 Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit d751960b27.
2023-06-02 16:51:07 +08:00
Jiang Jiang Jian
a32201f6ec Merge branch 'bugfix/fix_compilation_error_optimization_v5.1' into 'release/v5.1'
Nimble: Fix compilation issues seen while enabling -O2 optimization (v5.1)

See merge request espressif/esp-idf!23717
2023-05-19 16:48:18 +08:00
Jiang Jiang Jian
cc7c851cb2 Merge branch 'feature/use_api_to_enable_modem_on_esp32h2_v5.1' into 'release/v5.1'
ble: use modem_clock api to set clocks on ESP32-H2

See merge request espressif/esp-idf!23806
2023-05-19 11:01:44 +08:00
Island
43a67a5da3 Merge branch 'feature/esp32c2_enable_rf_temp_compensation_v5.1' into 'release/v5.1'
Feature/esp32c2 enable rf temp compensation v5.1

See merge request espressif/esp-idf!23730
2023-05-18 20:34:30 +08:00
Jiang Jiang Jian
7fcba0fbf8 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!23699
2023-05-18 20:08:25 +08:00
Jiang Jiang Jian
8b7cd4dc08 Merge branch 'bugfix/hfp_ag_idx_invalid_v5.1' into 'release/v5.1'
bt: Fixed out of bounds access due to variable length array(v5.1)

See merge request espressif/esp-idf!23665
2023-05-18 20:07:21 +08:00
Rahul Tank
38a1cfe59c Nimble: Fix compilation issues seen while enabling -O2 optimization 2023-05-18 14:00:33 +05:30
Shen Weilong
83ac726851 ble: use modem_clock api to set clock on ESP32-C6 2023-05-17 20:04:07 +08:00
Jiang Jiang Jian
0ed8499898 Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v5.1' into 'release/v5.1'
Bugfix/a2dp source crash connect to bose speaker (v5.1)

See merge request espressif/esp-idf!23574
2023-05-17 15:10:34 +08:00
Jiang Jiang Jian
0122794a4e Merge branch 'bugfix/deinit_ble_v5.1' into 'release/v5.1'
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM (backport v5.1)

See merge request espressif/esp-idf!23068
2023-05-17 15:09:29 +08:00
Jiang Jiang Jian
b62cbebb81 Merge branch 'feature/expose_addr_resolv_out_stack_v5.1' into 'release/v5.1'
Nimble:Added change to expose addr resolution API outside stack (v5.1)

See merge request espressif/esp-idf!23491
2023-05-16 16:34:11 +08:00
zwl
c907f489d6 ble:fixed build error when disable smp 2023-05-16 16:08:54 +08:00
zwl
9b61156746 ble:esp32c2 add rf temperature compensation 2023-05-16 16:08:54 +08:00
Yuan Mingfu
7e49268933 bugfix: deinit ble for specifies ESP_BT_MODE_BTDM 2023-05-12 14:53:56 +08:00
chenjianhua
b77479df39 bluedroid: fix ble ext adv rand addr setting for NRPA 2023-05-11 14:36:39 +08:00
chenjianhua
ac42a8f2c7 bluedroid: fix ble adv data construct for device name 2023-05-11 14:36:39 +08:00
chenjianhua
e6f018a309 bluedroid: fix ble smp key distribution setting 2023-05-11 14:36:39 +08:00
chenjianhua
2afb56d189 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed remote mic error during encryption procedure
2023-05-11 14:36:39 +08:00
chenjianhua
d751960b27 bluedroid: report disconnect event after BLE link closed 2023-05-11 14:36:39 +08:00
xiongweichao
7ddb440384 bt: Deleted some redundant variables in HFP_AG 2023-05-11 06:09:06 +00:00
xiongweichao
a891aa7e4d bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-11 06:09:06 +00:00
xiongweichao
d3d73ed8b2 bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT 2023-05-11 06:09:06 +00:00
zhiweijian
24cc2d714e Fixed BLE disconnection failure on ESP32 2023-05-08 12:17:09 +08:00
zhiweijian
16696d98c1 Fixed battery profile wrong condition 2023-05-08 11:31:22 +08:00
zwj
daf2622a5b Fixed no error report when own address type is rpa_random and no random address setting 2023-05-08 11:31:06 +08:00
Jin Cheng
8dbe966d89 fix a2dp source crash when connect to Bose speaker 2023-05-04 19:00:20 +08:00
xiongweichao
25e8069532 bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:08:30 +08:00
Wang Meng Yang
b3b85cafb1 Merge branch 'bugfix/fix_ble_hop_sel_v5.1' into 'release/v5.1'
Fixed BLE connection failed to be established when disabled 5.0 feature (backport 5.1)

See merge request espressif/esp-idf!23530
2023-05-04 11:38:06 +08:00
chenjianhua
89c06b3c51 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-04-28 19:30:45 +08:00
Shen Weilong
d6a1ccb27f ble: [ESP32C6][ESP32H2][ESP32C2] updata libble
Fixed the occasional mic error caused by wrong tx cnt
Fixed the BLE connection timeout issue
2023-04-28 17:27:36 +08:00
zwl
e575e0b44a Ble: bugfix for packet loss issue during connection on ESP32C6 2023-04-28 17:27:08 +08:00
Jiang Jiang Jian
0e484e1daa Merge branch 'feature/bt_uses_creationg_with_caps_functions_v5.1' into 'release/v5.1'
BT: Remove "create static" calls from OSI (v5.1)

See merge request espressif/esp-idf!23337
2023-04-27 16:06:10 +08:00
Jiang Jiang Jian
9f80af3770 Merge branch 'bugfix/ble_mesh_fix_heartbeat_set_v5.1' into 'release/v5.1'
ble_mesh: stack: Update the heartbeat filter entry add/remove handling (v5.1)

See merge request espressif/esp-idf!23460
2023-04-27 14:38:27 +08:00
Rahul Tank
34e0ed613a Nimble:Added change to expose addr resolution API outside stack 2023-04-27 10:33:47 +05:30
Jiang Jiang Jian
3ae079ac12 Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate_v5.1' into 'release/v5.1'
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32(backport v5.1)

See merge request espressif/esp-idf!23405
2023-04-27 10:02:17 +08:00
laokaiyao
954a6a2cff esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
wangjialiang
e121775d6c ble_mesh: stack: Update the heartbeat filter entry add/remove handling 2023-04-26 14:17:11 +08:00
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
zwl
cdcdc50cfe Renamed BAH 2022-12-13 18:02:19 +08:00
zwl
a83ee7d406 Fixed some occasional ble issues on ESP32H2BETA2 2022-12-13 17:47:28 +08:00
zwl
0b3490acd8 Optimized the number of npl on ESP32C2 2022-12-13 17:47:28 +08:00
Rahul Tank
4e43694b7c Nimble: Add helper macros to set interval min / max for periodic adv 2022-12-13 13:44:30 +05:30
Rahul Tank
af953e48de Merge branch 'doc/update_nimble_mesh_example_information' into 'master'
Nimble: Update Mesh example documentation

See merge request espressif/esp-idf!21539
2022-12-13 15:24:42 +08:00
Wang Meng Yang
1ac3595bde Merge branch 'bugfix/a2dp_error_code' into 'master'
bt: Update A2DP version to v1.4

Closes BT-2918, BT-2919, and BT-2932

See merge request espressif/esp-idf!21142
2022-12-13 14:56:18 +08:00
chenjianhua
5c533afbae 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-13 10:33:22 +08:00
Rahul Tank
1d9eaccde4 Nimble: Update documentation to include distinction between upstream
mesh example and ESP-BLE-MESH
2022-12-12 18:06:55 +05:30
Zhi Wei Jian
6d676019c1 Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
Bluedroid: fix encrypt keysize of GATT characteristic permission

Closes BT-2992

See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
Zhi Wei Jian
250f2c4a89 Merge branch 'bugfix/fix_ble_conn_param_update' into 'master'
Bluedroid: fix ble connection update with same params

Closes BT-2943

See merge request espressif/esp-idf!21309
2022-12-12 15:18:26 +08:00
Jiang Jiang Jian
706a2c779f Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
bugfix/correct the SR_mode selection when konw nothing about Peripheral

See merge request espressif/esp-idf!21355
2022-12-12 14:57:16 +08:00
Jiang Jiang Jian
f0fd0b7bc3 Merge branch 'rebase/remove_redundant_pm_lock_on_ble' into 'master'
ble: remove redundant pm lock on ble

See merge request espressif/esp-idf!21357
2022-12-12 14:49:23 +08:00
Wang Meng Yang
84e48db373 Merge branch 'feature/support_ble_53_feature_for_pts' into 'master'
Bluedroid: support ble host features for PTS

See merge request espressif/esp-idf!21253
2022-12-12 14:33:37 +08:00
Zhi Wei Jian
6842d2f8c9 Merge branch 'bugfix/fix_mem_not_released_after_controller_init_failed_on_esp32c3' into 'master'
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3

Closes BT-3047 and BT-3025

See merge request espressif/esp-idf!21504
2022-12-12 11:15:34 +08:00
Li Qi Gan
df5c1ffd8b Merge branch 'bugfix/fix_hid_device_vup_without_connection' into 'master'
Bugfix/Fix HID Device can not remove virtually cabled device without a connection

Closes IDFGH-8662

See merge request espressif/esp-idf!21152
2022-12-12 10:08:57 +08:00
Rahul Tank
7b08933d09 Merge branch 'feature/nimble_support_ble_max_conn_num' into 'master'
Nimble:  Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3

See merge request espressif/esp-idf!21498
2022-12-09 21:35:19 +08:00
Zhi Wei Jian
bf3a9a1085 Merge branch 'bugfix/fix_mem_not_free_after_controller_init_failed' into 'master'
Fixed some memory was not released after Bluetooth controller initialization failed on ESP32

Closes BT-3025 and BT-3037

See merge request espressif/esp-idf!21477
2022-12-09 18:57:06 +08:00
cjin
77d870c73a ble: fix occasional assertion on ble rtc intr 2022-12-09 15:23:44 +08:00
zwl
46127774fa Unify controller internal error code on ESP32-C2 2022-12-09 15:23:44 +08:00
cjin
6d83c999c6 ble: remove redundant pm lock on ble 2022-12-09 15:23:44 +08:00
chenjianhua
5a0bc5c1fd bluedroid: fix ble connection update with same params 2022-12-09 14:40:57 +08:00
chenjianhua
2afe5cdc76 bluedroid: add config for GAP service and periodic adv sync transfer 2022-12-09 13:28:31 +08:00
chenjianhua
702e06e09e bluedroid: add internal GATT API for PTS 2022-12-09 13:28:31 +08:00
chenjianhua
fa06476806 bluedroid: add config for robust caching and RPA timeout 2022-12-09 13:28:31 +08:00
chenjianhua
238d1375a8 bluedroid: support GATT robust caching feature 2022-12-09 13:28:31 +08:00
chenjianhua
f4cd0b687d bluedroid: support GATT services database hash calculate 2022-12-09 13:28:31 +08:00
chenjianhua
4a487a6a5c bluedroid: support periodic advertising sync transfer cmd 2022-12-09 13:28:31 +08:00
chenjianhua
6f0d34d323 bluedroid: support LE L2CAP credit based connection 2022-12-09 13:28:31 +08:00
chenjianhua
2048322429 bluedroid: support oob pairing for smp secure connection 2022-12-09 13:28:31 +08:00
Wang Meng Yang
7d7a710b60 Merge branch 'feature/report_acl_conn_cmp_stat_to_app' into 'master'
feature/report ACL link related events to application

Closes BT-2097 and BT-1863

See merge request espressif/esp-idf!19276
2022-12-09 13:10:52 +08:00
Rahul Tank
4bf8886042 Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 2022-12-08 17:23:15 +05:30
zwj
b5a6e9a528 Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3 2022-12-08 17:26:14 +08:00
Jin Cheng
f2f6aef019 correct the SR_mode selection when konw nothing about Peripheral 2022-12-07 09:47:03 +00:00
zwj
e9bfaf9a41 Fixed some memory was not released after bluetooth controller initialization failed on ESP32 2022-12-07 15:04:39 +08:00
Wang Meng Yang
c9b4f1995a Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption' into 'master'
Reduce the stack consumption of BTU_TASK

Closes BT-3022 and BT-2950

See merge request espressif/esp-idf!21433
2022-12-07 11:13:41 +08:00
liqigan
2198c3ed77 fix HID device can not remove virtually cabled device without a connection
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-07 10:36:42 +08:00
jincheng
228bf596dc Added reporting for ACL link related events to application 2022-12-07 02:33:55 +00:00