weitianhua
ca00390174
Seperate BTA_JV_L2CAP for less bin size
2020-11-21 09:38:46 +00: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
baohongde
19ef328f8e
components/bt: Fix clear bond fail when connected without ble included
2020-11-12 19:18:52 +08:00
xiongweichao
e51818f6fc
add remove bond device complete event
2020-11-12 19:18:52 +08:00
Jiang Jiang Jian
e9ba0e05f2
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check_v4.0' into 'release/v4.0'
...
NimBLE: host_rcv_pkt event buf size check. (v4.0)
See merge request espressif/esp-idf!10760
2020-11-12 14:20:29 +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
Jiang Jiang Jian
3c9833eaf9
Merge branch 'bugfix/add_protection_for_spp_api_4.0' into 'release/v4.0'
...
Bugfix/add protection for spp api [backport v4.0]
See merge request espressif/esp-idf!10283
2020-11-12 14:15:41 +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
Chinmay Chhajed
3b670f1f8b
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-09 09:32:14 +05:30
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
weitianhua
f97188d2d3
Add protection for rfcomm close API in SPP
2020-09-14 10:06:22 +08:00
weitianhua
f38d93f73c
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-14 10:06:22 +08:00
baohongde
9263b84f37
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:46:09 +08:00
Jiang Jiang Jian
0fda05cc83
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.0' into 'release/v4.0'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.0
See merge request espressif/esp-idf!10253
2020-09-07 14:18:09 +08:00
wangcheng
2ba90c8453
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:24:23 +08:00
wangcheng
ce1905d6b5
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:33:06 +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
wangcheng
b50bbe3a5b
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-08-07 15:15:49 +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
Jiang Jiang Jian
2be17377bb
Merge branch 'nimble/nrpa_support_v4.0' into 'release/v4.0'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v4.0)
See merge request espressif/esp-idf!9736
2020-07-31 17:27:21 +08:00
Jiang Jiang Jian
f32582b588
Merge branch 'bugfix/fix_hci_max_page_num_v4.0' into 'release/v4.0'
...
bugfix/Support for more Bluetooth HID devices [backport v4.0]
See merge request espressif/esp-idf!9662
2020-07-30 21:20:15 +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
Prasad Alatkar
9566e4ec19
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.0)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-23 11:31:52 +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
DerfJagged
a1cf4fa871
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-17 10:23:52 +08:00
Jiang Jiang Jian
f73cd1d4f1
Merge branch 'docs/fix_event_typo_backport_v4.0' into 'release/v4.0'
...
docs/fix event typo backport v4.0
See merge request espressif/esp-idf!9384
2020-07-12 21:23:54 +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
liminyang
acb54059be
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:59:14 +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
b869e69c62
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-18 15:02:02 +08:00
wangcheng
12759b951c
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-18 15:01:24 +08:00
Wang Cheng
d875485f89
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-18 15:01:18 +08:00
Geng Yu Chao
ac2e34f611
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-18 15:01:13 +08:00
wangcheng
211e7bb4c2
components/bt: Add api to query the number of available buffers for the current connection
2020-06-18 15:01:05 +08:00
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
Prasad Alatkar
5af06f49f5
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.0)
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-20 16:19:55 +05:30
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
wangcheng
456c8bdbdf
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-15 16:16:26 +08:00