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
chenjianhua
70bb6c7388
bluedroid: fixed GATT multi notify and robust caching
2023-01-06 20:13:58 +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
Jin Cheng
2e9a180f43
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:47:05 +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
Sumeet Singh
79fbb4add7
NimBLE: Fix incomplete clearing of peer_dev_rec
2022-12-30 17:26:00 +05:30
Rahul Tank
133b2e45e3
Nimble: Removes global min/max definition causing problems with other libraries
2022-12-20 11:21:31 +05:30
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
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
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
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
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
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
Jin Cheng
f2f6aef019
correct the SR_mode selection when konw nothing about Peripheral
2022-12-07 09:47:03 +00: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
Wang Meng Yang
7b1bbd59eb
Merge branch 'bugfix/spp_vfs_memory_leak' into 'master'
...
Component_bt/fix esp_spp_vfs_register memory leak
Closes BT-2344
See merge request espressif/esp-idf!17909
2022-12-06 20:14:51 +08:00
Shen Wei Long
67507baf37
Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
xiongweichao
9d56c4c215
Assert when malloc user_data fail
2022-12-05 20:30:45 +08:00
xiongweichao
6bce9b7029
Fixed memory leak when SPP initialization failed
2022-12-05 20:30:45 +08:00
xiongweichao
4a702a2011
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-05 20:30:43 +08:00
zwj
e5a45f00e4
Reduce the stack consumption of BTU_TASK
2022-12-05 17:01:48 +08:00
Jiang Jiang Jian
12180da408
Merge branch 'contrib/github_pr_9529' into 'master'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
See merge request espressif/esp-idf!19463
2022-12-05 15:37:02 +08:00
chenjianhua
c37184aa85
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-02 15:10:39 +08:00
Shen Weilong
b3d248df95
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:21:22 +08:00
Zhi Wei Jian
18e0cd6214
Merge branch 'feature/support_ble_max_conn_num_to_9' into 'master'
...
Support bluedroid host maximum number of connections to 9
Closes BT-2914, BT-3000, and BT-2915
See merge request espressif/esp-idf!20933
2022-12-02 12:10:27 +08:00
Jiang Jiang Jian
36012433f9
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect' into 'master'
...
component_bt: Fixed a2dp failing to connect again after disconnect
Closes BT-1803
See merge request espressif/esp-idf!16947
2022-11-30 11:56:59 +08:00
xiongweichao
592675fd5b
Fixed incorrect parameters in switching to BTC context
2022-11-30 10:41:54 +08:00
xiongweichao
3268075231
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-11-30 10:41:54 +08:00
xiongweichao
40f6239fd7
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-11-30 10:41:52 +08:00
zhiweijian
957bf03d6a
bluedroid host supports the maximum number of connections to 9
2022-11-29 16:33:17 +08:00
xiongweichao
c497d7d6c1
bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init()
2022-11-29 10:20:47 +08:00
xiongweichao
ecf2eea1d6
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-11-28 20:42:53 +08:00
xiongweichao
cbf3467d4e
Fixed a2dp failing to connect again after disconnect
2022-11-28 11:37:14 +08:00
xiongweichao
cf788a241d
bt: Update HFP version to v1.8
2022-11-23 20:17:22 +08:00
xiongweichao
923cdcf75a
bt: Update A2DP version to v1.4
2022-11-23 20:17:22 +08:00
xiongweichao
33d351898a
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-11-23 20:17:22 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
Rahul Tank
858c5e296d
Merge branch 'bugfix/reattempt_crash' into 'master'
...
NimBLE: Updated check for reattempt connection code
See merge request espressif/esp-idf!21130
2022-11-21 18:37:15 +08:00
Wang Meng Yang
6a8f528e08
Merge branch 'bugfix/fix_hfp_clcc_parser_bug' into 'master'
...
Bugfix/Fix HFP client parse CLCC command response bug
Closes BT-2907
See merge request espressif/esp-idf!20904
2022-11-18 12:16:42 +08:00
isha.pardikar@espressif.com
3a3e7b1401
NimBLE: Fixed going for reattempt connection code
2022-11-17 13:08:22 +05:30
zwj
39c03e0ce0
Fixed errors reported by CI clang_tidy_check
2022-11-16 15:58:31 +08:00
zwj
d074b74e1f
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-16 15:44:29 +08:00
liqigan
df7449615b
fix HFP client parse CLCC command response bug
2022-11-15 15:14:42 +08:00
Jiang Jiang Jian
35faecca57
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected' into 'master'
...
fixed the issue iOS devices cannot initiate connection
Closes IDFGH-4754 and AUD-4085
See merge request espressif/esp-idf!20703
2022-11-11 18:27:50 +08:00
Kevin (Lao Kaiyao)
5bed8fab49
Merge branch 'refactor/rename_h2_to_h4' into 'master'
...
esp32h2: renaming esp32h2 to esp32h4
Closes IDF-6098
See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
isha.pardikar@espressif.com
b950ddb0fd
NimBLE : Change GATT notify/indicate from gattc to gatts
2022-11-08 14:02:54 +05:30
Rahul Tank
1d322f9a8c
Nimble: Allows to use ble_uuid.h
with C++ by changing the BLE_UUIDy_INIT macros
2022-11-07 12:25:34 +05:30
Jiang Jiang Jian
8facf6fbb1
Merge branch 'feature/support_le_power_control' into 'master'
...
Nimble: Add LE Power control HCI Command / Event
See merge request espressif/esp-idf!15773
2022-11-04 17:21:19 +08:00
Jin Cheng
042fd5f895
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-31 11:08:15 +00:00
Wang Meng Yang
d938cb7e28
Merge branch 'bugfix/spp_50005_crash' into 'master'
...
bt: Fixed L2CAP ERTM tx window size being too large causing memory exhaustion in case of multiple SPP connections
Closes BT-2411
See merge request espressif/esp-idf!20228
2022-10-28 17:12:44 +08:00
xiongweichao
01a67d001e
bt: Keep the maximum number of credits unchanged
2022-10-27 19:45:25 +08:00
xiongweichao
7885f80597
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-10-27 19:45:25 +08:00
xiongweichao
ea41a21b0e
bt: Split SPP application layer data packets according to the MTU of the peer
2022-10-27 19:45:25 +08:00
xiongweichao
a0ec1c8291
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-10-27 19:45:25 +08:00
Rahul Tank
fe5d4e0f39
Nimble: Add LE Power CTRL changes
2022-10-27 16:30:44 +05:30
Rahul Tank
a6251da049
Merge branch 'feature/LE_Conn_Subrating' into 'master'
...
Nimble: Stack support for Connection subrating
See merge request espressif/esp-idf!20377
2022-10-26 21:18:33 +08:00
Wang Meng Yang
db9caf4354
Merge branch 'bugfix/spp_vfs_mode_send_data_fail' into 'master'
...
bt: Fixed SPP VFS mode not being able to send data
See merge request espressif/esp-idf!20758
2022-10-26 15:24:41 +08:00
Lu Ai Jun
23cac269f6
Merge branch 'bugfix/handle_buffers_for_ext_adv_rpt' into 'master'
...
Nimble: Allocate memory for ext adv reports from lower priority pool.
See merge request espressif/esp-idf!20678
2022-10-25 15:43:16 +08:00
xiongweichao
bda54af557
bt: Fixed SPP VFS mode not being able to send data
2022-10-25 14:17:45 +08:00
Rahul Tank
5a08ba15b5
Nimble: Stack support for Connection subrating feature
2022-10-25 10:21:46 +05:30
Wang Meng Yang
2cbc83a4c7
Merge branch 'bugfix/fix_gattc_disc_char_by_uuid_panic' into 'master'
...
Bluedroid: correct the length of att read by type pdu
Closes BT-2874
See merge request espressif/esp-idf!20686
2022-10-21 17:24:03 +08:00
Wang Meng Yang
af3e6d6398
Merge branch 'bugfix/esp_spp_write_len_0' into 'master'
...
bt: Fixed esp_spp_write() crash when len is 0
Closes IDFGH-8523
See merge request espressif/esp-idf!20659
2022-10-21 07:47:47 +08:00
xiongweichao
4e895104ef
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-20 06:18:14 +00:00
Jin Cheng
36d8e0b9ad
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-20 06:17:33 +00:00
chenjianhua
bc1762e806
bluedroid: correct the length of att read by type pdu
2022-10-19 21:58:28 +08:00
Rahul Tank
2abc451d90
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-19 14:11:46 +05:30
Wang Meng Yang
55f92ec268
Merge branch 'bt/opt_audio_datapath' into 'master'
...
bt/optimized a2dp_sink audio datapath
Closes IDFGH-8124 and AUD-4106
See merge request espressif/esp-idf!20592
2022-10-18 19:27:29 +08:00
Jin Cheng
0459cf3963
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-10-17 20:57:19 +08:00
Rahul Tank
63e44eef2c
Nimble: esprv_intc_int_set_type() will set bit_map in rom, the parameter
...
intr_num should be the interrupt number directly
2022-10-14 14:06:14 +05:30
Rahul Tank
2ec9f47aa0
Merge branch 'bugfix/close_stack_callback_during_ble_stop' into 'master'
...
Nimble: Added check to deregister stack callback with controller during stack deinit
See merge request espressif/esp-idf!20421
2022-10-12 21:03:26 +08:00
Wang Meng Yang
a5e19246df
Merge branch 'bugfix/fix_gattc_disc_crash' into 'master'
...
Bluedroid: configurable max gattc cache characteristic count
See merge request espressif/esp-idf!19842
2022-10-09 11:31:59 +08:00
chenjianhua
137a7cb592
bluedroid: configurable max gattc cache characteristic count
2022-10-08 17:47:17 +08:00
zwj
01faa7b664
allow bluedroid host to report adv_ind separately
2022-10-08 14:49:36 +08:00
Rahul Tank
81c23740e1
Nimble: Added check to deregister stack callback with controller during
...
stack deinit
2022-10-06 09:31:09 +05:30
Jin Cheng
da44fc9cbe
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-23 17:58:39 +08:00
Chen Jian Hua
76834a767f
Merge branch 'bugfix/fix_ble_adv_tx_power_map' into 'master'
...
Fix ble adv tx power map
Closes IDFGH-8299
See merge request espressif/esp-idf!20225
2022-09-23 16:03:12 +08:00
Rahul Tank
f39869fdf5
Merge branch 'bugfix/reorder_stack_deinit_function' into 'master'
...
Nimble: Removed extra deinit for flow timer
See merge request espressif/esp-idf!20124
2022-09-23 13:43:29 +08:00
cjin
42a07cf16b
fix err using rpa for confirmation calculation
2022-09-21 12:34:41 +00:00
cjin
872baad9b9
mbuf copy hci data error fix
2022-09-21 12:34:41 +00:00