Wang Meng Yang
284fa65271
Merge branch 'bugfix/fix_spp_listen_err_v4.1' into 'release/v4.1'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.1]
See merge request espressif/esp-idf!16386
2021-12-21 08:01:18 +00:00
Jiang Jiang Jian
6f737fdca8
Merge branch 'bugfix/leedarson_v4.1' into 'release/v4.1'
...
component_bt: Fix some code logic errors (v4.1)
See merge request espressif/esp-idf!16039
2021-12-21 03:31:43 +00:00
xiewenxiang
e4d61c3d85
components/bt: fix blufi encryption fail
2021-12-16 16:22:23 +08:00
liqigan
70375166ba
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:22:53 +08:00
xiongweichao
b01ea3e2c7
Missing break in switch
2021-12-07 12:11:33 +08:00
xiongweichao
01a7b1de70
Dereference before null check
2021-12-07 12:11:33 +08:00
“YangZhao”
dea009aa62
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-12-06 14:04:05 +08:00
zhiweijian
ffc6072f80
component/bt: add clear white list API
2021-09-22 16:01:51 +08:00
xiongweichao
367675be4e
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-08-19 14:41:06 +08:00
Wang Meng Yang
f86a4c4cdb
Merge branch 'bugfix/fix_a2dp_sink_blocked_v4.1' into 'release/v4.1'
...
Bugfix/Fix a2dp Sink Blocked Bugs[backport v4.1]
See merge request espressif/esp-idf!14013
2021-08-06 03:20:00 +00:00
xiongweichao
b681d4e415
fix a2dp deinit crash
2021-07-16 11:58:40 +08:00
liqigan
72e5dfb4e3
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:16:42 +08:00
xiongweichao
7c53e88b05
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-25 09:00:09 +00:00
xiongweichao
5b5a36a7b2
fix ag use dynamic memory error
2021-05-25 09:00:09 +00:00
Jiang Jiang Jian
997ac7e166
Merge branch 'bugfix/spp_data_send_delay_v4.1' into 'release/v4.1'
...
Bugfix/spp data send delay v4.1
See merge request espressif/esp-idf!11773
2021-03-23 03:33:46 +00:00
Jiang Jiang Jian
a38bbe46d0
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.1)
See merge request espressif/esp-idf!11848
2021-03-23 03:20:27 +00:00
Jiang Jiang Jian
1750acfa17
Merge branch 'bufix/ag_deep_copy_crash_v_4_1' into 'release/v4.1'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
See merge request espressif/esp-idf!12793
2021-03-22 04:32:06 +00:00
Jiang Jiang Jian
bf86c59ec4
Merge branch 'component_bt/optimize_spp_stop_server_v4.1' into 'release/v4.1'
...
component_bt/Optimize SPP Stop Server API[backport v4.1]
See merge request espressif/esp-idf!12621
2021-03-22 04:31:28 +00:00
xiongweichao
f8946dc471
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:35:13 +08:00
Jiang Jiang Jian
4628a37435
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.1' into 'release/v4.1'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.1]
See merge request espressif/esp-idf!12559
2021-03-18 04:05:14 +00:00
Jiang Jiang Jian
d70f854edb
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle_v_4_1' into 'release/v4.1'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd[backport v4.1]
See merge request espressif/esp-idf!12100
2021-03-18 04:04:49 +00:00
Jiang Jiang Jian
961f79612a
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v4.1' into 'release/v4.1'
...
Bugfix/btdm backport ble bugs v4.1
See merge request espressif/esp-idf!12433
2021-03-18 03:55:49 +00:00
liqigan
a630e1317d
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-18 11:48:25 +08:00
Jiang Jiang Jian
f71577afe0
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_1' into 'release/v4.1'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.1]
See merge request espressif/esp-idf!12151
2021-03-05 12:21:12 +00:00
Jiang Jiang Jian
34e1d1d69f
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_1' into 'release/v4.1'
...
Fix A2DP Underrun Issue [backport v4.1]
See merge request espressif/esp-idf!12278
2021-03-05 12:18:45 +00:00
liaowenhao
195160af94
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-03-01 11:38:35 +08:00
zwj
1b6572ec9f
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-02-22 11:27:39 +08:00
weitianhua
e2dd35e6f6
Fix A2DP Underrun Issue
2021-02-04 19:33:50 +08:00
weitianhua
432b4c8863
Add init & deinit event for a2dp
2021-01-26 10:52:39 +08:00
liaowenhao
c4c18c79a0
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-01-21 21:37:14 +08:00
baohongde
b7e6c18f8c
components/bt: Add API to config QoS
2021-01-04 11:56:00 +08:00
XieWenxiang
ddfc19d531
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:44:38 +08:00
baohongde
edb2a4af41
components/bt: Add QOS for SPP, to decrease the delay from slave to master
2020-12-25 14:56:35 +08:00
liqigan
bf7435d80d
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:13:37 +08:00
Jiang Jiang Jian
6710148748
Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly_4_1' into 'release/v4.1'
...
Fix crash cause by calling a2dp deinit when connected [backport v4.1]
See merge request espressif/esp-idf!11690
2020-12-21 12:05:40 +08:00
Jiang Jiang Jian
be2d72b660
Merge branch 'bugfix/blufi_config_potential_double_free_v4.1' into 'release/v4.1'
...
Bugfix/blufi config potential double free v4.1
See merge request espressif/esp-idf!11164
2020-12-21 12:05:33 +08:00
weitianhua
aee941a087
Fix crash cause by calling a2dp deinit when connected
2020-12-21 10:23:46 +08:00
xiewenxiang
1273982045
component/bt: support BLE Read Attribute value by UUID
2020-12-02 20:20:03 +08:00
xiewenxiang
5da4c0f125
component/bt: refactor ble random address setting
2020-12-02 20:19:54 +08:00
XieWenxiang
8e08156141
component/bt: support BLE Application Layer Encryption key size check
2020-12-02 20:19:45 +08:00
wangcheng
87669b23da
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:45:36 +08:00
wangcheng
7765b07898
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:45:36 +08:00
Jiang Jiang Jian
ae202d81ec
Merge branch 'bugfix/fix_ag_outging_callback_not_triggered_v4.1' into 'release/v4.1'
...
Bugfix/Fix Ag Example Outgoing Callback Not Triggered [backport v4.1]
See merge request espressif/esp-idf!11019
2020-11-18 11:40:07 +08:00
liqigan
caee4c24a9
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-02 10:33:19 +08:00
liqigan
c3171252ec
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-11-02 10:33:19 +08:00
liqigan
8171702293
add event when calling spp API failed
2020-11-02 10:33:19 +08:00
liqigan
c89640103f
fix ag example outgoing callback not triggered
...
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-28 20:13:40 +08:00
Jiang Jiang Jian
77eb201241
Merge branch 'bugfix/add_clear_bond_complete_evt_4_1' into 'release/v4.1'
...
componenet_bt/bugfix: add remove bond device complete event 4.1
See merge request espressif/esp-idf!10653
2020-10-28 16:03:35 +08:00
Jiang Jiang Jian
447708ef05
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect_4_1' into 'release/v4.1'
...
Bugfix/bredr bugfix release for qa dummy disconnect 4.1
See merge request espressif/esp-idf!10646
2020-10-28 16:03:21 +08:00
Jiang Jiang Jian
634a5e9355
Merge branch 'bugfix/add_disconn_req_action_when_no_link_4.1' into 'release/v4.1'
...
Bugfix/add disconn req action when no link 4.1
See merge request espressif/esp-idf!10509
2020-10-28 14:27:10 +08:00