wangcheng
1be101f342
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:44:57 +08:00
wangcheng
7097ff286c
component/bt: Fix a potential double free error.
2020-11-24 10:44:56 +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
Jiang Jiang Jian
e8cee449ea
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check_v4.2' into 'release/v4.2'
...
NimBLE: host_rcv_pkt event buf size check. (v4.2)
See merge request espressif/esp-idf!10758
2020-10-27 18:49: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
Chinmay Chhajed
d67e284c8d
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:28:51 +05:30
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
baohongde
2b4fae912c
components/bt: Fix clear bond fail when connected without ble included
2020-09-28 14:57:27 +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
weitianhua
59234501dd
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:08:53 +08:00
Jiang Jiang Jian
dddcc2ede8
Merge branch 'bugfix/add_protection_for_spp_api_4.2' into 'release/v4.2'
...
Bugfix/add protection for spp api 4.2
See merge request espressif/esp-idf!10281
2020-09-16 14:06:28 +08:00
baohongde
ad8b3e4274
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:44:28 +08:00
wangcheng
a7d52dafa6
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:27:03 +08:00
weitianhua
a7ddc9c125
Add protection for rfcomm close API in SPP
2020-09-04 14:40:27 +08:00
weitianhua
07e2d3ab0f
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-04 14:40:19 +08:00
wangcheng
12633717f7
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:43:57 +08:00
Island
9cd0e2fd1a
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v4.2' into 'release/v4.2'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.2)
See merge request espressif/esp-idf!10241
2020-09-02 14:20:49 +08:00
XieWenxiang
82deea84eb
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.2)
2020-09-02 11:18:25 +08:00
Island
7d79d9f312
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.2' into 'release/v4.2'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.2)
See merge request espressif/esp-idf!9948
2020-08-28 13:55:46 +08:00
XieWenxiang
51ff44d96e
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.2)
2020-08-28 10:20:19 +08:00
Jiang Jiang Jian
b498f0aebe
Merge branch 'bugfix/buff_semaphore_not_free_v4.2' into 'release/v4.2'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9983
2020-08-24 17:30:54 +08:00
wangcheng
a557746cdd
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-08-14 17:16:23 +08:00
liqigan
6e94f6f9f4
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:08:28 +08:00
weitianhua
8de78c2b3b
Seperate BTA_JV_L2CAP for less bin size
2020-08-01 16:40:43 +08:00
Jiang Jiang Jian
e7179db204
Merge branch 'nimble/nrpa_support_v4.2' into 'release/v4.2'
...
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.2)
See merge request espressif/esp-idf!9741
2020-07-29 19:05:01 +08:00
Chinmay Chhajed
9cf4dd20e0
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-07-27 13:52:58 +05:30
Prasad Alatkar
a4e8e56288
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.2)
...
- 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-24 06:55:22 +00:00
Jiang Jiang Jian
0bcd26a610
Merge branch 'bugfix/fix_hci_max_page_num_v4.2' into 'release/v4.2'
...
bugfix/Support for more Bluetooth HID devices [backport v4.2]
See merge request espressif/esp-idf!9660
2020-07-21 12:10:59 +08:00
boblane
e14906f073
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-17 15:06:39 +08:00
DerfJagged
d1506fdae0
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:07:41 +08:00
weitianhua
b716800000
Fix error of AG API return line
...
Closes https://github.com/espressif/esp-idf/issues/5554
2020-07-14 14:43:15 +08:00
Jiang Jiang Jian
1f8c5b2b64
Merge branch 'docs/fix_event_typo_backport_v4.2' into 'release/v4.2'
...
docs/fix event typo backport v4.2
See merge request espressif/esp-idf!9382
2020-07-12 21:24:03 +08:00
Chinmay Chhajed
ec043aac06
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-30 14:41:46 +05:30
liminyang
5bf8bb6d3a
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:48:48 +08:00
Island
aaeb2ba733
Merge branch 'bugfix/att_buffer_count_fixed_v4.2' into 'release/v4.2'
...
Bugfix/att buffer count fixed v4.2
See merge request espressif/esp-idf!9161
2020-06-22 11:44:54 +08:00
Wang Cheng
21ff2f84ce
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-17 12:52:28 +08:00
Geng Yu Chao
02cd178115
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-17 12:52:18 +08:00
wangcheng
17609cbb02
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:19:00 +08:00