Commit Graph

109 Commits

Author SHA1 Message Date
chenjianhua
7c133db8b3 bluedroid: report status after clearing the BLE white list 2023-04-21 14:37:32 +08:00
chenjianhua
31f6dab386 bluedroid: support get bluetooth device name 2023-04-21 14:37:31 +08:00
Jiang Jiang Jian
dd8f93ee95 Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod_v4.3' into 'release/v4.3'
bt: Optimized the document for GAP API: esp_bt_gap_set_cod (v4.3)

See merge request espressif/esp-idf!22996
2023-03-31 18:06:05 +08:00
chenjianhua
e82ebbe772 Bluedroid: fix channel map of ext adv params check 2023-03-31 05:55:24 +00:00
Jin Cheng
9c26fc689d Optimized the document for GAP API:
`esp_bt_gap_set_cod`
2023-03-30 14:21:28 +08:00
xiongweichao
b201f9dac6 bt:Added a parameter to tell the user the result of the pass through command implementation 2023-03-29 10:57:59 +00:00
chenjianhua
8790931bab bluedroid: add params in GATT connect event 2023-02-28 09:11:40 +00:00
chenjianhua
65b3d93f79 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-19 19:32:00 +08:00
jincheng
31b6acc88a Added reporting for ACL link related events to application 2022-12-09 11:15:56 +08:00
xiongweichao
433767f97a bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-12-07 10:22:29 +08:00
xiongweichao
45d4780760 bt: Fixed SPP VFS mode not being able to send data 2022-10-26 16:27:49 +08:00
xiongweichao
58a7082114 bt: Fixed esp_spp_write() crash when len is 0
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-21 11:21:51 +08:00
chenjianhua
ed24da98eb bluedroid: configurable max gattc cache characteristic count 2022-10-09 15:31:11 +08:00
chenjianhua
e5a195fc2c Bluedroid: Configurable option to modify max gatt service attributes count 2022-10-09 15:28:39 +08:00
zwj
157acb3086 Fixed extend adv tx power range error 2022-09-27 21:37:04 +08:00
weitianhua
d264f30e76 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-08-12 12:11:54 +08:00
zhiweijian@espressif.com
197371d085 Fixed bluedroid host memory overflow 2022-07-20 09:12:46 +00:00
xiewenxiang
98245dabe0 component/bt: check the ble ext adv parameters 2022-07-11 02:44:30 +00:00
baohongde
565142e60c component/bt: use osi_malloc instead of malloc in bluedroid 2022-07-04 16:17:51 +08:00
xiongweichao
e1120e2554 update hfp_ag version to 1.7.2 2022-06-21 14:46:49 +08:00
keymoon
71791a4706 add address field to read_rmt_name_param 2022-05-29 18:06:35 -07:00
Jiang Jiang Jian
c6a96e9a57 Merge branch 'doc/update_document_of_demo_bt_discovery_v4.3' into 'release/v4.3'
Doc/update document of demo bt discovery v4.3

See merge request espressif/esp-idf!16576
2022-03-16 10:23:47 +08:00
xiongweichao
7cb6468fff Update HFP_HF version to 1.7.2 2022-03-08 11:01:40 +08:00
baohongde
918d8fabcf components/bt: Update the document of demo bt discovery 2021-12-29 14:39:18 +08:00
Jiang Jiang Jian
9e37f39441 Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection_v4.3' into 'release/v4.3'
component/bt: check the ble ext conn parameter(backport v4.3)

See merge request espressif/esp-idf!15769
2021-11-23 06:53:16 +00:00
“YangZhao”
911847e3ea 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 19:46:14 +08:00
xiewenxiang
5ff15a3895 component/bt: check the ble ext conn parameter 2021-11-02 15:32:13 +08:00
XieWenxiang
1ea757c0f1 component/bt: Modify the bluetooth device name length limits 2021-10-14 18:24:17 +08:00
Wang Meng Yang
d5e5f44d36 Merge branch 'bugfix/btdm_fix_some_Document_Description_Error_v4.3' into 'release/v4.3'
component/bt: fix some ble document description error(backport v4.3)

See merge request espressif/esp-idf!14823
2021-09-13 01:49:49 +00:00
XieWenxiang
508b033cc0 component/bt: fix some ble document description error 2021-09-01 20:42:44 +08:00
xiongweichao
7d0b387bea Not initialized or in the process of de-initialization, calling API will return ERR 2021-08-19 11:10:31 +08:00
“sonalipatil”
00b9df2937 Add support of NimBLE host to Blufi
Merges https://github.com/espressif/esp-idf/pull/6904
2021-07-01 09:06:15 +05:30
Marius Vikhammer
97df333a3b 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-12 08:46:06 +08:00
XieWenxiang
dba5597edf component/bt: Modify some ambiguous descriptions(release v4.3) 2021-03-23 23:02:18 +08:00
liqigan
58c9a2eaba add API esp_spp_stop_srv_scn to stop a specific server 2021-03-04 15:16:44 +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
zwj
00fdbfcddc fix ble connection maximum latency is 499 2021-01-27 16:13:17 +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
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
zwj
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
liaowenhao
6c0e3fe23c bugfix:unhandle event when tg receive set_player_app_value cmd 2021-01-08 20:58:35 +08:00
Bao Hong De
64d30fa6c4 Add API to config QoS 2021-01-05 10:32:47 +08:00
Chinmay Chhajed
d73ebb570b Bluedroid: Fixes for some vulnerabilities.
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'

CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.

This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-24 10:52:12 +00:00
xiewenxiang
945606b658 component/bt: support BLE Read Attribute value by UUID 2020-12-02 20:04:36 +08:00
xiewenxiang
7e5e0ba7de component/bt: refactor ble random address setting 2020-12-02 09:08:31 +08:00
XieWenxiang
e840191a0c component/bt: support BLE Application Layer Encryption key size check 2020-12-02 09:08:03 +08:00
XieWenxiang
366b036ba5 component/bt: support BLE Authorization 2020-12-02 09:07:24 +08:00
wangcheng
d1bf93e055 component/bt: Add a macro to control the compilation of blufi. 2020-11-24 10:43:18 +08:00