Commit Graph

966 Commits

Author SHA1 Message Date
Rahul Tank
146cf22f76 fix(nimble): Removed double free of packet 2024-02-13 14:42:42 +05:30
Roshan Bangar
93176970d9 Blufi : fix blufi deinit 2024-02-08 17:14:12 +05:30
MinZai97
6641a692b7 feat: replace lightdriver, and support more chips in ble mesh examples 2024-02-07 13:28:52 +08:00
chenjianhua
51db5c76b7 fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3 2024-02-04 16:52:04 +08:00
cjin
5e44ecb938 fix(ble): delete unused example ci test script 2024-01-29 10:25:36 +08:00
cjin
227ad67a09 feat(ble): added pytest for ble power save example 2024-01-29 10:25:36 +08:00
xiongweichao
9c50e0c809 fix(ble): Fixed the issue of being unable to enter light sleep
- Fixed the issue where light sleep cannot be entered when external 32k XTAL does not exist
2024-01-29 10:25:36 +08:00
zhanghaipeng
d303ef3ba0 fix(bt/bluedroid): Update ble gattc gatts coex example 2024-01-02 13:30:30 +08:00
zhanghaipeng
7a0268ab66 fix(bt/bluedroid): Optimize ble remove all bonded devices function 2024-01-02 13:28:05 +08:00
zhanghaipeng
e76135fedf fix(bt/bluedroid): Update ble ibeacon example document 2024-01-02 13:28:05 +08:00
Jiang Jiang Jian
35556a6a85 Merge branch 'backport/fix_ble_prepare_write_v5.0' into 'release/v5.0'
Backport/fix ble prepare write v5.0

See merge request espressif/esp-idf!27908
2023-12-31 14:25:28 +08:00
Jiang Jiang Jian
437703f121 Merge branch 'fix/ble_mesh_example_relay_enable_v5.0' into 'release/v5.0'
fix(ble_mesh): Enable relay by default for the specific dev role (v5.0)

See merge request espressif/esp-idf!27511
2023-12-25 14:05:38 +08:00
zhanghaipeng
73da8018c5 fix(bt/bluedroid): Fix prepare write for BLE example 2023-12-23 20:19:29 +08:00
zhanghaipeng
1355f58180 feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-04 14:38:51 +08:00
Liu Linyan
4de66ad588 fix(ble_mesh): Enable relay by default for the specific dev role 2023-11-30 12:28:32 +08:00
zhanghaipeng
92080994fd docs(bt/bluedroid): Update ble example document 2023-11-30 10:38:43 +08:00
gongyantao
82aed29e59 ci(bt/bluedroid): remove configs that are not in effect 2023-11-21 10:11:12 +08:00
gongyantao
c4affdb943 fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example 2023-11-02 11:47:38 +08:00
zhanghaipeng
336244a060 fix(bt/bluedroid): Fix max BLE gattc notify number to improve compatibility 2023-10-31 14:37:39 +08:00
zhanghaipeng
018e84599a fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-31 14:37:39 +08:00
zhanghaipeng
b19e24ef01 feat(bt/bluedroid): Support hid device control point 2023-10-31 14:37:39 +08:00
zhanghaipeng
fc96662044 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-31 14:37:39 +08:00
Jiang Jiang Jian
231e822d03 Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.0' into 'release/v5.0'
Fixed some BLE bugs 20231020 (backport v5.0)

See merge request espressif/esp-idf!26606
2023-10-26 11:51:48 +08:00
zhiweijian
f3729b1610 feat: add config to disable ble hci uart flow control 2023-10-20 17:16:45 +08:00
gongyantao
65e0356c3d 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-20 10:03:34 +08:00
wanglai@espressif.com
025a669983 fix(bt/bluedroid): Modify the operator name to English in hfp_ag example 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
9a11ce19ea feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
2a747a3058 feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-26 15:10:15 +08:00
Rahul Tank
35bc5c3beb Merge branch 'bugfix/update_ble_phy_example_v5.0' into 'release/v5.0'
fix(nimble): Updated BLE Phy example (v5.0)

See merge request espressif/esp-idf!26016
2023-09-20 16:34:55 +08:00
zhanghaipeng
ed1a83a93f docs(bt): Update comment in ble 2023-09-18 19:38:04 +08:00
zhanghaipeng
debcf93282 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-18 19:37:55 +08:00
Rahul Tank
751380762c fix(nimble): Updated BLE Phy example
The existing example has some issues which are now fixed.

1. Original example had legacy_pdu set which was not causing
   the PHY to actually change. Fixed this
2. Added a way to initiate connection directly on 2M or Coded Phy.
2023-09-18 13:25:41 +05:30
Island
d1d4519f96 Merge branch 'feature/esp32c2_add_trace_function_v5.0' into 'release/v5.0'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25641
2023-09-18 11:44:27 +08:00
Wang Meng Yang
b212ab6176 Merge branch 'test/bqb_test_bt_classic_hid_v5.0' into 'release/v5.0'
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test (backport v5.0)

See merge request espressif/esp-idf!25834
2023-09-18 11:05:35 +08:00
cjin
a29eaf058e feat: Support esp32c2 BLE power save example 2023-09-08 17:03:03 +08:00
wanglai@espressif.com
5f243e9b95 fix(bt/bluedroid): Changed HID related copyright automatically 2023-09-07 14:20:36 +08:00
Wang Mengyang
50a854ce10 ci(bt/bluedroid): Add CI build test for HFP examples with voice over HCI enabled 2023-09-07 11:37:18 +08:00
chenqingqing
fbf196a7f9 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-07 11:37:09 +08:00
Jin Cheng
963f5a40db fix(bt/bluedroid): Fixed invalid access to freed semaphore 2023-09-07 10:56:11 +08:00
Jin Cheng
774056bf62 fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-09-07 10:56:11 +08:00
Jin Cheng
f0ed003d91 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-09-07 10:56:11 +08:00
chenqingqing
342ae32a23 fix(bt): Fix argument type of ESP_LOGI for spp examples about format error
Closes https://github.com/espressif/esp-idf/pull/11819
2023-08-11 15:01:18 +08:00
isha.pardikar@espressif.com
3fc8422fe6 NimBLE: Fixed crash when L2CAP COC sends large amount of data. 2023-07-28 15:58:48 +05:30
Rahul Tank
8e06eb490b docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-20 09:31:51 +05:30
Rahul Tank
baecf8d44f Merge branch 'feature/services_health_therm_v5.0' into 'release/v5.0'
NimBLE: Added health thermometer profile (v5.0)

See merge request espressif/esp-idf!24834
2023-07-19 15:13:20 +08:00
xiongweichao
09854f0e89 docs(bt/example): Updated bluetooth power save readme 2023-07-17 17:06:00 +08:00
isha.pardikar@espressif.com
642aba7c03 feat (Nimble): Added Health Thermometer as a service 2023-07-17 14:20:05 +05:30
isha.pardikar@espressif.com
71f5dc4973 NimBLE: Added health thermometer profile 2023-07-17 11:24:04 +05:30
Rahul Tank
e71bab242e Merge branch 'bugfix/handle_correct_return_value_v5.0' into 'release/v5.0'
Nimble: Corrected conditional check during connection to handle failure case (v5.0)

See merge request espressif/esp-idf!24645
2023-07-13 13:12:04 +08:00
Rahul Tank
35b6a541de Merge branch 'docs/walkthrough_for_multi_adv_examples_v5.0' into 'release/v5.0'
Nimble: Added Example Walkthrough tutorial for Multi Adv example (v5.0)

See merge request espressif/esp-idf!24510
2023-07-13 12:51:13 +08:00
Rahul Tank
ae1de35817 Nimble: Corrected conditional check during connection to handle failure case 2023-07-12 19:04:34 +05:30
Rahul Tank
a3722b4cc4 Nimble: Added Example Walkthrough tutorial for Multi Adv example 2023-07-11 11:49:06 +05:30
Rahul Tank
ab7df868cb Nimble: Added Example Walkthrough tutorial for HTP example in nimble 2023-07-11 11:47:18 +05:30
gongyantao
b4a62fb339 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-08 12:39:35 +08:00
Jiang Jiang Jian
1c07880c34 Merge branch 'bugfix/add_event_cb_for_pcl_v5.0' into 'release/v5.0'
Nimble: Add support to send power control event in registered callback(v5.0)

See merge request espressif/esp-idf!23584
2023-06-13 11:20:34 +08:00
Jiang Jiang Jian
86ed0c53d5 Merge branch 'feature/update_nimble_examples_readme_v5.0' into 'release/v5.0'
Nimble:Updated nimble examples README to include chip information (v5.0)

See merge request espressif/esp-idf!22981
2023-06-12 11:06:09 +08:00
xiongweichao
871a7568b7 bt: Added an example of Bluetooth using light sleep 2023-05-30 20:25:45 +08:00
Rahul Tank
dc63356910 Nimble: Add support to send power control event in registered callback 2023-05-18 14:02:07 +05:30
Rahul Tank
c6e7bb3ecf Nimble:Updated nimble examples README to include chip information 2023-05-15 15:33:53 +05:30
Jiang Jiang Jian
c323399520 Merge branch 'bugfix/fix_hw_ralunderrun_assert_v5.0' into 'release/v5.0'
Fixed BLE HW RAL_UNDERRUN assert and backport some bug fix 23-03-30 (back port v5.0)

See merge request espressif/esp-idf!22989
2023-05-11 17:27:32 +08:00
Jiang Jiang Jian
3cad80e98f Merge branch 'bugfix/spp_notify_v5.0' into 'release/v5.0'
NimBLE: Removed indicate flag from gatt db and added subscription case in spp_server example (v5.0)

See merge request espressif/esp-idf!23459
2023-05-11 17:24:50 +08:00
Jiang Jiang Jian
de6d31aa20 Merge branch 'bugfix/a2dp_source_app_state_error_v5.0' into 'release/v5.0'
bt: Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device(v5.0)

See merge request espressif/esp-idf!23556
2023-05-11 17:22:29 +08:00
Jiang Jiang Jian
d3a57ff659 Merge branch 'feature/multi_adv_v5.0' into 'release/v5.0'
NimbLE: Added multi advertising example (v5.0)

See merge request espressif/esp-idf!22828
2023-05-11 17:19:17 +08:00
Jiang Jiang Jian
054f17c8f3 Merge branch 'bugfix/IDFGH-9552_v5.0' into 'release/v5.0'
NimBLE : Added configurable option for resolving peer address in bleprph example. (v5.0)

See merge request espressif/esp-idf!22991
2023-05-11 17:13:53 +08:00
zhiweijian
f0c6c5962a set BT_CTRL_BLE_MAX_ACT default value to 6 2023-05-11 02:45:56 +00:00
xiongweichao
b631852cb1 Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device
Closes https://github.com/espressif/esp-idf/issues/11170
2023-05-04 12:10:33 +08:00
isha.pardikar@espressif.com
3654dd0d6f NimBLE: Removed indicate flag from gatt db, added subscription case and corrected indentation
in spp_server example.
2023-05-02 05:58:00 +00:00
isha.pardikar@espressif.com
dbeeaf6a21 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-04-04 17:39:18 +05:30
isha.pardikar@espressif.com
be4fca4fb4 NimbLE: Added multi advertising example. 2023-03-30 17:56:52 +05:30
isha.pardikar@espressif.com
9dc5b6b02d NimBLE: Added configurable option for resolving peer address in bleprph example
Closes IDFGH-9552
2023-03-30 11:00:35 +05:30
Jiang Jiang Jian
bb43066205 Merge branch 'feature/phy_write_blob_v5.0' into 'release/v5.0'
NimBLE: Demo of using write blob in ble phy example (v5.0)

See merge request espressif/esp-idf!22973
2023-03-30 09:33:32 +08:00
isha.pardikar@espressif.com
c7fa23b7b4 NimBLE: Demo of using write blob in ble phy example 2023-03-29 14:23:13 +05:30
Sumeet Singh
da4c7eb7c4 Added custom gatt server functionality and encryption. 2023-03-21 17:40:41 +05:30
Jiang Jiang Jian
fe743a057f Merge branch 'bugfix/avrcp_psth_cmd_rsp_v5.0' into 'release/v5.0'
bt:Added a parameter to tell the user the result of the pass through command implementation(v5.0)

See merge request espressif/esp-idf!22726
2023-03-17 14:22:22 +08:00
Rahul Tank
32a02459dc Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-16 12:08:58 +05:30
isha.pardikar@espressif.com
5158af3fed NimBLE: Fixed advertising instance check api in bleprph example 2023-03-14 12:22:49 +05:30
Jiang Jiang Jian
86447548f8 Merge branch 'bugfix/restart_ext_adv_after_discovery_v5.0' into 'release/v5.0'
Nimble: Updated bleprph example to re-enable ext adv after advertising is completed (v5.0)

See merge request espressif/esp-idf!22542
2023-03-14 13:59:53 +08:00
Jiang Jiang Jian
0c1e80fc5b Merge branch 'feature/add_pcl_example_blecent_v5.0' into 'release/v5.0'
Nimble:Added power control API usage demo in blecent app (v5.0)

See merge request espressif/esp-idf!22541
2023-03-14 13:59:30 +08:00
Rahul Tank
28aa12ed01 Nimble:Change component path to relative path for remaining examples 2023-03-13 14:24:08 +05:30
Leonardo Bispo
861517ecb0 component path relative to IDF
Change the component path to relative to the IDF as the build will fail if the example is moved from its folder.

(cherry picked from commit 4011f5ce595d114c69c46298088440a230eed937)
Signed-off-by: Rahul Tank <rahul.tank@espressif.com>
2023-03-13 14:22:54 +05:30
Jiang Jiang Jian
358ed1af5d Merge branch 'bugfix/add_return_type_nimble_port_init_v5.0' into 'release/v5.0'
Nimble: Added return value (success / failure ) to nimble_port_init  / nimble_port_deinit (v5.0)

See merge request espressif/esp-idf!22191
2023-03-13 15:19:06 +08:00
xiongweichao
46e7347177 bt:Added a parameter to tell the user the result of the pass through command implementation 2023-03-13 15:03:55 +08:00
Jiang Jiang Jian
15b160ae55 Merge branch 'bugfix/remove_Wno_format_in_bluedroid_bt_examples_v5.0' into 'release/v5.0'
bt: Remove `-Wno-format` compile option for bluedroid classic bluetooth examples(v5.0)

See merge request espressif/esp-idf!21870
2023-03-13 14:29:25 +08:00
Rahul Tank
89f4ed527e Nimble:Added power control API usage demo in blecent app 2023-03-10 12:59:11 +05:30
isha.pardikar@espressif.com
0a47d78680 Doc : SPP server documentation fix
Closes https://github.com/espressif/esp-idf/issues/10930
2023-03-09 11:58:14 +05:30
Wang Meng Yang
e9092c2d2d Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v5.0' into 'release/v5.0'
support ble write and notify throughput test at the same time (backport v5.0)

See merge request espressif/esp-idf!22143
2023-03-09 11:38:15 +08:00
Omar Chebib
83907aaa20 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
Rahul Tank
2b5f1140dd Nimble: Added return value (success / failure ) to nimble_port_init 2023-03-02 09:47:03 +05:30
Kevin Evans
af1f67424c Nimble:Re-run ext adv after completion 2023-02-28 17:22:03 +05:30
zhiweijian
1a9300af1f support ble notify and write throughput test at the same time 2023-02-27 13:01:13 +00:00
Jiang Jiang Jian
9a3c8a6567 Merge branch 'bugfix/change_position_of_vendor_model_and_gen_onoff_model_callback_forv5.0' into 'release/v5.0'
ble_mesh:example:change position of vendor model and generic onoff model callback(v5.0)

See merge request espressif/esp-idf!21798
2023-02-27 15:13:27 +08:00
Jiang Jiang Jian
a9af2080e4 Merge branch 'bugfix/fix_ext_adv_compilation_issue_v5.0' into 'release/v5.0'
Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 (v5.0)

See merge request espressif/esp-idf!22066
2023-02-27 15:12:48 +08:00
Jiang Jiang Jian
b29c869698 Merge branch 'bugfix/fix_assert_pcl_bleprph_example_v5.0' into 'release/v5.0'
Nimble: Fix runtime assertion in bleprph due to two disconnect events (v5.0)

See merge request espressif/esp-idf!22212
2023-02-27 15:11:51 +08:00
Jiang Jiang Jian
5ca38da869 Merge branch 'bugfix/remove_global_min_max_def_v5.0' into 'release/v5.0'
Nimble: Removes global min/max definition causing problems with other libraries (v5.0)

See merge request espressif/esp-idf!21817
2023-02-27 15:11:28 +08:00
Jiang Jiang Jian
d4eebd5e80 Merge branch 'bugfix/update_ble_l2cap_coc_example_v5.0' into 'release/v5.0'
Nimble: Updated ble_l2cap_coc example (v5.0)

See merge request espressif/esp-idf!22064
2023-02-27 15:10:57 +08:00
Jiang Jiang Jian
8a83241c49 Merge branch 'bugfix/spp_clear_conn_array_v5.0' into 'release/v5.0'
Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event (v5.0)

See merge request espressif/esp-idf!22272
2023-02-27 15:06:49 +08:00
Jiang Jiang Jian
4cc03645e8 Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!22363
2023-02-27 15:05:38 +08:00
xiongweichao
3a6e2021ff Remove compile option for bluedroid classic bluetooth examples 2023-02-22 11:23:12 +08:00
jincheng
60087c0b22 rebase a2dp_gatts_coex to latest a2dp_sink 2023-02-21 10:58:51 +00:00
chenjianhua
e6862798aa examples: fix ble address type of adv and scan params 2023-02-14 11:24:11 +08:00