Commit Graph
40 Commits
Author SHA1 Message Date
gongyantao 32fa421cfc change(bt): Mark RSSI threshold-related macros as deprecated 2025-12-22 15:13:19 +08:00
gongyantao 3a1a579d9a fix(bt): avoid asserting when previous data hasn't finished transmitting 2025-10-13 09:44:33 +08:00
gongyantao 179a730a03 feat(bt): remove the deprecated functions and parametes 2025-08-19 16:07:05 +08:00
gongyantao 16f87fb8c8 fix(bt): fixed the incorrect unit of clk in cpb rx event 2025-07-04 14:29:02 +08:00
gongyantao f7fedf3fb8 fix(bt): fixed incorrect mask was used to exclude sco packets 2025-05-26 16:49:06 +08:00
gongyantao fc6f5cf71d feat(bt): Initialize the SC during the bluedroid initialization 2025-05-08 10:06:13 +08:00
gongyantao 231226c002 fix(bt): fixed some issues in bt controller
- add check for Wi-Fi channel
- fix the incorrect unit of duration_min in cpb tx
- recalculate the channel map when afh is enabled
- fix incorrect vendor event count causing an assertion failure
2025-03-31 14:49:58 +08:00
gongyantao fafdae5cb7 fix(bt): fixed some issues in bt controller
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-05 14:46:43 +08:00
gongyantao 57a52f571d change(bt): optimize the macro definition for sdp_max_pad_len 2025-02-20 19:12:40 +08:00
gongyantao b225703712 feat(bt): add vendor hci command and event to support test
- add afh related vendor hci command and event
- add vendor event mask command
2025-01-20 20:21:51 +08:00
gongyantao e530da777b fix(bt): fixed some issues in esp32 bt controller
1: fix duplicated lc_enc_restart_req when new lk type is semi-permanent
       key
2: reset PreventEncEvt flag at the end of restart encryption procedure
2024-11-27 15:10:38 +08:00
gongyantao 034a35a66f fix(bt): fix some issues in bt controller
1: Store local device name into NVDS when handling hci_wr_local_name_cmd.
2: Set default device name during link manager initialization.
3: Set the QoS value to the minimum value if the calculated QoS is less
   than the minumum.
2024-10-31 14:50:09 +08:00
gongyantao 9a2e2f95e9 fix(ci): disable ci test when target is not support classic bluetooth 2024-08-16 17:26:36 +08:00
gongyantao 30dddabb6b fix(bt): remove redundant space in hid example path 2024-08-14 11:06:35 +08:00
gongyantao fe9cd152fe fix(bt): change example sdkconfig name to sdkconfig.ci.test 2024-08-12 17:49:53 +08:00
gongyantao 6e2804c907 change(ci): remove device name check in bt example 2024-08-02 14:28:44 +08:00
gongyantao 4882feaed8 fix(bt): get remote device name from eir data 2024-08-02 14:28:44 +08:00
gongyantao 9044b81452 feat(bt/example): add ci sdkconfig for bt examples 2024-08-02 14:28:33 +08:00
gongyantao a14dc38023 feat(bt): add bt address printing for all bt examples 2024-07-18 20:06:46 +08:00
gongyantao cd0e0a683f fix(bt): fix uTask stack overflow in bt example spp_initiator 2024-07-18 20:06:40 +08:00
gongyantao 772b4dc26a fix(bt): add integrity check when temporary link key selected 2024-06-24 12:05:49 +08:00
gongyantao e80feeab1a fix(bt): fix some issues in bt controller
1: fix return incorrect link key with hci command rd_stored_link_key
2: fix the assert triggered during APB TX
2024-06-03 15:21:38 +08:00
gongyantao 88774ee612 fix(bt): fixed assert_1024 issue when bt tx and wifi coexist
Closes https://github.com/espressif/esp-idf/issues/13656
2024-05-10 10:18:54 +08:00
gongyantao 9e2ffff9b6 fix(bt): fix some issues in bt controller
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-01 11:40:10 +08:00
gongyantao 112ad700fc change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-20 10:24:59 +08:00
gongyantao 3f205d4d85 fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-05 10:01:44 +08:00
gongyantao d5e5cd0237 fix(bt/bluedroid): fixed btc_config_lock error 2023-12-15 11:03:29 +08:00
gongyantao f303fa0174 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 15:00:45 +08:00
gongyantao cbb3da69ae ci(bt/bluedroid): remove configs that are not in effect 2023-11-20 14:32:13 +08:00
gongyantao ab55cd05c2 fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example 2023-11-01 20:17:48 +08:00
gongyantao 013e609cea fix(bt/bluedroid): Send device status of AG to HF with a different api
1: replace api esp_hf_ag_devices_status_indchange with esp_hf_ag_ciev_report in bluetooth
   hfp_ag example to send device status of AG to HF unit.
2: remove the unused codes
2023-10-18 19:27:06 +08:00
Gong Yan Tao ce98ac87d4 Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs' into 'master'
fix(bt&ble): fix BLE unable to load bonded device info after reboot.

Closes BT-3406

See merge request espressif/esp-idf!25535
2023-10-13 19:18:42 +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
gongyantao 9e4c8bb76e fix(bt/bluedroid): Add correct macro for ertm mode included flag 2023-10-11 20:19:40 +08:00
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
Gong Yan Tao 4dcab6c2ed Merge branch 'doc/add_timing_diagram_for_bt_l2cap_server_and_client' into 'master'
docs(examples/bluetooth): Add the sequence diagram for L2CAP connection and the discription for the diagram

Closes FCS-1237

See merge request espressif/esp-idf!24507
2023-07-08 12:29:49 +08:00
gongyantao b84950db53 docs(examples/bluetooth): Add the sequence diagram of L2CAP connection and the discription for the sequence diagram
1: add the sequence diagram for the bluetooth example projects,bt_l2cap_server and bt_l2cap_client, which implenment the L2CAP connection.
2: add the discription for the sequence diagram.
2023-07-07 20:12:05 +08:00
Gong Yan Tao d2fb7240a7 Merge branch 'docs/update_esp_hid_host' into 'master'
[docs] fix documents for Bluetooth HID Host API reference

Closes BT-3328

See merge request espressif/esp-idf!17602
2023-06-21 15:01:32 +08:00
gongyantao 028f7779f5 resolve the conflicts 2023-06-16 15:20:25 +08:00