Jin Cheng
c8a3237309
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 15:49:56 +08:00
xiongweichao
0ac35d3f09
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-03-14 16:44:10 +08:00
chenjianhua
f953320c96
bluedroid: add params in GATT connect event
2023-02-14 11:13:27 +08:00
Jiang Jiang Jian
f46b03fd91
Merge branch 'bugfix/a2dp_error_code_v4.4' into 'release/v4.4'
...
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code(v4.4)
See merge request espressif/esp-idf!21623
2023-02-03 13:51:10 +08:00
chenjianhua
8cf14e42ba
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 17:42:08 +08:00
xiongweichao
d1ce1f9586
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-12-15 17:01:32 +08:00
xiongweichao
8246d6bec6
Assert when malloc user_data fail
2022-12-06 06:02:01 +00:00
xiongweichao
cdbdb31d6d
Fixed memory leak when SPP initialization failed
2022-12-06 06:02:01 +00:00
xiongweichao
67341a31b7
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-06 06:02:01 +00:00
xiongweichao
5c14b6eed1
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-05 20:48:16 +08:00
xiongweichao
9ec06ba4ac
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-05 20:48:04 +08:00
liqigan
7ba36f4d47
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:18:19 +08:00
Jin Cheng
2c38701f68
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 12:14:08 +08:00
Jiang Jiang Jian
6ea8717373
Merge branch 'bugfix/esp_spp_write_len_0_v4.4' into 'release/v4.4'
...
bt: Fixed esp_spp_write() crash when len is 0 (v4.4)
See merge request espressif/esp-idf!20705
2022-11-09 17:57:10 +08:00
xiongweichao
c4fd19c144
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:43:49 +08:00
chenjianhua
83c9d18309
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 16:13:20 +08:00
xiongweichao
4c4799ac49
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:31:04 +08:00
Jiang Jiang Jian
4bf8f462a2
Merge branch 'opt/bluedroid_adv_report_datapath_v4.4' into 'release/v4.4'
...
Bluetooth/Bluedroid: optimize BLE adv report datapath and adv report flow control mechanism(backport v4.4)
See merge request espressif/esp-idf!19381
2022-08-11 11:20:42 +08:00
wangmengyang
2ef0627c2c
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-03 21:55:02 +08:00
wangmengyang
dcf173c95a
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-03 21:55:01 +08:00
wangmengyang
88af2c548f
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-03 21:50:37 +08:00
wangmengyang
ceb4096287
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-03 21:50:36 +08:00
weitianhua
72fd3bc1e6
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-02 13:39:36 +08:00
xiewenxiang
3838e3da4a
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:50:30 +08:00
Jiang Jiang Jian
6e63caa4fa
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid_v4.4' into 'release/v4.4'
...
bugfix/resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h (v4.4)
See merge request espressif/esp-idf!18824
2022-07-07 10:56:04 +08:00
baohongde
65ed4b5339
component/bt: use osi_malloc instead of malloc in bluedroid
2022-07-04 16:10:25 +08:00
jincheng
59b50180a0
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-07-01 19:21:37 +08:00
xiongweichao
5020faf559
update hfp_ag version to 1.7.2
2022-06-21 14:41:19 +08:00
xiewenxiang
3176c707da
component/bt: add link role param for gatt disconnection event(backport v4.4)
2022-06-19 14:41:55 +00:00
keymoon
35fd2cee7c
add address field to read_rmt_name_param
2022-05-29 18:08:41 -07:00
xiongweichao
6232753804
Fix spp initialization failure without free mutex
2022-04-27 14:19:59 +08:00
xiongweichao
eb8a4d3423
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:19:50 +08:00
Wang Meng Yang
70adf8f631
Merge branch 'bugfix/fix_spp_initiator_connect_failed_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed[backport 4.4]
See merge request espressif/esp-idf!17744
2022-04-20 11:01:30 +08:00
liqigan
4a88aed12b
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-19 20:06:32 +08:00
liqigan
3897d12024
fix SPP initiator can not free resource when connection is failed
2022-04-19 20:06:32 +08:00
xiongweichao
3e494ec5fd
Add some bluetooth debug log
2022-04-16 07:14:51 +00:00
xiongweichao
898a7d071b
Update HFP_HF version to 1.7.2
2022-03-07 18:16:05 +08:00
xiongweichao
7485b4d4b2
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-10 19:17:13 +08:00
xiongweichao
49f496e539
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-10 19:16:25 +08:00
xiongweichao
e4277d5202
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-10 19:15:30 +08:00
xiongweichao
d338750b86
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-10 19:15:17 +08:00
liqigan
b8602d4bf9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:03:57 +08:00
Jiang Jiang Jian
db6bc89b8c
Merge branch 'bugfix/leedarson_v4.4' into 'release/v4.4'
...
component_bt: Fix some code logic errors (v4.4)
See merge request espressif/esp-idf!16016
2021-11-30 03:52:24 +00:00
xiongweichao
abbc552f5f
Dereference before null check
2021-11-23 11:31:06 +08:00
“YangZhao”
4345e15f23
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:41:50 +08:00
jincheng
52e7b99630
fix wrong clock_id in function time_now_us
...
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 09:47:35 +08:00
liqigan
1c15c9207c
1. transparent HID device
...
2. add esp API for HID
3. add PM config for HID
4. add HID device demo
Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
Wang Meng Yang
7df2a22faa
Merge branch 'bugfix/spp_memory_leak' into 'master'
...
Fix spp memory leak
Closes IDFGH-5508
See merge request espressif/esp-idf!14319
2021-08-19 00:12:51 +00:00
xiongweichao
7960110729
components/bt: fix spp memory leak
...
closes https://github.com/espressif/esp-idf/issues/7238
2021-07-19 21:19:49 +08:00
xiongweichao
55fe021ddb
fix a2dp deinit crash
2021-07-19 11:06:21 +08:00