Commit Graph

63 Commits

Author SHA1 Message Date
zhanghaipeng c9cdf51b05 docs(ble/bluedroid): Added BLE log when bond info was deleted 2024-12-19 11:27:49 +08:00
chenjianhua 23455ea9c2 fix(bt/bluedroid): Fixed failure to get host status when host is not enabled 2024-12-11 14:39:56 +08:00
chenjianhua 6d1160b2e6 feat(bt/bluedroid): Added config for saving BLE bonding keys to NVS 2024-12-11 14:38:59 +08:00
xiongweichao 19bf3ece26 fix(bt/bluedroid): fixed issues introduced by byte alignment
- esp_bt_uuid_t is byte aligned, tBT_UUID is 4-byte aligned.
2024-11-22 10:37:14 +08:00
zhanghaipeng 5486241e44 feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-26 20:01:58 +08:00
Wang Meng Yang b125655073 Merge branch 'feat/add_mode_chg_parem' into 'master'
feat(bt/bluedroid): Report sniff interval to application layer

Closes BT-3868

See merge request espressif/esp-idf!33641
2024-09-26 09:54:02 +08:00
zhanghaipeng b88b511362 feat(ble/bluedroid): Support resolve BLE address for interval usage 2024-09-24 20:00:48 +08:00
xiongweichao b71597416d feat(bt/bluedroid): Report sniff interval to application layer 2024-09-23 15:23:36 +08:00
zhanghaipeng 9fcb712539 feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-09 19:53:16 +08:00
chenjianhua 1ba831b0e2 feat(bt/bluedroid): Report HCI error code to app when command fails 2024-07-29 15:23:14 +08:00
zhanghaipeng 42ca04b586 fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-06-05 11:40:58 +08:00
zhiweijian b9a1756202 fix(ble/bluedroid): Remove BLE functions discard declaration
fix(nt/bluedroid): Split the device name set functions

feat(bt/bluedroid): added APIs to get/set device name on BT GAP side

change(bt/common): Marked some APIs in device module as deprecated

1. esp_bt_dev_set_device_name
2. esp_bt_dev_get_device_name

change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples

change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
2024-04-18 15:53:54 +08:00
zhiweijian 379484f4db feat(ble/bluedroid): move vendor hci api to ble internal code 2024-04-10 14:17:01 +08:00
Jin Cheng 45af060963 change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-20 10:38:44 +08:00
chenjianhua 2e122313c2 feat(bt/bluedroid): Add ext adv and privacy status check 2024-03-01 11:07:37 +08:00
Jin Cheng a288640655 fix(bt/bluedroid): Avoided possible memory leak in the module of BT device 2024-02-23 14:14:50 +08:00
zhiweijian 7ea7f1536f feat(bt/bluedroid): add api to setnd vendor hci command 2024-02-22 18:00:30 +08:00
Wang Meng Yang 28ff8e3788 Merge branch 'feat/add_test_api_for_sec' into 'master'
Feat/add test api for sec

Closes BT-3578 and BT-3579

See merge request espressif/esp-idf!28191
2024-02-18 09:57:37 +08:00
gongyantao 3f205d4d85 fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-05 10:01:44 +08:00
chenjianhua a3f5382eaa feat(bt/bluedroid): Support get status of bluedroid host 2024-02-02 17:29:11 +08:00
zhanghaipeng b491c7bb6f fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices 2024-01-20 16:35:38 +08:00
Jin Cheng 057eb7061d feat(bt/bluedroid): Added an event to notify the encryption mode to applicaiton layer 2024-01-05 09:40:38 +08:00
Jin Cheng 6ee9b95960 feat(bt/bluedroid): Added report for the type of link key in ESP_BT_GAP_AUTH_CMPL_EVT 2023-12-29 16:22:04 +08:00
Wang Meng Yang 4c8f6c5458 Merge branch 'feat/add_get_device_name_api' into 'master'
feat(bt/bluedroid): Added API to get local device name

Closes BT-3526

See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
Jin Cheng a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
gongyantao d5e5cd0237 fix(bt/bluedroid): fixed btc_config_lock error 2023-12-15 11:03:29 +08:00
zhanghaipeng c1b39f7aa5 fix(bt/bluedroid): Fix BLE remove bond list status 2023-10-30 17:45:38 +08:00
zhiweijian d86a990be5 fix(ble/bluedroid): fixed BLE bond error after reboot 2023-10-18 14:40:16 +08:00
gongyantao fdc35e772b 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-12 07:46:34 +00:00
gongyantao 061cd29168 fix(bt/bluedroid): ble fails to load bonded device info after reboot
1: add a quantity check in bt when writing paired device info into nvs.
2: delete the exceeded device info from NVS when get bonded list during
bluedroid initialization.
3: unify the process of bt and ble to load bonded list during bluedroid
initialization.
2023-10-12 07:46:34 +00:00
zhiweijian 23a20e4b27 feat(ble/bluedroid): Add API to update config file path 2023-09-25 20:58:55 +08:00
Jin Cheng d0e0928138 feat(bt/Bluedroid): Implemented esp_coex_status_set/clear using vendor HCI 2023-09-13 10:55:04 +08:00
liqigan 4b35ac5c2d remove(bt/bluedroid): Remove unused macro BT_SSP_INCLUDED and global
variable bte_bt_appl_cfg
2023-08-31 12:28:38 +00:00
chenjianhua 70bb6c7388 bluedroid: fixed GATT multi notify and robust caching 2023-01-06 20:13:58 +08:00
chenjianhua 238d1375a8 bluedroid: support GATT robust caching feature 2022-12-09 13:28:31 +08:00
chenjianhua 2048322429 bluedroid: support oob pairing for smp secure connection 2022-12-09 13:28:31 +08:00
jincheng 228bf596dc Added reporting for ACL link related events to application 2022-12-07 02:33:55 +00: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 80e3d965ae Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-01 11:47:46 +08:00
wangmengyang 9a5f854760 component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer 2022-08-02 14:14:07 +08:00
baohongde c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
“YangZhao” 12ec4866b8 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 17:38:02 +08:00
xiongweichao ce2d72ddfb Missing break in switch 2021-11-18 19:47:09 +08:00
xiewenxiang 5e21788283 component/bt: Modify the bluetooth device name length limits 2021-10-20 16:19:28 +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
Angus Gratton 0d26c89b6b btc_common: Redefine BTC assert macro to use standard assert
Allows assert to be disabled, made silent, etc.

Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton 66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
baohongde acce9e5fea components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap 2020-09-27 19:55:12 +08:00
xiongweichao 4e4c86b267 add remove bond device complete event 2020-09-27 19:55:12 +08:00