Jin Cheng
48594fc6e7
fix(bt/bluedroid): Changed the default air mode to invalid value
2023-12-26 11:53:07 +08:00
Jin Cheng
9490f87838
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
...
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-12-26 11:53:06 +08:00
Jin Cheng
72ab07a68d
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks
2023-12-26 11:53:06 +08:00
gongyantao
265b54a015
fix(bt/bluedroid): fixed btc_config_lock error
2023-12-22 11:31:18 +08:00
Jin Cheng
bb22c4323d
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer
2023-11-30 20:06:21 +08:00
Jiang Jiang Jian
c0d6131e83
Merge branch 'bugfix/spp_deinit_crash_v4.4' into 'release/v4.4'
...
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v4.4)
See merge request espressif/esp-idf!27253
2023-11-24 10:19:56 +08:00
Jin Cheng
6b44b42904
fix(bt/bluedroid): Fix the crash of invalid access to released resources
...
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-17 10:56:06 +08:00
chenjianhua
716e78f3a6
feat(bt/bluedroid): support clear legacy advertising
2023-11-16 17:01:04 +08:00
wanglai@espressif.com
1ee2c4db75
fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds
2023-11-08 17:10:26 +08:00
wanglai@espressif.com
e5996b3e86
fix(bt/bluedroid): Revise the description for index in esp_hf_ag_clcc_response and correct the error return in btc_hf_indchange_notification
...
1: modify the description of param index in function
esp_hf_ag_clcc_response.
2: fix the error code return of function btc_hf_indchange_notification.
2023-11-07 20:07:26 +08:00
wanglai@espressif.com
60c5dbad59
feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example
2023-11-07 20:03:46 +08:00
Jin Cheng
a70d469e49
feat(bt/bluedroid): Support to build HID Host and HID Device in single binary
2023-11-01 20:03:39 +08:00
Wang Mengyang
0cdc3284ce
feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary
2023-11-01 20:03:23 +08:00
Wang Meng Yang
5690b2fa0a
Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs_v4.4' into 'release/v4.4'
...
fix(bt/bluedroid): ble fails to load bonded device info after reboot(backport v4.4)
See merge request espressif/esp-idf!26471
2023-10-27 10:27:18 +08:00
gongyantao
439d6440ea
fix(bt/bluedroid): update the newest active device in bluetooth
...
1: update the newest active device when an ACL link is established and
the remote device info is not in bond list. This updates will not stored
into NVRAM until a new device is paired.
2023-10-26 19:41:02 +08:00
Jin Cheng
a62b41064b
change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX
2023-10-12 09:44:34 +08:00
Wang Meng Yang
c1d9e6197c
Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr_v4.4' into 'release/v4.4'
...
Bugfix/fixed bugs of HFP in BlueDroid (v4.4)
See merge request espressif/esp-idf!25829
2023-10-11 19:14:59 +08:00
liqigan
939f55dd80
change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
...
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-10-08 09:54:11 +08:00
chenqingqing
482532b7d7
feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent
2023-09-08 11:29:26 +08:00
Jin Cheng
21dfae06e4
fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler
2023-09-07 11:25:21 +08:00
Jin Cheng
87d4d95e59
fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters
2023-09-07 11:25:19 +08:00
Jin Cheng
d8e806de63
fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP
2023-09-07 11:24:39 +08:00
Jin Cheng
68e469d55f
fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG
2023-09-07 11:24:34 +08:00
Jin Cheng
7db846e809
fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer
2023-09-07 11:06:57 +08:00
chenjianhua
669438ad8b
bluedroid: add GATT read multi variable API and evt
2023-09-06 20:43:31 +08:00
chenjianhua
d0e6ca913e
bluedroid: add periodic adv sync transfer API and EVT
2023-09-06 20:43:31 +08:00
chenjianhua
5ae83e59a3
bluedroid: support gatts show local database
2023-09-06 20:43:31 +08:00
chenjianhua
650380e717
bluedroid: support oob pairing for smp secure connection
2023-09-06 20:43:31 +08:00
zhanghaipeng
b06db3565a
fix(bt): Fix bugs about updating connect param
2023-09-05 20:29:03 +08:00
zhanghaipeng
571e6f0580
feat(bt/bluedroid): Support periodic adv adi feature
2023-09-05 20:29:03 +08:00
chenjianhua
b2325e50bb
fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection
2023-07-18 11:53:24 +08:00
chenjianhua
2101438df6
bluedroid: fixed compile warning when optimize for performance
2023-07-18 11:52:49 +08:00
Jiang Jiang Jian
4a4fea5746
Merge branch 'bugfix/hfp_ag_idx_invalid_v4.4' into 'release/v4.4'
...
bt: Fixed out of bounds access due to variable length array(v4.4)
See merge request espressif/esp-idf!23667
2023-06-09 19:18:58 +08:00
Jiang Jiang Jian
4462c00107
Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v4.4' into 'release/v4.4'
...
Bugfix/a2dp source crash connect to bose speaker (v4.4)
See merge request espressif/esp-idf!23350
2023-06-09 19:17:10 +08:00
zhiweijian
c76c6508a1
Fixed battery profile wrong condition
2023-05-25 10:46:12 +00:00
xiongweichao
f3b2e22d74
bt: Deleted some redundant variables in HFP_AG
2023-05-10 10:24:54 +08:00
xiongweichao
074f0ad41c
bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 326807523146f10a2dbb1b1ace0de6e6d93b7303
...
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-10 10:24:50 +08:00
xiongweichao
e3263ad608
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-10 10:24:45 +08:00
Jin Cheng
8704eb1713
fix a2dp source crash when connect to Bose speaker
2023-04-21 21:20:57 +08:00
chenjianhua
8f3f635e8c
bluedroid: report status after clearing the BLE white list
2023-04-20 15:59:07 +08:00
chenjianhua
814bcf4021
bluedroid: support get bluetooth device name
2023-04-20 15:59:07 +08:00
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