gongyantao
ff353beec9
feat(bt/gap): Add new apis for bluetooth to set and get page timeout
...
1: add two new apis for classic bluetooth,
esp_bt_gap_set_page_timeout(page_to) and esp_bt_gap_get_page_timeout(),
which can get and set the value of page timeout.
2023-08-29 16:28:35 +08:00
baohongde
e7a2096397
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response
2023-08-24 14:04:28 +08:00
chenjianhua
4e140bd2f9
fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection
2023-07-13 12:12:57 +08:00
Wang Meng Yang
52071f4e44
Merge branch 'bugfix/sdp_32_and_128_bit_UUID' into 'master'
...
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID
Closes IDFGH-10312
See merge request espressif/esp-idf!24173
2023-06-28 11:34:51 +08:00
Ilia Lutchenko
418ffd147b
btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
...
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-26 10:05:50 +02:00
chenjianhua
0634bb904e
bluedroid: fixed compile warning when optimize for performance
2023-06-11 16:06:07 +08:00
Wang Meng Yang
e156fcec8a
Merge branch 'bugfix/hfp_ag_idx_invalid_master' into 'master'
...
bt: Fixed out of bounds access due to variable length array
Closes IDFGH-9979
See merge request espressif/esp-idf!23481
2023-05-09 19:51:42 +08:00
xiongweichao
a7519e17c8
bt: Deleted some redundant variables in HFP_AG
2023-05-04 15:36:23 +08:00
Wang Meng Yang
00687a1fb6
Merge branch 'bugfix/fix_ble_battery_profile_error' into 'master'
...
Fixed battery profile wrong condition in bluedroid host
Closes IDFGH-9937
See merge request espressif/esp-idf!23358
2023-04-28 14:50:03 +08:00
Chen Jian Hua
b2906d412d
Merge branch 'feature/support_periodic_adv_sync_trans' into 'master'
...
Bluedroid: add periodic adv sync transfer API and EVT
See merge request espressif/esp-idf!22146
2023-04-27 14:19:43 +08:00
Chen Jian Hua
809bd5a52c
Merge branch 'feature/support_gatt_read_multi_variable' into 'master'
...
Bluedroid: add GATT read multi variable API and EVT
See merge request espressif/esp-idf!21990
2023-04-27 14:18:22 +08:00
xiongweichao
481034060a
bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
...
Closes https://github.com/espressif/esp-idf/issues/11264
2023-04-26 19:31:07 +08:00
xiongweichao
de24e9b86e
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-04-26 17:51:16 +08:00
chenjianhua
0f7446f93f
bluedroid: support gatts show local database
2023-04-23 17:22:04 +08:00
zhiweijian
1d548ae1f2
Fixed battery profile wrong condition
2023-04-23 11:15:57 +08:00
Jiang Jiang Jian
18af256a84
Merge branch 'bugfix/fix_bleqabr23_138' into 'master'
...
Bluedroid: report status after clearing the BLE white list
See merge request espressif/esp-idf!23094
2023-04-11 09:59:24 +08:00
Jin Cheng
b4f6e585d4
fix a2dp source crash when connect to Bose speaker
2023-04-10 05:11:04 +00:00
chenjianhua
3a7dea67eb
bluedroid: report status after clearing the BLE white list
2023-04-10 12:12:32 +08:00
Jin Cheng
1d32c85f18
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 13:17:33 +08:00
Wang Meng Yang
9c1897028a
Merge branch 'bugfix/avrcp_psth_cmd_rsp' into 'master'
...
bt:Added a parameter to tell the user the result of the pass through command implementation
Closes BT-2233
See merge request espressif/esp-idf!22474
2023-03-09 17:48:15 +08:00
xiongweichao
3b5939396d
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-02-22 15:37:54 +08:00
Alexey Lapshin
d4b7be4a73
bt: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Chen Jian Hua
732df630cd
Merge branch 'feature/add_params_in_gatt_conn_evt' into 'master'
...
Bluedroid: add params for GATT connect event
Closes BLEQABR23-1
See merge request espressif/esp-idf!22183
2023-02-03 10:29:36 +08:00
AlbertWDev
18a1b4c9b9
bt: fix SDP event status overwritten by handle
2023-02-01 10:53:42 +01:00
chenjianhua
4b44305103
bluedroid: add params in GATT connect event
2023-02-01 12:08:33 +08:00
chenjianhua
0976a1d7f6
bluedroid: add periodic adv sync transfer API and EVT
2023-01-30 14:32:04 +08:00
chenjianhua
708ca0181c
bluedroid: support get bluetooth device name
2023-01-13 10:39:57 +08:00
chenjianhua
e1888dbb96
bluedroid: add GATT read multi variable API and evt
2023-01-10 20:44:23 +08:00
Wang Meng Yang
1ac3595bde
Merge branch 'bugfix/a2dp_error_code' into 'master'
...
bt: Update A2DP version to v1.4
Closes BT-2918, BT-2919, and BT-2932
See merge request espressif/esp-idf!21142
2022-12-13 14:56:18 +08:00
Zhi Wei Jian
6d676019c1
Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
...
Bluedroid: fix encrypt keysize of GATT characteristic permission
Closes BT-2992
See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
Wang Meng Yang
84e48db373
Merge branch 'feature/support_ble_53_feature_for_pts' into 'master'
...
Bluedroid: support ble host features for PTS
See merge request espressif/esp-idf!21253
2022-12-12 14:33:37 +08:00
chenjianhua
2048322429
bluedroid: support oob pairing for smp secure connection
2022-12-09 13:28:31 +08:00
liqigan
2198c3ed77
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-07 10:36:42 +08:00
xiongweichao
9d56c4c215
Assert when malloc user_data fail
2022-12-05 20:30:45 +08:00
xiongweichao
6bce9b7029
Fixed memory leak when SPP initialization failed
2022-12-05 20:30:45 +08:00
xiongweichao
4a702a2011
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-05 20:30:43 +08:00
chenjianhua
c37184aa85
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-02 15:10:39 +08:00
xiongweichao
3268075231
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-11-30 10:41:54 +08:00
xiongweichao
40f6239fd7
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-11-30 10:41:52 +08:00
xiongweichao
c497d7d6c1
bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init()
2022-11-29 10:20:47 +08:00
xiongweichao
ecf2eea1d6
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-11-28 20:42:53 +08:00
xiongweichao
33d351898a
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-11-23 20:17:22 +08:00
xiongweichao
01a67d001e
bt: Keep the maximum number of credits unchanged
2022-10-27 19:45:25 +08:00
xiongweichao
7885f80597
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-10-27 19:45:25 +08:00
xiongweichao
ea41a21b0e
bt: Split SPP application layer data packets according to the MTU of the peer
2022-10-27 19:45:25 +08:00
xiongweichao
bda54af557
bt: Fixed SPP VFS mode not being able to send data
2022-10-25 14:17:45 +08:00
Jin Cheng
0459cf3963
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-10-17 20:57:19 +08:00
xiongweichao
697755dfe5
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-08-25 11:36:28 +08:00
chenjianhua
e29170bce9
Bluedroid: Configurable option to modify max gatt service attributes count
2022-08-17 14:36:12 +08:00
wangmengyang
0a1fa3e204
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-02 14:14:07 +08:00