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
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
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
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
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
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
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
zwj
52909b69b7
fix esp32c3 can't enable adv flow control func
2021-02-08 16:33:20 +08:00
Jiang Jiang Jian
6a7781b92a
Merge branch 'bugfix/fix_a2dp_underun' into 'master'
...
bugfix/component_bt: Fix A2DP Underrun Issue
Closes AUD-2681
See merge request espressif/esp-idf!12093
2021-02-04 19:28:07 +08:00
zwj
d76d708bc3
add connection parameter check
2021-01-29 15:29:57 +08:00
Jiang Jiang Jian
9eae54f3be
Merge branch 'bugfix/fix_a2dp_sink_crash_due_to_ble5.0_code' into 'master'
...
fix a2dp sink crash due to ble 5.0 code
Closes BT-1358, BT-1354, and BT-1356
See merge request espressif/esp-idf!12170
2021-01-28 19:41:54 +08:00
Jiang Jiang Jian
4ab76197e9
Merge branch 'bugfix/bta_hf_client_sco_co_out_data' into 'master'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
Closes AUD-2714
See merge request espressif/esp-idf!12179
2021-01-28 18:02:25 +08:00
liaowenhao
e502893f18
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-01-27 19:46:13 +08:00
zwj
00fdbfcddc
fix ble connection maximum latency is 499
2021-01-27 16:13:17 +08:00
zwj
b937485ad1
add ble examples default sdkconfig for esp32s3
2021-01-27 15:57:20 +08:00
zwj
bdafdbbf3d
disable bluedroid congest error log print
2021-01-27 14:45:03 +08:00
zhiweijian
90d5413623
fix read multi char failed(GATT_27001)
2021-01-27 14:45:03 +08:00
zwj
081e474baf
fix a2dp sink crash due to ble 5.0 code
2021-01-27 14:45:03 +08:00
weitianhua
c347b0a937
Update bt_discovery demo and README
...
1. Use bt_app_gap_init function
2. Add Security Simple Pair doc
3. Update README
Update SPP demo
1. Add input module for bt_spp_initiator demo to show the security simple pair features
2. Update README of bt_spp_acceptor and bt_spp_initiator demo.
Format comment in esp_a2dp_api.h
Format comment in esp_avrc_api.h
Format comment in esp_spp_api.h
Fix bt_discovery build err
Update HFP API guide error
Remove BTA_AV_DEBUG
Remove Trailing Whitespace & End of Files
2021-01-27 14:17:12 +08:00
weitianhua
1404879bf4
Fix A2DP Underrun Issue
2021-01-25 17:44:11 +08:00
weitianhua
bfad85a372
Add init & deinit event for a2dp
2021-01-25 16:30:09 +08:00
Jiang Jiang Jian
f7c9f1afd7
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd
Closes BT-711
See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098
Merge branch 'feature/hfp_console' into 'master'
...
Feature/modify hfp console style by using esp console
Closes BT-1052
See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
zwj
ea42d8e043
fix bluedroid deinit crash
2021-01-15 21:08:14 +08:00
zwj
d624675087
fix connection param update timeout
2021-01-15 18:05:39 +08:00
zwj
ad09955b1f
fix crash when creating aux open failed, fix GAP_22026 failed
2021-01-15 18:05:18 +08:00
zwj
273d2fd5ec
fix multi-connection crash (smp-08003)
2021-01-15 18:05:04 +08:00
zhiweijian
e81104f377
fix add white list failed
2021-01-15 18:04:45 +08:00
zwj
61b1a4b7b8
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-01-15 18:04:27 +08:00
zhiweijian@espressif.com
d4619584d7
fix ble connect crash
2021-01-15 18:04:16 +08:00
zwj
1d1754e4b4
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-01-15 18:03:56 +08:00
zwj
0880c7bcf9
fix ble read multi char err when the number of handles is more than 10
2021-01-15 18:03:39 +08:00
zwj
4a719daa78
fix scan rsp length err
2021-01-15 18:03:27 +08:00
zwj
796a959fa5
fix vendor hci memory leak
2021-01-15 18:03:15 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
Island
1e73d90c29
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn' into 'master'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
See merge request espressif/esp-idf!11806
2021-01-14 14:47:21 +08:00