liqigan
4b3b77e4e8
fix SPP open with wrong remote bd_addr
2021-12-31 15:46:15 +08:00
liqigan
6c2d8ea653
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:16:42 +08:00
Jiang Jiang Jian
d4c247dac6
Merge branch 'bugfix/fix_static_check_error_mr_4.2' into 'release/v4.2'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16046
2021-11-23 07:27:18 +00:00
“YangZhao”
4200865dd1
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:55:03 +08:00
xiongweichao
1733159b08
Dereference after null check
2021-11-22 11:46:30 +08:00
xiongweichao
a8c653b094
Dereference before null check
2021-11-22 11:43:35 +08:00
xiewenxiang
0dbd8701b5
component/bt: fix data length update failed
2021-10-13 19:43:47 +08:00
zhiweijian
cc8ef6b8d2
component/bt: add clear white list API
2021-09-22 15:59:45 +08:00
Wang Meng Yang
f9632200fb
Merge branch 'bugfix/hf_disc_acl_no_disc_v4.2' into 'release/v4.2'
...
bugfix/acl can't disconnect when hfp_client disconnect [release/v4.2]
See merge request espressif/esp-idf!15057
2021-09-07 10:13:57 +00:00
jincheng
6da584270c
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-09-06 10:15:10 +08:00
jincheng
1dcde9c74f
fix acl can not disconnect when hf_client disconnect
2021-09-03 10:58:55 +08:00
XieWenxiang
921ec124ee
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-11 18:04:53 +08:00
zwj
a8e8eead70
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-28 14:59:17 +08:00
xiewenxiang
8491705b63
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:34:47 +08:00
Jiang Jiang Jian
f8307bcd4e
Merge branch 'bugfix/spp_data_send_delay_v4.2' into 'release/v4.2'
...
Bugfix/spp data send delay v4.2
See merge request espressif/esp-idf!11772
2021-03-23 08:42:05 +00:00
Jiang Jiang Jian
0d5286471a
Merge branch 'component_bt/optimize_spp_stop_server_v4.2' into 'release/v4.2'
...
component_bt/Optimize SPP Stop Server API[backport v4.2]
See merge request espressif/esp-idf!12620
2021-03-19 04:01:17 +00:00
Jiang Jiang Jian
4f4cd08aad
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle_v_4_2' into 'release/v4.2'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd[backport v4.2]
See merge request espressif/esp-idf!12099
2021-03-18 04:03:49 +00:00
liqigan
60b6968e80
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-04 15:33:47 +08:00
liaowenhao
bfb14130ac
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-02-24 07:47:08 +00:00
zhiweijian
c759dade01
fix read multi char failed(GATT_27001)
2021-02-18 09:39:01 +00:00
zwj
d5951d3c9e
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-02-18 09:39:01 +00:00
zwj
70589fc49d
fix ble read multi char err when the number of handles is more than 10
2021-02-18 09:39:01 +00:00
zwj
c5afe0ea2d
fix vendor hci memory leak
2021-02-18 09:39:01 +00:00
baohongde
f3c9a71138
components/bt: Add API to config QoS
2021-01-04 11:53:04 +08:00
baohongde
567562a0fb
components/bt: Add QOS for SPP, to decrease the delay from slave to master
2020-12-25 14:51:15 +08:00
Jiang Jiang Jian
f03d543139
Merge branch 'bugfix/blufi_config_potential_double_free_v4.2' into 'release/v4.2'
...
Bugfix/blufi config potential double free v4.2
See merge request espressif/esp-idf!11163
2020-12-09 22:26:19 +08:00
xiewenxiang
9dbf59af9c
component/bt: support BLE Read Attribute value by UUID
2020-12-03 15:19:44 +08:00
XieWenxiang
8533c452a1
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 15:19:27 +08:00
XieWenxiang
82b65d5de0
component/bt: support BLE Authorization
2020-12-03 15:19:17 +08:00
wangcheng
7097ff286c
component/bt: Fix a potential double free error.
2020-11-24 10:44:56 +08:00
liqigan
640083c8cb
replace list and ringbuffer with fixed queue
...
use eventgroup to sync spp_vfs_write
each connection has a switch_delay_timer not sharing a one
revert functions like spp_find_slot_by_xxx
fix vfs read bug when peer close
2020-11-06 03:38:52 +00:00
liqigan
94093debab
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-11-06 03:38:52 +00:00
liqigan
783c5ecee2
fix ag example outgoing callback not triggered
...
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-28 20:25:43 +08:00
liqigan
e4e46b8384
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-10-27 06:57:20 +00:00
baohongde
2b4fae912c
components/bt: Fix clear bond fail when connected without ble included
2020-09-28 14:57:27 +08:00
xiongweichao
fba62f5e2e
add remove bond device complete event
2020-09-28 14:56:42 +08:00
weitianhua
b16deb4473
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:09:10 +08:00
weitianhua
07e2d3ab0f
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-09-04 14:40:19 +08:00
liqigan
6e94f6f9f4
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-08-13 12:08:28 +08:00
weitianhua
8de78c2b3b
Seperate BTA_JV_L2CAP for less bin size
2020-08-01 16:40:43 +08:00
Jiang Jiang Jian
1f8c5b2b64
Merge branch 'docs/fix_event_typo_backport_v4.2' into 'release/v4.2'
...
docs/fix event typo backport v4.2
See merge request espressif/esp-idf!9382
2020-07-12 21:24:03 +08:00
Chinmay Chhajed
ec043aac06
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-30 14:41:46 +05:30
liminyang
5bf8bb6d3a
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 20:48:48 +08:00
wangcheng
f9b0cd1847
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 15:09:36 +08:00
zhiweijian
ec6c7558ef
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-15 15:35:39 +08:00
wangcheng
a5ac789725
fix bta_dm_deinit_cb crash
2020-05-13 20:18:27 +08:00
Hristo Gochkov
25281ef4de
Add HID Support to IDF
...
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
weitianhua
0d2790a429
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-12 16:20:58 +08:00
weitianhua
477e584f7d
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-02-25 18:03:54 +08:00
baohongde
6ca361fd2b
components/coex: Fix a2dp stuck after creating anther connection
2020-02-19 07:14:26 +00:00