Commit Graph

3095 Commits

Author SHA1 Message Date
Rahul Tank
4b6f22e3f8 Merge branch 'feature/add_duplicate_excep_list_vsc' into 'master'
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble

Closes BLEQABR23-390

See merge request espressif/esp-idf!24772
2023-08-02 14:35:56 +08:00
Island
22914f2a13 Merge branch 'doc/c2_h2_c6' into 'master'
c2 h2 c6 headfile re-organized

See merge request espressif/esp-idf!25078
2023-08-01 23:11:29 +08:00
Rahul Tank
9dafd9f778 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-01 19:27:29 +05:30
Rahul Tank
8ce1c45d6d fix (nimble): Fix warnings generated in GCC13 2023-07-31 18:37:01 +05:30
Geng Yuchao
bcdf8964d6 fix(ble): Fix compile issue when disable duplicate config option in kconfig. 2023-07-31 14:53:48 +08:00
luomanruo
1636061b81 c2 h2 c6 headfile re-organized
c2 c6 h2 cfg_t and addr_t documented

comments for controller_enable
2023-07-31 12:39:43 +08:00
chenjianhua
7083222a2f fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-07-30 19:53:16 +08:00
Zim Kalinowski
456d288a2e Merge branch 'bugfix/remove-unnecessary-define' into 'master'
fix(bt): Removed unnecessary define

See merge request espressif/esp-idf!24918
2023-07-28 14:12:58 +08:00
Luo Man Ruo
aa6a8b79c9 Merge branch 'feature/controller_log' into 'master'
ble: bugfix for esp32c6 and esp32h2

See merge request espressif/esp-idf!24951
2023-07-26 18:07:20 +08:00
Zhang Hai Peng
5d9821829a Merge branch 'doc/organize_header_files_for_esp32c3_esp32s3' into 'master'
docs(bt): Support organizing header files for esp32c3 and esp32s3

See merge request espressif/esp-idf!24874
2023-07-26 16:20:42 +08:00
Wang Meng Yang
27ad736356 Merge branch 'test/bqb_test_btdm_sync_20230711' into 'master'
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support

See merge request espressif/esp-idf!24782
2023-07-26 10:54:15 +08:00
Zhang Hai Peng
2c3454ea8b Merge branch 'bugfix/set_addr_resolution_enable_while_advertising' into 'master'
Bugfix/Fix bug with address resolution enabling during non-connected activities

See merge request espressif/esp-idf!24923
2023-07-26 10:36:41 +08:00
Zhang Hai Peng
47ae2c2c3a Merge branch 'bugfix/support_periodic_adv_len_0' into 'master'
fix(bt): Fix ble periodic advertising data length 0 error

See merge request espressif/esp-idf!24853
2023-07-26 10:34:37 +08:00
zhanghaipeng
9a9ce20e41 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-25 21:53:04 +08:00
luomanruo
c291b02651 esp_rom_printf 2023-07-25 14:40:39 +08:00
luomanruo
3ece525e26 ble update for doc: bugfix for esp32c6 and esp32h2 2023-07-25 14:40:39 +08:00
luomanruo
2a2251487b ble update: bugfix for esp32c6 and esp32h2 2023-07-25 14:40:39 +08:00
wanglai@espressif.com
c9d77f7028 fix(bt/bqb): Modify BQB related configurations 2023-07-25 14:17:28 +08:00
zhanghaipeng
f4b10bd304 docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-23 11:42:03 +08:00
wangjialiang
def6442044 feat(ble_mesh: stack: esp32c6/h2): update Kconfig file to support duplicate scan. 2023-07-21 02:02:21 +00:00
Zim Kalinowski
2b11025981 fix(bt): Removed unnecessary define 2023-07-20 14:35:33 +08:00
wanglai@espressif.com
d1443a91fa feat(bt): Add BQB enabling and rfcomm msc command sending support
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
   only address arg input.
2023-07-19 11:59:07 +08:00
zhanghaipeng
f83664929a fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-18 21:33:56 +08:00
Rahul Tank
bbfb44a0fe fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-18 16:21:09 +05:30
Shen Weilong
e9e6372690 feat(ble): Added ble examples for multiple connections 2023-07-18 12:05:11 +08:00
Island
0b2909bee7 Merge branch 'update/ble_mesh_debug_log_level_update' into 'master'
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level

Closes BLEQABR23-391

See merge request espressif/esp-idf!24768
2023-07-14 16:56:05 +08:00
Jiang Jiang Jian
4b484574cd Merge branch 'bugfix/esp32c6_eco1_ble_lpclk_main_xtal' into 'master'
support 40 MHz XTAL as BLE low power clock source of esp32c6 eco1

Closes WIFI-5909 and WIFI-6114

See merge request espressif/esp-idf!24235
2023-07-14 16:26:56 +08:00
cjin
9578fdc250 ble : remove extra retention cnt upon deinit temporarily 2023-07-14 10:49:17 +08:00
Liu Linyan
7eabe1c325 update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level 2023-07-13 14:27:02 +08:00
chenjianhua
4e140bd2f9 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-13 12:12:57 +08:00
xiongweichao
381292df31 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-07-13 10:32:16 +08:00
Rahul Tank
027c43e148 fix(nimble): Increase BLE_HOST_SEM_COUNT to allow more semaphore allocation 2023-07-11 17:14:12 +05:30
Rahul Tank
b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30
Shen Wei Long
e46e3f18f1 Merge branch 'feature/update_ble_libs' into 'master'
ble: Added APIs for QA test

See merge request espressif/esp-idf!24616
2023-07-07 19:53:30 +08:00
isha.pardikar@espressif.com
85661d38e6 feat (NimBLE): Add proximity sensor as a service 2023-07-06 17:59:54 +05:30
Rahul Tank
78c33778a9 Merge branch 'bugfix/refactor_nimble_header' into 'master'
refactor (nimble): Refactor nimble header files

Closes DOC-5615

See merge request espressif/esp-idf!24432
2023-07-06 20:17:35 +08:00
Jin Chen
d918b5226c Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
ble: support esp32h2 modem clock selection

Closes EBLE50Y23-129

See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
Island
a7e5d49d10 Merge branch 'feature/update_ble_duplicte_vs_hci_lib_fix' into 'master'
Feature/update ble duplicte vs hci lib fix

See merge request espressif/esp-idf!24521
2023-07-05 21:28:31 +08:00
Shen Weilong
303b330bca ble: Added APIs for QA test 2023-07-05 20:18:09 +08:00
Jiang Jiang Jian
5354759735 Merge branch 'feature/update_avrcp_v1.5' into 'master'
bt: Update AVRCP version to v1.5

Closes BT-3283 and BT-2945

See merge request espressif/esp-idf!23959
2023-07-05 19:38:01 +08:00
Rahul Tank
b0b722da33 Merge branch 'bufix/fix_assert_while_stack_deinit' into 'master'
NimBLE :  Fix assert due to controller event while stack deinit

Closes IDFGH-10527

See merge request espressif/esp-idf!24520
2023-07-05 16:24:27 +08:00
Rahul Tank
3c902677d8 refactor(nimble): Refactor header files
Refactor header files to separate out APIs developed by Espressif for
   documentation purpose
2023-07-05 13:50:33 +05:30
Rahul Tank
1268530ace Merge branch 'feature/add_support_pcl_vsc' into 'master'
fix(Nimble): Add VSC / VSE handling code and structure for PCL Set RSSI

See merge request espressif/esp-idf!24181
2023-07-05 15:33:43 +08:00
Chen Jian Hua
5ebe3b0fc2 Merge branch 'fix/print_bt_mac_for_esp32' into 'master'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32

See merge request espressif/esp-idf!24552
2023-07-05 10:46:28 +08:00
Geng Yuchao
d9d9d4c36b fix(ble): Fix duplicate var length issue 2023-07-04 11:45:00 +08:00
Geng Yuchao
f226e75f4b fix(ci): Fix declaration isn't a prototype issue 2023-07-04 11:45:00 +08:00
Geng Yuchao
ba7b365f23 feat(ble): Update ble lib to 6f9ef119 2023-07-04 11:45:00 +08:00
Geng Yuchao
d64f902c95 change(ble): Enable pdu type trig in duplicate in default mode as before 2023-07-04 11:45:00 +08:00
Geng Yuchao
0b2fde8a17 feat(ble): Add duplicate refersh function support for esp32h2 2023-07-04 11:44:59 +08:00
Geng Yuchao
d2b9583c45 feat(ble): Add support to scan period refresh duplicate cache list 2023-07-04 11:44:50 +08:00
Chen Jian Hua
f71b23e767 Merge branch 'bugfix/bluedroid_ble_adv_length_0_error' into 'master'
bluedroid: fix ble adv length 0 error

See merge request espressif/esp-idf!24496
2023-07-04 11:00:43 +08:00
zhanghaipeng
18a1a01764 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-04 11:00:32 +08:00
Geng Yuchao
fbb88ef979 feat(ble): Add duplicate filter feature enable on ble for h2. 2023-07-04 10:40:04 +08:00
Geng Yuchao
2310c68966 feat(ble): Add duplicate filter feature enable on ble for c6. 2023-07-04 10:39:05 +08:00
cjin
3d2342df6c ble: support esp32h2 modem clock selection 2023-07-03 16:05:42 +08:00
Roshan Bangar
de0798c460 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-03 04:57:20 +00:00
xiongweichao
e86b367f21 change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-03 03:57:26 +00:00
Wang Meng Yang
fe04d6dad9 Merge branch 'bugfix/fix_some_bt_controller_bug' into 'master'
component_bt:Fixed some bluetooth bugs

Closes AUD-3566 and ESPCS-871

See merge request espressif/esp-idf!19247
2023-06-30 20:57:26 +08:00
Rahul Tank
6eb1a8f51f fix (Nimble): Add PCL Set RSSI VSC and example code for its usage
This adds API to send a vs hci command and an event to handle vs hci events
Also added information for Set RSSI VSC for Power control.
2023-06-30 12:26:56 +05:30
Rahul Tank
7f8ecb218a Nimble: Add APIs to handle vs HCI commands and events 2023-06-30 12:26:56 +05:30
Island
9b5f3c69a9 Merge branch 'ble_dev/esp32c6_support_power_save_example' into 'master'
ble: support esp32c6 power save example

Closes EBLE50Y23-148

See merge request espressif/esp-idf!24385
2023-06-30 14:36:26 +08:00
Island
d9bbffc997 Merge branch 'bugfix/added_chip_based_cca_config' into 'master'
ble: fix cca for esp32c2

See merge request espressif/esp-idf!24254
2023-06-30 14:07:34 +08:00
zhanghaipeng
e74b07f717 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-06-30 12:03:45 +08:00
cjin
b37f172cc6 ble: fix cca for esp32c2 2023-06-29 19:59:16 +08:00
chenjianhua
e748546365 bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 18:03:49 +08:00
cjin
c460a1c1af ble: support esp32c6 power save example 2023-06-29 14:35:48 +08:00
Sumeet Singh
4d3e48ad1f Merge branch 'feature/exposed_gap_service_macros_to_menuconfig' into 'master'
NimBLE: Exposed macros used by GAP service to menuconfig

See merge request espressif/esp-idf!23876
2023-06-28 18:34:30 +08:00
Wang Meng Yang
52071f4e44 Merge branch 'bugfix/sdp_32_and_128_bit_UUID' into 'master'
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID

Closes IDFGH-10312

See merge request espressif/esp-idf!24173
2023-06-28 11:34:51 +08:00
Island
f63719837a Merge branch 'bugfix/fixed_ble_create_sync_fail' into 'master'
Bugfix/fixed ble create sync fail

See merge request espressif/esp-idf!24304
2023-06-28 10:27:18 +08:00
Sumeet Singh
9de43c3bef NimBLE: Exposed macros used by GAP service to menuconfig 2023-06-27 12:56:55 +05:30
Ilia Lutchenko
418ffd147b 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-26 10:05:50 +02:00
Jiang Jiang Jian
51aaed8c22 Merge branch 'bugfix/resume_ext_scan_pti_in_time' into 'master'
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

Closes BT-3313

See merge request espressif/esp-idf!24184
2023-06-26 10:37:24 +08:00
Jiang Jiang Jian
d68898785a Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit' into 'master'
bugfix/Fixed the issue of alarm leak

See merge request espressif/esp-idf!24350
2023-06-26 10:21:32 +08:00
zwl
4bf95fb638 ble: Fixed the issue of occasional failure to create sync on ESP32-H2 2023-06-25 21:42:41 +08:00
zwl
649ce4f5b0 ble: Fixed the issue of occasional failure to create sync on ESP32-C6 2023-06-25 21:37:58 +08:00
xiongweichao
2fa475bc2c 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-06-25 16:32:07 +08:00
xiongweichao
3fd18692a2 components/bt: Fix crash due to NULL point 2023-06-25 16:18:30 +08:00
wangmengyang
f6c41c5cca 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-06-25 03:54:32 +00:00
Jin Cheng
ec8a34628f Fixed the issue of alarm leak in hf-ag 2023-06-21 15:24:05 +08:00
Jin Cheng
68c9a492ac Fixed the issue of alarm leak in A2DP 2023-06-21 15:24:05 +08:00
Gong Yan Tao
d2fb7240a7 Merge branch 'docs/update_esp_hid_host' into 'master'
[docs] fix documents for Bluetooth HID Host API reference

Closes BT-3328

See merge request espressif/esp-idf!17602
2023-06-21 15:01:32 +08:00
wangmengyang
d4ac2380e7 component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-21 12:02:58 +08:00
Jiang Jiang Jian
3d23b3dfec Merge branch 'bugfix/fix_idfgh_10366' into 'master'
Fixed memory leak when setting adv data on ESP32

See merge request espressif/esp-idf!24274
2023-06-20 19:11:24 +08:00
Jiang Jiang Jian
7cea35193b Merge branch 'bugfix/fix_bluedroid_host_build_warning_when_log_is_disabled' into 'master'
Fixed bluedroid host build warning when log is disabled

See merge request espressif/esp-idf!24003
2023-06-20 15:51:11 +08:00
Rahul Tank
db5a2638dd Merge branch 'bugfix/expose_clear_all_wl_api' into 'master'
Nimble: Expose API to clear all addresses in whitelist out of stack

See merge request espressif/esp-idf!24084
2023-06-19 23:18:13 +08:00
Wang Meng Yang
0a8610ab7b Merge branch 'bugfix/hfp_packet_type_err' into 'master'
Revised (e)SCO configuration parameter sets

Closes FCS-1239

See merge request espressif/esp-idf!24166
2023-06-19 13:40:21 +08:00
Island
81e418b1f2 Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link' into 'master'
ESP32C6: Add BLE light sleep support using extra link

Closes IDF-6528

See merge request espressif/esp-idf!23720
2023-06-19 11:47:58 +08:00
Jin Cheng
4b46ecf6f2 Revised (e)SCO configuration parameter sets 2023-06-16 18:05:41 +08:00
cjin
f3457133f6 ble:added esp32c6 light sleep support 2023-06-16 15:37:03 +08:00
Song Ruo Jing
921713fff4 uart: Support LP_UART port with UART driver on esp32c6 2023-06-16 07:31:40 +00:00
gongyantao
028f7779f5 resolve the conflicts 2023-06-16 15:20:25 +08:00
Jiang Jiang Jian
912de2a8f7 Merge branch 'ble_dev/esp32c6_eco1_changes' into 'master'
ble:add version num support for esp32c6 chip

Closes EBLE50Y23-76 and BLERD2QA23-65

See merge request espressif/esp-idf!23472
2023-06-16 15:20:06 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
chenjianhua
4681c59eeb Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-06-15 21:10:07 +08:00
Chen Jian Hua
b9e89da5f7 Merge branch 'bugfix/fix_bleqabr23_226' into 'master'
Fixed disconnection delay on peripheral when slave latency not zero on ESP32

See merge request espressif/esp-idf!24168
2023-06-14 14:15:23 +08:00
Wang Meng Yang
126b98d889 Merge branch 'bugfix/fix_idfgh_10045' into 'master'
Bluedroid: fixed compile warning when optimize for performance

See merge request espressif/esp-idf!24161
2023-06-14 12:22:06 +08:00
Wang Meng Yang
40d1d7f43b Merge branch 'bugfix/fix_bleqabr23_213' into 'master'
Bluedroid: fixed default extended connection params

See merge request espressif/esp-idf!24025
2023-06-14 12:21:51 +08:00
Armando
101e6a18eb esp32p4: introduce the target
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
chenjianhua
909ec6673e 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-12 12:12:14 +08:00
chenjianhua
0634bb904e bluedroid: fixed compile warning when optimize for performance 2023-06-11 16:06:07 +08:00