Jiang Jiang Jian
33087e3f27
Merge branch 'component_bt/optimize_spp_stop_server_v4.0' into 'release/v4.0'
...
component_bt/Optimize SPP Stop Server API[backport v4.0]
See merge request espressif/esp-idf!12622
2021-03-22 12:59:10 +00:00
Jiang Jiang Jian
05e3e58ebb
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_0' into 'release/v4.0'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.0]
See merge request espressif/esp-idf!12152
2021-03-05 12:20:11 +00:00
liqigan
75d4004ce6
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-04 15:46:10 +08:00
weitianhua
ebe344f852
Fix A2DP Underrun Issue
2021-02-04 19:35:19 +08:00
weitianhua
1ae261dcdd
Add init & deinit event for a2dp
2021-01-26 10:54:15 +08:00
Jiang Jiang Jian
a61ec41740
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.0)
See merge request espressif/esp-idf!11849
2021-01-19 21:44:35 +08:00
XieWenxiang
f81bdd933e
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:54:09 +08:00
liqigan
d64a19b73c
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:26:58 +08:00
weitianhua
66be657233
Fix crash cause by calling a2dp deinit when connected
2020-12-21 10:27:04 +08:00
Island
0182e53431
Merge branch 'feature/btdm_support_some_ble_new_features_v4.0' into 'release/v4.0'
...
components/bt: backport some new features for Bluedroid BLE(release v4.0)
See merge request espressif/esp-idf!11453
2020-12-03 19:04:02 +08:00
xiewenxiang
f8581b40fc
component/bt: support BLE Read Attribute value by UUID
2020-12-03 16:47:13 +08:00
xiewenxiang
2505769c0b
component/bt: refactor ble random address setting
2020-12-03 16:47:04 +08:00
XieWenxiang
8db16a50ae
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 16:46:53 +08:00
wangcheng
e7375c79b0
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:54:39 +08:00
wangcheng
724d863116
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:46:22 +08:00
liqigan
023f44e348
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-23 12:22:30 +08:00
liqigan
2765d5b829
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-11-23 12:22:30 +08:00
liqigan
ba3f69feea
add event when calling spp API failed
2020-11-23 12:22:30 +08:00
Jiang Jiang Jian
6d23d64b18
Merge branch 'bugfix/fix_bredr_read_rssi_delta_v4.0' into 'release/v4.0'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr [backport v4.0]
See merge request espressif/esp-idf!10805
2020-11-20 15:36:39 +08:00
Jiang Jiang Jian
00b9f48081
Merge branch 'bugfix/add_clear_bond_complete_evt_4_0' into 'release/v4.0'
...
componenet_bt/bugfix: add remove bond device complete event 4.0
See merge request espressif/esp-idf!10656
2020-11-20 13:50:13 +08:00
Jiang Jiang Jian
befde68eea
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.0)
See merge request espressif/esp-idf!10239
2020-11-16 19:38:22 +08:00
baohongde
8f3fe29deb
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-11-12 19:23:10 +08:00
xiongweichao
e51818f6fc
add remove bond device complete event
2020-11-12 19:18:52 +08:00
Jiang Jiang Jian
a69ff28c6f
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect_4_0' into 'release/v4.0'
...
Bugfix/bredr bugfix release for qa dummy disconnect 4.0
See merge request espressif/esp-idf!10647
2020-11-12 14:18:53 +08:00
liqigan
a11e5b399e
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-28 11:50:47 +00:00
xiongweichao
82140dd840
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 11:28:22 +08:00
xiongweichao
8e9f4e719d
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 11:28:08 +08:00
weitianhua
53c57cf2a3
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:14:40 +08:00
weitianhua
98e9f62dda
Add global header and change declaration position
2020-09-18 14:14:34 +08:00
weitianhua
ca2fff3b51
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:14:27 +08:00
weitianhua
7f66230e9e
Rewrite a2dp clean_up function
2020-09-18 14:14:20 +08:00
weitianhua
a3ca473dd4
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:14:11 +08:00
baohongde
9263b84f37
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:46:09 +08:00
XieWenxiang
2832f5f6f2
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.0)
2020-09-02 11:08:07 +08:00
liqigan
45c4fef890
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:01:39 +08:00
XieWenxiang
100750ac1b
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.0)
2020-08-04 15:22:18 +08:00
Jiang Jiang Jian
3f332ef02b
Merge branch 'bugfix/bt_linkup_fallback_event_v4.0' into 'release/v4.0'
...
Bluedroid: Fixes cases having fallback to link up event. (v4.0)
See merge request espressif/esp-idf!9804
2020-07-31 17:27:37 +08:00
Chinmay Chhajed
5fe10f1ff8
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-07-27 14:03:20 +05:30
boblane
9a88eef632
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-17 15:12:57 +08:00
liqigan
9e506a921b
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 15:07:05 +08:00
Chinmay Chhajed
a9d4ed4a55
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-24 22:25:20 +05:30
wangcheng
e781279110
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:20:53 +08:00
zhiweijian
6ee978c6aa
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-15 16:18:31 +08:00
wangcheng
d231b25bc4
fix bta_dm_deinit_cb crash
2020-05-15 16:16:26 +08:00
weitianhua
7c2f1287ec
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-14 14:19:54 +08:00
Jiang Jiang Jian
615dc00e86
Merge branch 'bugfix/some_host_and_example_bugfix_Backport_to_4v0' into 'release/v4.0'
...
Bugfix/some host and example bugfix backport to v4.0
See merge request espressif/esp-idf!7360
2020-02-18 21:02:34 +08:00
gengyuchao
7dc5c2af59
ble Fix typo and add some comment
2020-01-16 16:05:44 +08:00
Brian Friedkin
e5bd8b1982
add missing gatt descriptors
2020-01-16 16:05:29 +08:00
Geng Yu Chao
5445c80a8e
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-16 15:26:37 +08:00
Geng Yu Chao
69d341f7f0
Fix some typo in idf
2020-01-16 15:26:37 +08:00