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
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
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
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
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
liqigan
ca42c8ec5c
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-12 17:55:53 +08:00
xiongweichao
9c4e79dafa
add remove bond device complete event
2020-09-28 15:26:48 +08:00
xiongweichao
09e48edd87
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 11:11:12 +08:00
xiongweichao
3db75c4e9d
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 11:10:54 +08:00
weitianhua
f78c8cc0db
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:11:27 +08:00
weitianhua
e797e742f8
Add global header and change declaration position
2020-09-18 14:11:18 +08:00
weitianhua
627b5a4cae
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:11:10 +08:00
weitianhua
3c88fa5a1e
Rewrite a2dp clean_up function
2020-09-18 14:11:00 +08:00
weitianhua
8ad40cecb4
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-18 14:10:48 +08:00
baohongde
86cd54117e
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:45:33 +08:00
Jiang Jiang Jian
91903234a9
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.1' into 'release/v4.1'
...
Bugfix/fix event bug in GAP API [backport v4.1]
See merge request espressif/esp-idf!9192
2020-08-24 12:34:30 +08:00
liqigan
40bc362809
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:15:33 +08:00
liqigan
f5d37dd416
components/bt: Adjust the description of esp_bt_gap_start_discovery
and esp_bt_gap_cancel_discovery
.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-07-08 14:22:19 +08:00
zhiweijian
8793aab0e3
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-28 12:07:58 +00:00
weitianhua
f5fc735711
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-03-18 04:06:24 +00:00
baohongde
c324e7a435
components/bt: Fix connection fail and crash when receive unknown AT cmd
2020-01-20 21:43:23 +08:00
Geng Yu Chao
090843fa17
component/bt: Fix the issue with pointer type conversion in gattc. Unified count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-01-09 16:30:55 +08:00