Chen Jian Hua
809bd5a52c
Merge branch 'feature/support_gatt_read_multi_variable' into 'master'
...
Bluedroid: add GATT read multi variable API and EVT
See merge request espressif/esp-idf!21990
2023-04-27 14:18:22 +08:00
xiongweichao
f04b663ac4
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-04-27 10:06:18 +08:00
Rahul Tank
10e93dc1f4
Nimble:Added change to expose addr resolution API outside stack
2023-04-26 17:47:47 +05:30
Zhi Wei Jian
0b5b9520ba
Merge branch 'bugfix/fix_own_addr_is_rap_random_err' into 'master'
...
Fixed no error report when own address type is rpa_random and no random address setting
Closes BLEQABR23-159
See merge request espressif/esp-idf!23363
2023-04-26 20:15:53 +08:00
xiongweichao
481034060a
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-04-26 19:31:07 +08:00
xiongweichao
de24e9b86e
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-04-26 17:51:16 +08:00
chenjianhua
0f7446f93f
bluedroid: support gatts show local database
2023-04-23 17:22:04 +08:00
zwj
7d1e7d2766
Fixed no error report when own address type is rpa_random and no random address setting
2023-04-23 16:15:39 +08:00
zhiweijian
1d548ae1f2
Fixed battery profile wrong condition
2023-04-23 11:15:57 +08:00
Zhi Wei Jian
bc216802c6
Merge branch 'bugfix/fix_bleqabr23_98' into 'master'
...
Bluedroid: fix GATTC cache address saving
Closes BLEQABR23-98 and BLEQABR23-34
See merge request espressif/esp-idf!22970
2023-04-17 10:54:31 +08:00
chenjianhua
c8a380500a
bluedroid: report disconnect event after BLE link closed
2023-04-12 11:13:15 +08:00
Jiang Jiang Jian
18af256a84
Merge branch 'bugfix/fix_bleqabr23_138' into 'master'
...
Bluedroid: report status after clearing the BLE white list
See merge request espressif/esp-idf!23094
2023-04-11 09:59:24 +08:00
chenjianhua
7ceba49fda
bluedroid: fix GATTC cache address save
2023-04-10 14:33:31 +08:00
Jin Cheng
b4f6e585d4
fix a2dp source crash when connect to Bose speaker
2023-04-10 05:11:04 +00:00
chenjianhua
3a7dea67eb
bluedroid: report status after clearing the BLE white list
2023-04-10 12:12:32 +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
isha.pardikar@espressif.com
810f719ee1
NimBLE : Fixed config options in esp_nimble_cfg.h
2023-03-31 16:21:44 +05:30
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
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
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
isha.pardikar@espressif.com
fc0aa4d083
NimBLE : Added heart rate measurement as a service
2023-03-23 11:04:00 +05:30
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
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
zhiweijian
7ad9e885e4
If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED
2023-03-20 15:54:32 +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
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
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
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
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
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
Marius Vikhammer
24e0d91cd0
docs: fix broken links
2023-03-06 17:29:10 +08:00
Shen Weilong
f39648040e
BLE: Add ble support for esp32h2
2023-03-06 10:43:17 +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
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
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
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
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
Rahul Tank
826495a145
Nimble: Added return value (success / failure ) to nimble_port_init
2023-01-31 12:01:02 +05:30
chenjianhua
0976a1d7f6
bluedroid: add periodic adv sync transfer API and EVT
2023-01-30 14:32:04 +08:00
zwl
38c5f239be
Enabled PCL feature on ESP32C6 BT Controller
2023-01-16 12:28:44 +08:00
chenjianhua
708ca0181c
bluedroid: support get bluetooth device name
2023-01-13 10:39:57 +08:00
chenjianhua
e1888dbb96
bluedroid: add GATT read multi variable API and evt
2023-01-10 20:44:23 +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
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
cjin
b345e89b4a
fix on data len change cmd malfunction
2022-09-21 12:34:41 +00:00
Rahul Tank
c40fcb1089
Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process
2022-09-21 09:40:56 +05:30
Chen Jian Hua
6014e92a8d
Merge branch 'bugfix/fix_ble_gen_rpa_by_host' into 'master'
...
Bluedroid: fix ble rpa generate and update by host
See merge request espressif/esp-idf!19617
2022-09-20 14:49:26 +08:00
Jiang Jiang Jian
09f7589ef2
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err' into 'master'
...
Fixed extend adv tx power range error
See merge request espressif/esp-idf!20191
2022-09-20 10:45:25 +08:00
Jiang Jiang Jian
5aeba87e51
Merge branch 'bugfix/change_mblock_size_on_esp32c2' into 'master'
...
change block1 size and num for esp ble controller
Closes BLE-157
See merge request espressif/esp-idf!20183
2022-09-19 17:21:53 +08:00
chenjianhua
940ee1f7f4
fix ble adv tx power map
2022-09-19 12:02:40 +08:00
chenjianhua
8598610ccd
bluedroid: fix ble rpa generate and update by host
2022-09-16 16:54:58 +08:00
zwj
e9f4a4e92d
Fixed extend adv tx power range error
2022-09-16 15:45:40 +08:00
Jiang Jiang Jian
f03ec22327
Merge branch 'bugfix/fix_vhci_hack_for_external_bt' into 'master'
...
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled
See merge request espressif/esp-idf!19876
2022-09-16 14:16:52 +08:00
zwl
9f940f14f6
change block1 size and num for esp ble controller
2022-09-14 20:02:09 +08:00
Island
71bc1a28cc
Merge branch 'fix/DOC_3566' into 'master'
...
Updating doc for the issue doc_3566
Closes DOC-3566
See merge request espressif/esp-idf!19971
2022-09-08 19:27:18 +08:00
Rahul Tank
95c057861d
Nimble: Added check to not include VHCI buffer handling code if
...
controller support is disabled
2022-09-08 05:52:34 +00:00
Jiang Jiang Jian
735063c508
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting' into 'master'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
Closes BT-2699
See merge request espressif/esp-idf!19993
2022-09-08 10:41:47 +08:00
satish.solanke
50ec07c45d
updating doc for the issue doc_3566
2022-09-07 15:05:49 +05:30
Wang Meng Yang
a026d9816a
Merge branch 'feature/sink_support_mono' into 'master'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data
Closes BT-2698
See merge request espressif/esp-idf!19759
2022-09-07 11:59:57 +08:00
zwj
2942a98f5d
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:12:30 +08:00
Rahul Tank
730b932de0
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
2022-09-06 15:15:21 +05:30
Wang Meng Yang
4eb98adf43
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable' into 'master'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
Closes IDFGH-8175 and BT-2744
See merge request espressif/esp-idf!19859
2022-09-05 13:38:18 +08:00
Roshan Bangar
c401efa7bb
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-01 05:03:40 +00:00
xiongweichao
80e3d965ae
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-01 11:47:46 +08:00
xiongweichao
697755dfe5
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-08-25 11:36:28 +08:00
Rahul Tank
6e5389b1f8
Nimble: Fix memory corruption in reconnection attempt code
2022-08-24 13:39:27 +05:30
Rahul Tank
84bbb2ac7f
Merge branch 'bugfix/increase_leading_space_for_alloc' into 'master'
...
Nimble: Add extra space for buffer allocation for ESP IP
See merge request espressif/esp-idf!19574
2022-08-24 11:42:48 +08:00
Rahul Tank
5d087feb6e
Nimble: Add extra space for buffer allocation for ESP IP
2022-08-23 09:48:23 +05:30
chenjianhua
0067c28013
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-08-19 11:03:15 +08:00
chenjianhua
eaa9897386
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-08-19 11:03:15 +08:00
chenjianhua
e29170bce9
Bluedroid: Configurable option to modify max gatt service attributes count
2022-08-17 14:36:12 +08:00
Wang Meng Yang
4f4edef113
Merge branch 'bugfix/fix_ble_sch_arb_assert' into 'master'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3
Closes IDFGH-7620, IDFGH-7694, and BT-2637
See merge request espressif/esp-idf!19519
2022-08-15 21:54:07 +08:00
zwj
e414dd7e07
fix extend adv set remove failed
2022-08-11 20:50:15 +08:00
wangmengyang
9a6101bfed
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:09:44 +08:00
Lin Rui Hao
68bd2badf4
Merge branch 'contrib/github_pr_9498' into 'master'
...
bluedroid: fix member typo
Closes IDFGH-7987
See merge request espressif/esp-idf!19436
2022-08-09 11:13:33 +08:00
linruihao
fe04cdb88c
Fixd union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-08 19:40:25 +08:00
tgotic
b513ad9df0
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-04 16:49:55 +02:00
satish.solanke
bedea8b265
Support of Micro defination in header file
2022-08-03 14:56:44 +00:00
Karl Wang
2462003fde
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-02 17:40:00 +08:00
wangmengyang
f402778320
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-02 17:40:00 +08:00
Karl Wang
8c756dad23
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-02 17:40:00 +08:00
wangmengyang
85fc8321c8
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-02 17:37:24 +08:00
wangmengyang
9bda2381ea
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-02 14:14:07 +08:00
wangmengyang
5f074e1336
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-02 14:14:07 +08:00
wangmengyang
0a1fa3e204
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-02 14:14:07 +08:00
wangmengyang
9a5f854760
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-02 14:14:07 +08:00
Karl Wang
a075aa564f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
2022-08-02 14:14:07 +08:00
wangmengyang
57336e0a0e
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-02 14:14:07 +08:00
wangmengyang
3c8671f592
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-02 14:14:07 +08:00
wangmengyang
578bfa3600
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-02 14:14:07 +08:00
wangmengyang
81c87cf4ca
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-02 14:14:07 +08:00
weitianhua
e51df179ad
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 11:37:46 +08:00
Rahul Tank
2be66a6151
Nimble: Configurable option to modify max gatt procedures allowed for GATT
...
client
2022-07-27 08:59:37 +00:00
GengYuchao
964304b751
Change the selection based on target to function selection
2022-07-20 13:06:56 +08:00
GengYuchao
298583b116
Fix nimble port api adapt remove esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
GengYuchao
5430ad0519
Remove esp_nimble_hci_and_controller_init function
2022-07-20 11:44:00 +08:00
Jiang Jiang Jian
7497a5287c
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow' into 'master'
...
Fixed bluedroid host memory overflow
Closes BT-2397
See merge request espressif/esp-idf!18897
2022-07-15 11:52:33 +08:00
zhiweijian@espressif.com
4bd267ac9a
Fixed bluedroid host memory overflow
2022-07-14 19:35:22 +08:00
Isha Pardikar
183100fc28
Nimble: Fixed compilation error for esp32c2 and esp32h2 when os_mbuf_free is called.
2022-07-14 09:41:05 +05:30
Jiang Jiang Jian
258585f50a
Merge branch 'bugfix/correct_blecmd_for_rf_path' into 'master'
...
Bluedroid: Fixed compilation error due to incorrect macro name
See merge request espressif/esp-idf!18983
2022-07-12 19:35:40 +08:00
Jiang Jiang Jian
4c1f114eab
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data' into 'master'
...
components/bt: Fix ble sync periodic adv report will lost data
See merge request espressif/esp-idf!18957
2022-07-12 16:18:01 +08:00
Rahul Tank
ac54468d1b
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-11 16:40:51 +05:30
xiewenxiang
947d082b44
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:51:22 +08:00
Wang Meng Yang
13d141de27
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg' into 'master'
...
bugfix/fix the issue of functions not defined when enable memory debug
Closes IDFGH-9248
See merge request espressif/esp-idf!18802
2022-07-11 15:36:46 +08:00
Wei Tian Hua
8699a10929
Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
...
component_bt: Change HF AG API
See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
jincheng
3de3a8b354
fix the issue of functions not defined when enable memory debug
...
Closes https://github.com/espressif/esp-idf/issues/9248
2022-07-08 10:57:29 +08:00
Rahul Tank
d3e7d9b090
NimBLE: Removed extra event init done during periodic_sync_alloc
2022-07-06 09:50:17 +05:30
chenjianhua
3a1a5e284a
Bluedroid: fix channel map of ext adv params check
2022-07-05 16:02:37 +08:00
GengYuchao
3be5ab7268
Update nimble port init changes
2022-07-05 02:40:49 +00:00
GengYuchao
9e1466a34d
move init func to nimble
2022-07-05 02:40:49 +00:00
morris
7863c1bc45
Merge branch 'bugfix/fix_rtc_freq_err_for_h2_beta1' into 'master'
...
Bugfix/fix rtc freq err for h2 beta1
See merge request espressif/esp-idf!18682
2022-07-04 16:46:17 +08:00
Wang Meng Yang
cb74a64768
Merge branch 'feature/support_for_wr_sugg_data_len_cmd' into 'master'
...
feature/added read-write sugg default datalen cmds
See merge request espressif/esp-idf!17863
2022-07-04 15:17:44 +08:00
Jiang Jiang Jian
c154d09c52
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid' into 'master'
...
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
Closes IDFGH-7647
See merge request espressif/esp-idf!18617
2022-07-04 14:12:35 +08:00
Onkar
731a8d357f
feature/added read-write sugg default datalen cmds
2022-07-03 13:50:12 +05:30
GengYuchao
b474c83840
Add support for esp32h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
e1d07c0cf2
Support H2 periodic advertiser list option on h2
2022-06-30 17:02:00 +08:00
liqigan
3e3a0cdfdb
fix sink wrong sniff params which caused by HID porting
2022-06-29 10:11:56 +08:00
weitianhua
b4aa3269e7
Change HF AG APIs' NamingMethod
...
1. Remove parameter of esp-bt_hf_init & esp_bt_hf_deinit API
2. Change API names
2022-06-22 15:34:05 +08:00
Darian
e9385aa5c0
Merge branch 'bugfix/bluedroid_typos' into 'master'
...
Bluedroid: Fix breaking and non-breaking typos
Closes IDFGH-5103
See merge request espressif/esp-idf!18596
2022-06-22 14:31:50 +08:00
jincheng
b5d1464180
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-06-22 11:33:04 +08:00
Onkar
f2384a4b83
Bugfix: bond not saved properly after re-pairing
2022-06-21 19:36:35 +08:00
Darian Leung
a8805e5b01
bluedroid: Fix non breaking typos
2022-06-21 19:07:25 +08:00
Darian Leung
c2e098c10e
bluedroid: Fix breaking change typos
...
This commit fixes typos that are breaking changes (i.e., macros, types, and functions)
in the bluedroid API. Migration notes for v5.0 have also been added.
Closes https://github.com/espressif/esp-idf/issues/6887
2022-06-21 19:07:25 +08:00
Jiang Jiang Jian
3cc134672b
Merge branch 'feature/optimize_bluetooth_architecture_0616' into 'master'
...
Feature/optimize bluetooth architecture
See merge request espressif/esp-idf!18553
2022-06-21 01:35:12 +08:00
GengYuchao
d0a1fb1802
Fix nimble repo for timer and co_count
2022-06-20 21:18:54 +08:00
GengYuchao
0184d892ef
Fix for prototype
2022-06-20 21:18:20 +08:00
xiongweichao
90510fb597
Fix crash when sending data by spp
2022-06-20 17:12:07 +08:00
GengYuchao
42d70086ae
Sync nimble fix for bt component
2022-06-20 17:00:12 +08:00
GengYuchao
7916f45d58
Update the host configuration options file. Update the osi malloc function.
2022-06-20 17:00:12 +08:00
GengYuchao
633e9282b7
Update the CMake compilation architecture and update the controller configuration options
2022-06-20 17:00:12 +08:00
Jiang Jiang Jian
20e5a989a2
Merge branch 'feature/esp32c2_support_ble_sleep' into 'master'
...
Support ESP32C2 BLE modem sleep and lightsleep
See merge request espressif/esp-idf!18432
2022-06-15 15:39:55 +08:00
Jiang Jiang Jian
60327aeea4
Merge branch 'bugfix/avdtp_genreal_reject_format_error' into 'master'
...
component_bt: Fix AVDTP general reject format error
See merge request espressif/esp-idf!17636
2022-06-15 11:07:55 +08:00
Jiang Jiang Jian
49c53dbe03
Merge branch 'feature/update_hfp_ag_version' into 'master'
...
component_bt: Update hfp_ag version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!18329
2022-06-15 11:05:36 +08:00
zwj
a9509ec34c
disable BT_BLE_RPA_SUPPORTED by default and enabled by default for other chips
2022-06-14 19:57:07 +08:00
zwj
fd90341138
support ble modem sleep and light sleep
2022-06-14 19:52:50 +08:00
xiongweichao
d52cb7d6e4
update hfp_ag version to 1.7.2
2022-06-07 17:17:03 +08:00
Rahul Tank
27b34d60c1
Nimble: Added check to free keypair if already allocated to avoid memory
...
leak. Added an API that allows to free keypair
2022-06-07 13:38:15 +05:30
xiongweichao
a2ea4f5bc9
Fix AVDTP general reject format error.
2022-06-07 02:45:46 +00:00
Geng Yuchao
cef8c506fd
Synchronously modify the nibmle repo
2022-06-04 12:11:31 +08:00
Geng Yuchao
3ee9ce9d06
Sync nimble repo
2022-06-04 01:00:04 +08:00
Geng Yuchao
a692abd423
Optimize the Cmake file structure, support esp32c2.
...
Follow Kconfig to update the nimble config macro name.
2022-06-03 22:41:33 +08:00
Geng Yuchao
02636688eb
Refactor Kconfig options structure
2022-06-03 22:41:20 +08:00
satish.solanke
3a42007680
Bluedroid porting changes for esp32h2
...
created common Kconfig for common flag of nimbble and Bluedroid
fix compile error
created common cfg file for controller
fix the compilation error on tip of master
added common controller flags and fixed compilation error
sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Jiang Jiang Jian
4ed2e6130a
Merge branch 'feature/add_l2cap_ertm_api' into 'master'
...
Component_bt:Add l2cap and sdp api
Closes IDF-4487
See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c
Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
...
component_bt: add avdtp delay reporting
Closes BT-2308
See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
Jiang Jiang Jian
6884d98c23
Merge branch 'bugfix/add_bda_to_read_rmt_name_param' into 'master'
...
Bugfix/add bda to read rmt name param
Closes IDFGH-7459
See merge request espressif/esp-idf!18279
2022-05-29 14:13:39 +08:00
xiongweichao
b777a53fe8
support add and search raw sdp record
2022-05-28 23:34:21 +00:00
xiongweichao
4faf4e760a
sdp support create and search PBAPC record
2022-05-28 23:34:21 +00:00
xiongweichao
a317cb1b0a
Split jv_rfcomm and jv_l2cap
2022-05-28 23:34:21 +00:00
xiongweichao
740dc8795d
rfcomm supports the use of ERTM
2022-05-28 23:34:21 +00:00
xiongweichao
1d9fd4707a
add sdp api
2022-05-28 23:34:21 +00:00
xiongweichao
4719db7047
add l2cap api
2022-05-28 23:34:21 +00:00
xiongweichao
e2e74e2b8b
Modify the format of esp_a2dp_api.h comments
2022-05-28 23:31:45 +00:00
xiongweichao
b0551ef456
add source handle the delay report
2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b
add sink send delay reporting
2022-05-28 23:31:45 +00:00
keymoon
3027aa84be
assign value to uninitialized bt_addr
field
2022-05-27 01:07:06 +09:00
keymoon
2c4b135be6
add address field to read_rmt_name_param
2022-05-26 23:24:56 +09:00
Rahul Tank
b45723b92e
Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
...
NimBLE: Enabled ESP Timer support for esp32h2
See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Marius Vikhammer
030e52f5d4
Merge branch 'feature/improve_doc_link_check' into 'master'
...
docs: fix broken links and re-enable linkchecker
Closes IDF-2640
See merge request espressif/esp-idf!17919
2022-05-19 15:52:17 +08:00
Rahul Tank
95db4bbf05
NimBLE: Enabled ESP Timer support for esp32h2
2022-05-17 12:49:40 +05:30
Jiang Jiang Jian
8377a3fff1
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection' into 'master'
...
component/bt: check the ble ext adv parameters
See merge request espressif/esp-idf!15977
2022-05-16 16:13:56 +08:00
Anton Maklakov
b69efa20ad
bluedroid: fix -Wchar-subscripts warning
...
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov
e44d7fbaed
bluedroid: fix argument type according its usage
2022-05-13 06:55:22 +00:00
Anton Maklakov
9a5f0f6c53
bluedroid: fix argument type to correct narrow one
2022-05-13 06:55:22 +00:00
Anton Maklakov
29b2beffc0
bluedroid: fix type for passing argument in function
2022-05-13 06:55:22 +00:00
Anton Maklakov
87bf3260dd
bluedroid: fix argument type in functions
2022-05-13 06:55:22 +00:00
Marius Vikhammer
34910bee07
Merge branch 'bugfix/fix_doxygen_warnings' into 'master'
...
docs: fix doxygen warnings
See merge request espressif/esp-idf!18071
2022-05-12 16:54:52 +08:00
Marius Vikhammer
c8617fe965
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
weitianhua
4c370cc437
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-05-11 14:30:20 +00:00
Marius Vikhammer
d7053c38cc
docs: fix broken links
2022-05-07 13:09:41 +08:00
Jiang Jiang Jian
34211f898c
Merge branch 'docs/update_esp_hid_device' into 'master'
...
[docs] fix documents for Bluetooth HID Device API reference and example
See merge request espressif/esp-idf!17558
2022-05-05 23:58:07 +08:00
Wang Meng Yang
3198e17f4e
Merge branch 'bugfix/spp_crash_after_call_spp_deinit' into 'master'
...
Component_bt/Fix spp crash after call esp_spp_deinit
Closes BT-2342
See merge request espressif/esp-idf!17842
2022-04-27 13:02:24 +08:00
Xiong Wei Chao
af84842e8b
Component_bt/Fix spp crash after call esp_spp_deinit
2022-04-27 13:02:23 +08:00
xiongweichao
5a16fa95e9
Fix CI failure when disable bluetooth debug log
2022-04-25 18:35:22 +08:00
Rahul Tank
e254d1f855
NimBLE: Correct the log level of timer reset value print
2022-04-22 16:21:28 +05:30
Rahul Tank
8b4e032255
Merge branch 'bugfix/sync_host_nocp_cmd' into 'master'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!17719
2022-04-18 21:54:10 +08:00
Rahul Tank
18df58f1df
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
2022-04-14 16:13:21 +05:30
liqigan
81829c2670
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-11 17:14:02 +08:00
wangmengyang
3c63d0cc0e
components/bt: fix the documentations for Bluetooth HID device APIs
2022-04-11 02:50:50 +00:00
Rahul Tank
739cd66866
Nimble: Sync sending Host Number of Completed Packets command
2022-04-08 15:53:22 +05:30
liqigan
2ce516e455
fix SPP initiator can not free resource when connection is failed
2022-04-06 18:17:07 +08:00
Bao Hong De
2748b3a4be
Merge branch 'bugfix/not_use_malloc_in_bluedroid' into 'master'
...
component/bt: use osi_malloc instead of malloc in bluedroid
See merge request espressif/esp-idf!17663
2022-04-03 04:24:08 +08:00
Wei Tian Hua
dbe4606eab
Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
...
components/bt: support for vendor specific battery level and docker status...
See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
baohongde
65b15cd75a
component/bt: use osi_malloc instead of malloc in bluedroid
2022-03-31 22:27:54 +08:00
Rahul Tank
2dd2c78fc6
Merge branch 'bugfix/check_null_callout' into 'master'
...
Wifi_prov_mgr : Fixed crash issue during provisioning using NimBLE
See merge request espressif/esp-idf!17599
2022-03-29 17:43:38 +08:00
baohongde
418b546a7c
components/bt: support for vendor specific battery level and docker status indication over HFP profile
2022-03-29 11:38:09 +08:00
baohongde
8a2abff26d
components/bt: Fix the strlcpy length error in BTA_HfClientSendAT
2022-03-25 21:40:49 +08:00
Rahul Tank
c46e3ffd0c
Wifi_prov : Fixed crash issue during provisioning using NimBLE
2022-03-25 15:21:16 +05:30
xiongweichao
7dd9ac9997
Add some bluetooth debug log
2022-03-22 10:35:50 +08:00
Rahul Tank
f376bb5d05
Add support in Nimble for ESP32H2
2022-03-14 11:57:53 +05:30
Wang Meng Yang
8b5ad2ab4f
Merge branch 'bugfix/upd_nimble_warnings' into 'master'
...
nimble: update because of warnings
See merge request espressif/esp-idf!17354
2022-03-11 17:01:07 +08:00
xiongweichao
7ee85858b4
Update HFP_HF version to 1.7.2
2022-03-04 11:52:12 +00:00
Anton Maklakov
924178d407
nimble: update because of warnings
2022-03-04 10:00:54 +07:00
Aditya Patwardhan
740f1afe20
Update nimble submodule
2022-03-03 01:37:10 +05:30
Rahul Tank
3387d816e2
Nimble: Check stack initialization status before executing stack command
...
Previous commit added checks in some functions that can be called
without stack initalization. Corrected such instances.
2022-02-18 11:47:48 +05:30
xiewenxiang
8ecc8cf40a
component/bt: check the ble ext adv parameters
2022-02-07 16:10:50 +08:00
Anton Maklakov
85462d17a5
components/bt: move deinit_semaphore definition to source file
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
67c52657cf
bluedroid: mark dequant_long_* as extern variables
2022-01-27 11:00:09 +07:00
xiongweichao
83b9320d2e
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-06 14:10:18 +08:00
xiongweichao
688700f33b
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-06 14:02:03 +08:00
xiongweichao
c5af97759f
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-06 14:02:03 +08:00
xiongweichao
061ae4c07a
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-06 14:02:03 +08:00
Wang Meng Yang
7e39aa61fa
Merge branch 'bugfix/fix_null_pointer_deference_issue_master_mr' into 'master'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16502
2022-01-04 04:06:27 +00:00
“YangZhao”
8d48a56249
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2021-12-30 15:50:07 +08:00
xiewenxiang
50748009e4
components/bt: Fix bluedroid compile issue
2021-12-30 11:54:47 +08:00
Wang Meng Yang
bc1a679052
Merge branch 'doc/update_document_of_demo_bt_discovery' into 'master'
...
Doc/update document of demo bt discovery
Closes BT-2133
See merge request espressif/esp-idf!16265
2021-12-29 06:07:19 +00:00
xiewenxiang
04328cf384
component/bt: fix periodic adv parameters detection issue
2021-12-28 11:29:41 +08:00
Li Qi Gan
c3c37b95e7
Merge branch 'bugfix/fix_spp_open_err_bda' into 'master'
...
Component_bt/Fix SPP acceptor open with wrong remote address
Closes BT-2205
See merge request espressif/esp-idf!16503
2021-12-23 12:29:31 +00:00
liqigan
cccd22a080
fix SPP open with wrong remote bd_addr
2021-12-22 17:04:58 +08:00
liqigan
66e88fbdbe
clear old event bits when malloc a slot
2021-12-22 16:44:51 +08:00
baohongde
d4aeef6ced
components/bt: Update the document of demo bt discovery
2021-12-21 10:54:54 +08:00
Wang Mengyang
5e95537f9c
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-20 15:49:14 +08:00
xiewenxiang
0030fba89c
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-13 20:10:21 +08:00
xiewenxiang
132875a6eb
components/bt: Support low duty cycle directed advertising
2021-12-13 17:07:23 +08:00
baohongde
c138e47f45
components/bt: Update licenses
2021-12-08 10:59:06 +08:00
Sudeep Mohanty
88aa3e78c3
NimBLE: Invoke xTimerGetExpiryTime in npl porting layer only when freertos timer is used
...
This commit adds an esp timer guard check to call in the function
npl_freertos_callout_remaining_ticks() to enable fetching remaning ticks
when esp timer is enabled.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-03 15:57:19 +05:30
liqigan
aa6f86fbc5
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-01 14:59:14 +08:00
Yang Zhao
4b7a71673e
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:14:42 +08:00
Wang Meng Yang
c788274658
Merge branch 'feature/add_coex_hci_command_master' into 'master'
...
Add hci command to set coexistence status
Closes BT-1886
See merge request espressif/esp-idf!14830
2021-11-23 03:08:50 +00:00
Wang Meng Yang
ee5192960c
Merge branch 'bugfix/fix_static_check_error_mr' into 'master'
...
Fix the high-impact issues from the code analysis report from customer.
Closes BT-2079
See merge request espressif/esp-idf!15976
2021-11-23 03:07:05 +00:00
xiongweichao
c80ac536d7
Add hci command to set coexistence status
2021-11-22 19:57:01 +08:00
“YangZhao”
12ec4866b8
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00
wangmengyang
8cfffa260b
[nimble]: clear timer handler during de-initialization
2021-11-19 15:08:55 +08:00
Wang Meng Yang
2ee3c7b542
Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning
See merge request espressif/esp-idf!15793
2021-11-19 02:59:12 +00:00
Wang Meng Yang
83a5823564
Merge branch 'bugfix/fix_device_name_len_limited_mr' into 'master'
...
Fix the issue of device name len limited
Closes BT-2066
See merge request espressif/esp-idf!15880
2021-11-19 02:36:25 +00:00
xiongweichao
ce2d72ddfb
Missing break in switch
2021-11-18 19:47:09 +08:00
xiongweichao
5152b33385
Dereference null return value
2021-11-18 19:47:09 +08:00
xiongweichao
1bada6c0f6
already defined in bt_target.h
2021-11-18 19:47:09 +08:00
xiongweichao
752b1976c0
Dereference after null check
2021-11-18 19:47:07 +08:00
xiongweichao
101ad32110
Dereference before null check
2021-11-18 19:38:48 +08:00
xiongweichao
564f9e8f68
Logically dead code
2021-11-18 19:38:48 +08:00
isha pardikar
e2a37b2712
Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning
See merge request espressif/esp-idf!15793
2021-11-17 18:35:40 +05:30
Yang Zhao
66fa67cde6
Fix the issue of device name len limited
2021-11-11 11:35:36 +08:00
Rahul Tank
897926d21c
NimBLE: Modified timer not started / running warning print
...
Current check for valid timer throws a print which can mislead to be a crash. Modified the same
Closes: https://github.com/espressif/esp-idf/issues/7550
2021-11-10 12:44:39 +05:30
xiewenxiang
f0ef891901
component/bt: check the ble ext conn parameter
2021-11-02 14:33:24 +08:00
Chinmay Chhajed
0319dcd23d
Merge branch 'bugfix/nimble_x_component_key_check' into 'master'
...
NimBLE: Compare only x component of public key before pairing.
Closes BT-1928
See merge request espressif/esp-idf!15035
2021-10-22 12:37:02 +00:00
xiewenxiang
5e21788283
component/bt: Modify the bluetooth device name length limits
2021-10-20 16:19:28 +08:00
xiewenxiang
29a097504d
component/bt: set ext adv param failed when stop ext adv
2021-10-20 15:41:00 +08:00
xiewenxiang
76372097bb
component/bt: fix data length update failed
2021-10-13 19:58:21 +08:00
Wang Meng Yang
f0ffeb1c65
Merge branch 'bugfix/a2dp_no_audio_transmitted' into 'master'
...
bugfix/fix wrong clock_id in function `time_now_us`
Closes IDFGH-5862
See merge request espressif/esp-idf!15315
2021-10-08 05:59:57 +00:00
Jiang Jiang Jian
65682ad63c
Merge branch 'bugfix/bt_legacy_paring_wrong_pin_code_err' into 'master'
...
bugfix/fix the crash when using legacy paring with wrong pin code
Closes IDFGH-5856
See merge request espressif/esp-idf!15235
2021-09-30 01:12:34 +00:00
Rahul Tank
67bb97cbf3
Nimble: Removed Critical debug level from menuconfig, since it internally maps
...
to level Error.
2021-09-24 11:11:36 +05:30
Chinmay Chhajed
29d306e6ff
NimBLE: Compare only x component of public key before pairing.
2021-09-23 18:30:01 +05:30
Jiang Jiang Jian
91818884cc
Merge branch 'bugfix/stack_init_check' into 'master'
...
Nimble: Check stack status before executing stack command
Closes BT-1367
See merge request espressif/esp-idf!14869
2021-09-23 04:26:54 +00:00
jincheng
52e7b99630
fix wrong clock_id in function time_now_us
...
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 09:47:35 +08:00
jincheng
c592da5308
bugfix/fix the crash when using legacy paring with wrong pin code
...
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-23 07:40:54 +08:00
Zim Kalinowski
73fc400ac0
Merge branch 'feature/github-7582' into 'master'
...
code formatting updated
See merge request espressif/esp-idf!15267
2021-09-22 09:43:35 +00:00
Rahul Tank
1ad7d0dac4
Nimble: Check stack status before executing stack command
2021-09-21 12:41:45 +08:00
ajit1433
ae8fac38fa
code formatting updated
2021-09-18 23:14:09 +05:30
baohongde
b310c062cd
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
2021-09-16 20:26:35 +08:00
baohongde
6fc4bf7145
components/bt: Fix link error of Kconfig
2021-09-13 15:45:27 +08:00
liqigan
1c15c9207c
1. transparent HID device
...
2. add esp API for HID
3. add PM config for HID
4. add HID device demo
Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
Wei Tian Hua
00dfe84c58
Merge branch 'bugfix/hf_disc_acl_no_disc' into 'master'
...
bugfix/acl can't disconnect when hfp_client disconnect
See merge request espressif/esp-idf!12819
2021-09-03 06:01:50 +00:00
Wang Meng Yang
e09818bd33
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error' into 'master'
...
component/bt: fix some ble document description error
See merge request espressif/esp-idf!14816
2021-09-03 01:40:15 +00:00
XieWenxiang
461f2bd186
component/bt: fix some ble document description error
2021-09-01 20:39:13 +08:00
liaowenhao
124169a7dd
bugfix acl doesn't disconnect when hfp_client disconnect
2021-08-24 10:53:25 +08:00
Wang Meng Yang
7df2a22faa
Merge branch 'bugfix/spp_memory_leak' into 'master'
...
Fix spp memory leak
Closes IDFGH-5508
See merge request espressif/esp-idf!14319
2021-08-19 00:12:51 +00:00
Wang Meng Yang
a77aaf296a
Merge branch 'bugfix/bt_spp_timer_collision' into 'master'
...
Fix timer collision in role switch
Closes IDFGH-5464
See merge request espressif/esp-idf!14575
2021-08-17 02:10:44 +00:00
Wang Meng Yang
bdd4b45f6a
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value' into 'master'
...
component/bt: fix bluedroid host auto update PPCP attribute value
See merge request espressif/esp-idf!14746
2021-08-16 07:25:50 +00:00
jincheng
a523dd3ede
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-16 08:54:37 +08:00
XieWenxiang
30ccfdb3b9
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-10 17:18:49 +08:00
Wang Meng Yang
8652b1d576
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail' into 'master'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list
See merge request espressif/esp-idf!14348
2021-08-09 06:46:08 +00:00
Wang Meng Yang
8fc30ece07
Merge branch 'component_bt/add_spp_faq' into 'master'
...
Component_bt/Add FAQ in SPP Demo README
Closes FCS-611
See merge request espressif/esp-idf!12586
2021-08-06 02:28:14 +00:00
xiewenxiang
95c35288bc
component/bt: add local irk to controller
2021-08-05 17:32:08 +08:00
xiewenxiang
1cc0f6aac5
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-08-04 22:00:38 +08:00
liqigan
d8023ba09c
add FAQ in SPP demo README
2021-08-04 20:49:51 +08:00
sU8U7SfkcwTJVH7PjaVmej7D
b421ce2b00
Remove unused 'yy' variables
2021-07-30 15:59:06 +08:00
xiongweichao
7960110729
components/bt: fix spp memory leak
...
closes https://github.com/espressif/esp-idf/issues/7238
2021-07-19 21:19:49 +08:00
xiongweichao
b1bceb6b42
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-19 11:06:21 +08:00
xiongweichao
55fe021ddb
fix a2dp deinit crash
2021-07-19 11:06:21 +08:00
Rahul Tank
e81facd3e8
Nimble: Add fix for crash in esp_timer deletion
...
Added change in nimble submodule to handle crash in case of non-started
timer is attempted to be deleted.
2021-07-13 16:20:49 +08:00
Rahul Tank
3159ba1d5a
Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer
2021-06-30 10:06:40 +05:30
Jiang Jiang Jian
59b49d2783
Merge branch 'feature/add-nimble-host-to-blufi' into 'master'
...
Add support of NimBLE host to Blufi
See merge request espressif/esp-idf!13734
2021-06-29 12:54:01 +00:00
Jiang Jiang Jian
910d3cfe06
Merge branch 'bugfix/correct_gatt_max_macro_name' into 'master'
...
Bluedroid: Fixed issue of option not being set due to incorrect macro
See merge request espressif/esp-idf!13945
2021-06-29 03:24:27 +00:00
“sonalipatil”
5175672050
Add support of NimBLE host to Blufi
...
Merges https://github.com/espressif/esp-idf/pull/6904
2021-06-28 19:53:33 +05:30
zwj
d8474a92bf
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:29:38 +08:00
Wang Meng Yang
d685e85ff4
Merge branch 'bugfix/spp_connect_20_fail' into 'master'
...
component_bt: fix spp acceptor deadlock
Closes IDFGH-5172
See merge request espressif/esp-idf!13940
2021-06-22 12:21:10 +00:00
xiongweichao
96aff16dd3
fix spp acceptor deadlock
...
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +08:00
liqigan
fd83938f39
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:02:36 +08:00
Wang Meng Yang
e245d4c9cd
Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro' into 'master'
...
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
See merge request espressif/esp-idf!12335
2021-06-18 09:03:33 +00:00
Rahul Tank
9013edfd93
Bluedroid: Fixed issue of option not being set due to incorrect macro
...
name.
2021-06-10 22:06:26 +08:00
xiewenxiang
96811de932
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:28:12 +08:00
zhiweijian
a85890dd9d
Fixed ANON_ADV address error
2021-06-01 11:43:40 +08:00
Chinmay Chhajed
b75e034b3c
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-05-28 14:28:54 +05:30
zwj
8919322c76
Fixed BLE reconnect failed when using rpa public address
2021-05-27 14:08:47 +08:00
Mahavir Jain
f339506324
bt: use generic SPIRAM config option for memory alloc policy
2021-05-17 10:43:42 +00:00
Prasad Alatkar
03634ea64b
NimBLE: Update NimBLE submodule to reattempt conn and to fix vulnerability
...
* Add workaround to overcome connection establishment failure error.
* Fix vulnerability during public key exchange in secure connection
2021-05-13 19:10:19 +05:30
Jiang Jiang Jian
95dfdf7680
Merge branch 'nimble/fix_broadcaster_role' into 'master'
...
NimBLE: Add custom logging support, fix build error for broadcaster role, NVS peer_dev_records fix
See merge request espressif/esp-idf!13204
2021-05-13 10:01:12 +00:00
Prasad Alatkar
3dfcaee9bd
NimBLE: Add custom logging support and fix build error for broadcaster role
...
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Jiang Jiang Jian
7b2f2c2a86
Merge branch 'bugfix/ag_use_dynamic_memory_error' into 'master'
...
Fix ag use dynamic memory error
Closes BT-1574
See merge request espressif/esp-idf!13094
2021-05-13 07:56:45 +00:00
zwj
22f429f5bc
fix C3/S3 ble multi-connection failed when device acts as master and slave
2021-05-10 21:06:44 +08:00
xiongweichao
d38a91ee95
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-10 11:11:02 +08:00
xiongweichao
be6b25b9d9
fix ag use dynamic memory error
2021-05-10 10:56:46 +08:00
wangmengyang
d2324c162a
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-28 12:05:49 +00:00
Wang Meng Yang
c94916de8f
Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master'
...
optimize c3 multi con and add connection retry
See merge request espressif/esp-idf!12983
2021-04-20 14:48:11 +00:00
Prasad Alatkar
7d4cfb6d53
NimBLE: Add max connection config option for ESP32C3
2021-04-20 02:41:58 +00:00
zwj
58cd231895
optimize C3 and s3 multi-connection
2021-04-20 02:41:14 +00:00
zwj
077722696a
add option to enable multi-connection
2021-04-20 02:41:14 +00:00
zwj
6fff69390e
update con state when getting connection cancle complete
2021-04-20 02:41:14 +00:00
zwj
85b73337a3
fix ble 5.0 SMP failed
2021-04-20 02:41:14 +00:00
zwj
e652e264c7
add BLE connection establishment retry
2021-04-20 02:41:14 +00:00
Jiang Jiang Jian
920b3a0929
Merge branch 'feature/configure_max_server_profiles_count' into 'master'
...
esp32: Added an option in menuconfig to configure maximum gatt services
Closes BT-1508
See merge request espressif/esp-idf!12769
2021-04-19 06:31:09 +00:00
Marius Vikhammer
0633ee3e18
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-09 11:57:03 +08:00
Rahul Tank
6395eae955
esp-idf: Added an option in menuconfig to configure maximum gatt services
...
Currently Max GATT services count cannot be configured externally and
hence user needs to modify code ,everytime the count is to be
modified.
Added an option in menuconfig to provide a way to user to set the count.
Fixes: https://jira.espressif.com:8443/browse/BT-1508
2021-04-08 10:42:47 +00:00
Jiang Jiang Jian
80d0f6c860
Merge branch 'nimble/add_error_prints_acl_buf' into 'master'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL
See merge request espressif/esp-idf!12665
2021-03-31 03:20:16 +00:00
Jiang Jiang Jian
bd4e34b15a
Merge branch 'bugfix/btdm_incorrectly_spelled' into 'master'
...
component/bt: fix Spelling mistakes
Closes IDFGH-4886, IDFGH-4910, and IDFGH-4635
See merge request espressif/esp-idf!12814
2021-03-29 05:07:54 +00:00
Jiang Jiang Jian
bcbf1d2c3c
Merge branch 'bugfix/btdm_add_controller_support_RPA' into 'master'
...
add option to enable/disable esp32 controller RPA
See merge request espressif/esp-idf!12832
2021-03-26 04:19:50 +00:00
Jiang Jiang Jian
6c070f49a8
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed' into 'master'
...
fix multi-connection pair failed
Closes BT-1490
See merge request espressif/esp-idf!12877
2021-03-26 04:18:56 +00:00
Prasad Alatkar
b4861a11e6
NimBLE: Free AES context after use by calling mbedtls_free_aes
...
- Update NimBLE submodule to resolve issue observed while using mbedTLS as
crypto stack during security exchanges.
Closes BT-1435, BT-1434
2021-03-24 13:26:36 +00:00
Prasad Alatkar
5d80d551cf
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-03-24 13:25:38 +00:00
zwj
dc3a5a9335
fix multi-connection pair failed
2021-03-24 14:58:21 +08:00
zwj
6e343bead2
add option to enable/disable esp32 controller RPA
2021-03-24 14:42:35 +08:00
XieWenxiang
f9cdd1d6c9
component/bt: Modify some ambiguous descriptions
2021-03-23 23:08:05 +08:00
Jiang Jiang Jian
5978352cf9
Merge branch 'bugfix/ble_tx_power_mapping' into 'master'
...
Bluetooth: Tx power level for ESP32C3 and IRAM_ATTR fix for ESP32S3 controller
See merge request espressif/esp-idf!12651
2021-03-23 03:04:30 +00:00
liaowenhao
048f527883
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
2021-03-22 03:07:49 +00:00
Jiang Jiang Jian
d01c951d46
Merge branch 'bufix/ag_deep_copy_crash' into 'master'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
Closes BT-1355
See merge request espressif/esp-idf!12338
2021-03-18 09:49:57 +00:00
wangmengyang
3df07164c1
components/bt: shorten some log messages for bluedroid
2021-03-17 16:52:34 +08:00
zwj
b3a2fedfde
fix ble connection event report remote address error
2021-03-12 11:49:52 +08:00
Jiang Jiang Jian
52720c724f
Merge branch 'bugfix/fix_l2cap_repeat_cid' into 'master'
...
Bugfix/Fix L2CAP Repeat Cid
Closes BT-1411, BT-1409, and BT-1410
See merge request espressif/esp-idf!12342
2021-03-04 03:36:31 +00:00
Jiang Jiang Jian
6677cd5498
Merge branch 'component_bt/optimize_spp_stop_server' into 'master'
...
component_bt/Optimize SPP Stop Server API
Closes BT-960
See merge request espressif/esp-idf!11124
2021-03-04 03:34:44 +00:00
liqigan
408a1490a9
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-03 15:02:23 +08:00
liqigan
825c2024d0
fix l2cap repeat cid
2021-03-03 14:50:05 +08:00
Angus Gratton
0d26c89b6b
btc_common: Redefine BTC assert macro to use standard assert
...
Allows assert to be disabled, made silent, etc.
Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
a0c73c5f92
bt host: Don't redefine the assert macro
...
Required so that bt asserts obey the same configuration settings as other
asserts.
Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
d6f4d99d93
core system: Fix warnings in compilation when assertions are disabled
...
Adds a CI config for hello world that sets this, to catch future regressions
2021-03-03 10:26:57 +11:00
xiongweichao
d39756d8e7
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-01 12:54:21 +00:00
zwj
f344a65af5
fix crash caused by spp pairing cancel
2021-02-18 21:10:25 +08:00
Chinmay Chhajed
fb3a382fe4
Bluedroid: Do not initiate/accept connection with device having same BDADDR.
...
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-09 12:09:15 +05:30
Chinmay Chhajed
5596f37af1
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-09 12:09:15 +05:30