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
6ab925eaa0
Missing break in switch
2021-11-22 11:48:21 +08:00
xiongweichao
a8c653b094
Dereference before null check
2021-11-22 11:43:35 +08:00
zhiweijian
cc8ef6b8d2
component/bt: add clear white list API
2021-09-22 15:59:45 +08:00
xiongweichao
5abc5f6748
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-08-19 14:35:53 +08:00
xiongweichao
3ba13749d3
fix a2dp deinit crash
2021-07-19 20:12:57 +08:00
liqigan
a4f6af013c
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:14:34 +08:00
xiongweichao
8e7f7dfe59
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-25 07:06:22 +00:00
xiongweichao
b257ad7d9e
fix ag use dynamic memory error
2021-05-25 07:06:22 +00: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
59d3116e41
Merge branch 'bufix/ag_deep_copy_crash_v_4_2' into 'release/v4.2'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
See merge request espressif/esp-idf!12789
2021-03-22 08:01:23 +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
xiongweichao
f6f644bf81
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:20:19 +08:00
Jiang Jiang Jian
e027f962df
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.2' into 'release/v4.2'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.2]
See merge request espressif/esp-idf!12560
2021-03-18 04:04: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
Jiang Jiang Jian
9f3750cee7
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v4.2' into 'release/v4.2'
...
Bugfix/btdm backport ble bugs for v4.2
See merge request espressif/esp-idf!12197
2021-03-18 03:55:04 +00:00
Jiang Jiang Jian
fa2c4fe622
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_2' into 'release/v4.2'
...
Fix A2DP Underrun Issue [backport v4.2]
See merge request espressif/esp-idf!12277
2021-03-10 14:30:28 +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
8375bb94a4
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-03-01 11:34:15 +08:00
liaowenhao
bfb14130ac
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-02-24 07:47:08 +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
weitianhua
d254804a62
Fix A2DP Underrun Issue
2021-02-04 19:33:14 +08:00
weitianhua
186ebc61e7
Add init & deinit event for a2dp
2021-01-26 10:51:47 +08:00
Jiang Jiang Jian
70ecd0e92c
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.2' into 'release/v4.2'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.2)
See merge request espressif/esp-idf!11847
2021-01-06 12:29:44 +08:00
baohongde
f3c9a71138
components/bt: Add API to config QoS
2021-01-04 11:53:04 +08:00
XieWenxiang
5da8c3f8de
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:38:49 +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
liqigan
40873d2026
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:06:34 +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
4e8d383d01
component/bt: refactor ble random address setting
2020-12-03 15:19:35 +08:00
XieWenxiang
8533c452a1
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 15:19:27 +08:00
wangcheng
1be101f342
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:44:57 +08:00
wangcheng
65c5a57033
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:44:54 +08:00
weitianhua
ad31451594
Fix crash caused by calling deinit directly
2020-11-10 11:18:39 +00: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
76f41cc5e0
add event when calling spp API failed
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
Jiang Jiang Jian
17fca6235b
Merge branch 'bugfix/add_clear_bond_complete_evt_4_2' into 'release/v4.2'
...
componenet_bt/bugfix: add remove bond device complete event 4.2
See merge request espressif/esp-idf!10651
2020-09-29 11:15:55 +08:00
baohongde
2d90885e09
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-09-28 15:09:37 +08:00
xiongweichao
fba62f5e2e
add remove bond device complete event
2020-09-28 14:56:42 +08:00
xiongweichao
7f8c121791
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 10:42:02 +08:00
xiongweichao
a6cdf4ed1e
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 10:41:53 +08:00
weitianhua
84cda60478
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-18 14:09:27 +08:00
weitianhua
e940e1d72a
Add global header and change declaration position
2020-09-18 14:09:19 +08:00
weitianhua
b16deb4473
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:09:10 +08:00
weitianhua
306c978195
Rewrite a2dp clean_up function
2020-09-18 14:09:02 +08:00