Commit Graph

990 Commits

Author SHA1 Message Date
Roshan Bangar
d57466da3c feat(nimble): Added periodic Adv Feature Updates in BLE 5.3 2023-08-23 18:53:51 +05:30
isha.pardikar@espressif.com
db5b50af2c NimBLE: Added support of encrypted advertising data 2023-08-23 18:18:23 +05:30
Rahul Tank
4b512c5e7b fix(nimble): Add API to send pcl set rssi vsc 2023-08-23 17:43:22 +05:30
Jiang Jiang Jian
b638cb3335 Merge branch 'bringup/esp32h2_deep_sleep_for_rebase_v5.1' into 'release/v5.1'
esp32h2: support deep_sleep(backport v5.1)

See merge request espressif/esp-idf!24962
2023-08-23 20:12:01 +08:00
Jiang Jiang Jian
c57e42471c Merge branch 'bugfix/fix_variable_type_v5.1' into 'release/v5.1'
fix(bt): Fix argument type of ESP_LOGI for spp examples about format error (backport v5.1)

See merge request espressif/esp-idf!25324
2023-08-23 19:52:25 +08:00
isha.pardikar@espressif.com
1fc5a5a3a4 NimBLE: Fixed crash when L2CAP COC sends large amount of data. 2023-08-23 11:15:12 +00:00
Island
842eb0ffd4 Merge branch 'doc/update_kconfig_example_ext_adv_usage_v5.1' into 'release/v5.1'
doc(nimble): Update Kconfig help section for Example Ext Adv (v5.1)

See merge request espressif/esp-idf!24913
2023-08-23 19:03:37 +08:00
cjin
fa806d758a ble: move phy enabled/disable to controller enable/disable 2023-08-23 17:56:33 +08:00
KonstantinKondrashov
d521b7d52a fix(examples): Fix example build errors caused by the deep_sleep funcs are returnable 2023-08-22 16:17:32 +08:00
chenqingqing
2708ffece1 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 14:46:53 +08:00
Song Ruo Jing
6768f098dc change(driver/rtcio): Describe RTCIO CAPS with more accurate note 2023-08-03 16:46:55 +08:00
Jiang Jiang Jian
ffaef9971a Merge branch 'docs/update_bluetooth_power_save_readme_v5.1' into 'release/v5.1'
Docs: update bluetooth power save readme(v5.1)

See merge request espressif/esp-idf!24843
2023-08-02 10:10:38 +08:00
Island
4cf31c3194 Merge branch 'feature/services_health_therm_v5.1' into 'release/v5.1'
NimBLE: Added health thermometer profile (v5.1)

See merge request espressif/esp-idf!24830
2023-07-28 15:37:35 +08:00
xiongweichao
5e60fb9924 docs(bt/example): Updated bluetooth power save readme 2023-07-27 07:54:36 +00:00
Rahul Tank
87ad40140e docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-21 14:32:12 +00:00
isha.pardikar@espressif.com
3b8853b3c0 NimBLE: Added health thermometer profile 2023-07-21 05:36:32 +00:00
Shen Weilong
2d1544b863 feat(ble): Added ble examples for multiple connections 2023-07-14 19:01:11 +08:00
Jiang Jiang Jian
e27b44e661 Merge branch 'bugfix/handle_signed_power_level_pcl_v5.1' into 'release/v5.1'
fix(nimble): Fix data type of power level and delta to handle negative values (v5.1)

See merge request espressif/esp-idf!24712
2023-07-12 16:54:23 +08:00
Island
196fc559b4 Merge branch 'feature/ble_mesh_example_support_duplicate_scan_v5.1' into 'release/v5.1'
Feature/ble mesh example support duplicate scan(v5.1)

See merge request espressif/esp-idf!24700
2023-07-12 10:38:05 +08:00
Rahul Tank
fa8f99249c fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-11 17:18:09 +05:30
Island
8e2de1b594 Merge branch 'ble_dev/esp32c6_support_power_save_example_5.1' into 'release/v5.1'
ble: support esp32c6 power save example

See merge request espressif/esp-idf!24386
2023-07-11 16:55:22 +08:00
wangjialiang
e5e25c89e7 feat(ble_mesh: example: esp32c6/h2): update config file to support duplicate scan. 2023-07-11 15:54:41 +08:00
Rahul Tank
a125e8f7ed Merge branch 'feature/services_proximity_v5.1' into 'release/v5.1'
NimBLE : Added proximity sensor as a service (v5.1)

See merge request espressif/esp-idf!24649
2023-07-11 14:04:31 +08:00
cjin
1dbbd97749 ble: support esp32c6 power save example 2023-07-10 18:08:37 +00:00
Jiang Jiang Jian
bd985deee6 Merge branch 'doc/add_timing_diagram_for_bt_l2cap_server_and_client_v5.1' into 'release/v5.1'
docs(examples/bluetooth): Add the sequence diagram for L2CAP connection and the discription for the diagram (backport v5.1)

See merge request espressif/esp-idf!24661
2023-07-10 10:30:27 +08:00
gongyantao
625ebbf829 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:38:42 +08:00
isha.pardikar@espressif.com
893967f596 feat (NimBLE): Add proximity sensor as a service 2023-07-07 14:59:22 +05:30
Rahul Tank
a787b927c7 Nimble: Corrected conditional check during connection to handle failure case 2023-07-07 14:33:44 +05:30
Island
a8c9665ae2 Merge branch 'ble_dev/support_esp32h2_modem_clock_selection_5.1' into 'release/v5.1'
ble: support esp32h2 modem clock selection

See merge request espressif/esp-idf!24388
2023-07-07 16:57:22 +08:00
Rahul Tank
7c6ab05f50 feat(nimble): Add support for PCL Set RSSI VSC and example code for its usage
This commit adds support for sending Vendor Specific HCI commands and handling Vendor Specific HCI
Events in the Nimble stack. It also includes the necessary configuration options and APIs to handle
these commands and events.

The following changes were made:
- Added configuration option to enable support for VSC and VSE
- Added API to send Vendor Specific HCI commands
- Added example code for using the Set RSSI VSC for Power Control

This commit also includes some minor code improvements and bug fixes
2023-07-06 19:54:19 +05:30
isha.pardikar@espressif.com
a2a674a107 NimBLE: Fixed mismatch of number of completed packtes in host flow control 2023-07-05 10:01:46 +05:30
Rahul Tank
4b761af41b Merge branch 'docs/walkthrough_for_multi_adv_examples_v5.1' into 'release/v5.1'
Nimble: Added Example Walkthrough tutorial for Multi Adv example (v5.1)

See merge request espressif/esp-idf!24509
2023-07-05 11:58:46 +08:00
Island
b875331c31 Merge branch 'bugfix/remove_python_examples_ttfw_v5.1' into 'release/v5.1'
Nimble:Removed files referring to old TTFW framework (v5.1)

See merge request espressif/esp-idf!23497
2023-07-05 10:08:03 +08:00
Island
c6bc222d54 Merge branch 'feature/walkthrough_for_htp_examples_v5.1' into 'release/v5.1'
Nimble: Added Example Walkthrough tutorial for HTP example in nimble (v5.1)

See merge request espressif/esp-idf!24534
2023-07-05 10:07:37 +08:00
Rahul Tank
3ded61323d Nimble: Added Example Walkthrough tutorial for Multi Adv example 2023-07-04 15:55:04 +05:30
Rahul Tank
3345092a44 Nimble: Added Example Walkthrough tutorial for HTP example in nimble 2023-07-04 15:54:34 +05:30
Rahul Tank
40bf1ed65e Merge branch 'bugfix/add_event_cb_for_pcl_v5.1' into 'release/v5.1'
Nimble: Add support to send power control event in registered callback (v5.1)

See merge request espressif/esp-idf!23583
2023-07-04 18:18:59 +08:00
Rahul Tank
81b03f6d32 Nimble: Add support to send power control event in registered callback 2023-07-03 09:52:59 +05:30
cjin
ebb5fb9e88 ble:support esp32h2 power save example 2023-07-03 11:45:16 +08:00
Rahul Tank
3a9762ce57 Nimble: Removed files referring to old TTFW framework 2023-06-25 11:43:30 +05:30
Roshan Bangar
dbb6fddcbc Introduced delay to avoid watchdog timer in throughput app 2023-06-15 15:15:25 +05:30
Jiang Jiang Jian
57b31ed545 Merge branch 'feature/add_bluetooth_nimble_lightsleep_example_v5.1' into 'release/v5.1'
bt: Added an example of Bluetooth using light sleep(v5.1)

See merge request espressif/esp-idf!23686
2023-05-18 20:06:16 +08:00
xiongweichao
8b8a6a4450 bt: Added an example of Bluetooth using light sleep 2023-05-11 10:24:00 +08:00
xiongweichao
42d5b865dd 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:13:27 +08:00
Jiang Jiang Jian
310e5e71ed Merge branch 'bugfix/spp_notify_v5.1' into 'release/v5.1'
NimBLE: Removed indicate flag from gatt db and added subscription case in spp_server example (v5.1)

See merge request espressif/esp-idf!23458
2023-04-27 23:36:24 +08:00
laokaiyao
87328d594f esp32h4: checked all the corner stuffs of the removal 2023-04-26 18:53:12 +08:00
laokaiyao
954a6a2cff esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
laokaiyao
cae47ce37e esp32h4: removed esp32h4 related files 2023-04-26 18:53:12 +08:00
laokaiyao
8f24b34f21 esp32h4: remove esp32h4 target from ci 2023-04-26 18:53:12 +08:00
isha.pardikar@espressif.com
ef3da6b372 NimBLE: Removed indicate flag from gatt db, added subscription case and corrected indentation
in spp_server example.
2023-04-26 11:39:09 +05:30
Isha Pardikar
cb79b1e202 Merge branch 'bugfix/esp_nimble_config' into 'master'
NimBLE : Fixed config options in esp_nimble_cfg.h

See merge request espressif/esp-idf!23019
2023-04-04 20:08:16 +08:00
isha.pardikar@espressif.com
810f719ee1 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-03-31 16:21:44 +05:30
isha.pardikar@espressif.com
1117bd8ab0 NimBLE: Fixed crash in multi advertising example. 2023-03-30 12:54:10 +05:30
Rahul Tank
6e1d60ea48 Merge branch 'contrib/github_pr_11034' into 'master'
Nimble: Added Walkthrough tutorial for phy_prph example. (GitHub PR)

Closes IDFGH-9693

See merge request espressif/esp-idf!22926
2023-03-29 18:41:18 +08:00
isha.pardikar@espressif.com
2bed48dc5b NimBLE: Demo of using write blob in ble phy example 2023-03-24 17:47:59 +05:30
abhi152
b2782250be Nimble: Added Walkthrough tutorial for phy_prph example. 2023-03-24 11:42:29 +00:00
Jiang Jiang Jian
b6fda9723e Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
Fixed bluedroid host ATT Ignore wrong response error

Closes BLEQABR23-30 and BT-3224

See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
Jiang Jiang Jian
d0ce141033 Merge branch 'bugfix/ble_mesh_example_remove_unnecessary_macro' into 'master'
ble_mesh: example: remove unnecessary macro of esp32h2 for ble_mesh_wifi_coexist

See merge request espressif/esp-idf!22848
2023-03-23 10:49:59 +08:00
Shen Wei Long
ab63aaa4a2 Merge branch 'feature/update_bluedriod_examples_for_esp32h2_ble' into 'master'
Feature/update bluedriod examples for esp32h2 ble

Closes IDF-6921

See merge request espressif/esp-idf!22634
2023-03-22 10:56:28 +08:00
wangjialiang
c9e45ba654 ble_mesh: example: remove unnecessary macro of esp32h2 for ble_mesh_wifi_coexist 2023-03-21 09:21:06 +00:00
Isha Pardikar
720af16ff6 Merge branch 'bugfix/IDFGH-9552' into 'master'
NimBLE : Added configurable option for resolving peer address in bleprph example.

Closes IDFGH-9552

See merge request espressif/esp-idf!22834
2023-03-21 14:43:06 +08:00
isha.pardikar@espressif.com
ec92e96406 NimbLE: Added multi advertising example 2023-03-20 17:26:36 +05:30
Shen Weilong
90d6b9cbd7 ble: Update README files for bluedroid host examples on ESP32-H2
Disable clocks and phy modem directly in esp_bt_controller_deinit()
2023-03-20 19:09:29 +08:00
isha.pardikar@espressif.com
906edee851 NimBLE: Added configurable option for resolving peer address in bleprph example
Closes IDFGH-9552
2023-03-20 16:20:20 +05:30
Jiang Jiang Jian
414b06eea1 Merge branch 'feature/update_nimble_examples_readme' into 'master'
Nimble:Updated nimble examples README to include chip information

See merge request espressif/esp-idf!22760
2023-03-20 16:34:57 +08:00
Jiang Jiang Jian
eaae3178e0 Merge branch 'feature/support_ble_mesh_for_esp32h2' into 'master'
ble_mesh: example: update ble mesh examples for esp32h2

See merge request espressif/esp-idf!22734
2023-03-20 16:24:19 +08:00
zhiweijian
3be3bef3a6 set BT_CTRL_BLE_MAX_ACT default value to 6 2023-03-20 15:54:47 +08:00
Rahul Tank
b9c7281079 Nimble:Updated nimble examples README to include chip information 2023-03-19 17:07:48 +05:30
wangjialiang
53b0d01c95 ble_mesh: example: update 2023-03-14 16:55:02 +08:00
wangjialiang
3c9b337ae9 ble_mesh: example: spuuprt esp32h2 2023-03-13 19:05:45 +08:00
isha.pardikar@espressif.com
d9a127c6dc NimBLE: Fixed advertising instance check api in bleprph example 2023-03-13 14:40:06 +05:30
Rahul Tank
8fc0343e5a Merge branch 'bugfix/modify_configuration_for_ble_5' into 'master'
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips

See merge request espressif/esp-idf!22409
2023-03-10 12:35:39 +08:00
Rahul Tank
1d08f5b813 Merge branch 'bugfix/spp_server_doc' into 'master'
Nimble: SPP server documentation fix

Closes IDFGH-9581

See merge request espressif/esp-idf!22677
2023-03-09 20:29:34 +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
isha.pardikar@espressif.com
b43d29fffe Doc : SPP server documentation fix
Closes https://github.com/espressif/esp-idf/issues/10930
2023-03-09 11:57:09 +05:30
Rahul Tank
d89736babf Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-08 11:59:43 +05:30
wuzhenghui
709adaaa37 soc_caps: since esp32c6 only support one ext wakeup src, split SOC_PM_SUPPORT_EXT_WAKEUP
Close IDF-5924
2023-03-02 15:06:05 +08:00
Jiang Jiang Jian
60a7fe99f7 Merge branch 'bugfix/set_component_relative_path' into 'master'
Nimble: component path relative to IDF

Closes IDFGH-9429

See merge request espressif/esp-idf!22424
2023-02-28 19:46:30 +08:00
Jiang Jiang Jian
d013bedbbe Merge branch 'feature/add_pcl_example_blecent' into 'master'
Nimble:Added power control API usage demo in blecent app

See merge request espressif/esp-idf!22319
2023-02-27 19:47:55 +08:00
Jiang Jiang Jian
7320e10d20 Merge branch 'bugfix/restart_ext_adv_after_discovery' into 'master'
Nimble: Updated bleprph example to re-enable ext adv after advertising is completed

See merge request espressif/esp-idf!22369
2023-02-27 19:46:44 +08:00
Jiang Jiang Jian
30a46d0754 Merge branch 'feature/gatt_server_improvements' into 'master'
NimBLE/Host: Gatt Server Improvements

See merge request espressif/esp-idf!22357
2023-02-26 21:18:11 +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
Sumeet Singh
8e67344037 NimBLE/Host: Gatt Server Improvements 2023-02-22 12:00:54 +05:30
Rahul Tank
708e5f17cc Nimble:Added power control API usage demo in blecent app 2023-02-22 11:36:11 +05:30
Kevin Evans
22e7f02ba3 Nimble:Re-run ext adv after completion 2023-02-22 11:35:38 +05:30
Alexey Lapshin
d4b7be4a73 bt: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Rahul Tank
8969139b06 Nimble:Change component path to relative path for remaining examples 2023-02-20 10:15:50 +05:30
Leonardo Bispo
05a5dba7a4 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-02-20 10:09:18 +05:30
Omar Chebib
d55060d184 Merge branch 'staging/rename_twdt_config_examples' into 'master'
TWDT: Use the new TWDT Kconfig options in the examples and tests

See merge request espressif/esp-idf!20363
2023-02-20 10:42:23 +08:00
Omar Chebib
5e5343d429 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
Roshan Bangar
ba1119a725 Nimble: Migrate to nimble 1.5 2023-02-15 04:55:26 +00:00
Jiang Jiang Jian
254efe402e Merge branch 'feature/wifi_kconfig_merge' into 'master'
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig

Closes WIFI-4541 and IDF-1830

See merge request espressif/esp-idf!18998
2023-02-11 07:38:46 +08:00
Kapil Gupta
30a2558450 esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig 2023-02-11 07:38:45 +08:00
Wang Meng Yang
e0e3700142 Merge branch 'feature/support_ble_privacy_by_controller' into 'master'
Support ble privacy by controller on bluedroid

See merge request espressif/esp-idf!21966
2023-02-10 14:34:36 +08:00
Rahul Tank
2538270f72 Merge branch 'feature/nimble_gatt_server' into 'master'
NimBLE: Added custom gatt server functionality

See merge request espressif/esp-idf!20910
2023-02-06 12:46:07 +08:00
Jiang Jiang Jian
b92c9f5d5c Merge branch 'bugfix/fix_assert_pcl_bleprph_example' into 'master'
Nimble: Fix runtime assertion in bleprph due to two disconnect events

See merge request espressif/esp-idf!22057
2023-02-02 20:01:35 +08:00
Sumeet Singh
3361718976 NimBLE: Added custom gatt server functionality 2023-02-02 17:07:28 +05:30
Rahul Tank
826495a145 Nimble: Added return value (success / failure ) to nimble_port_init 2023-01-31 12:01:02 +05:30
isha.pardikar@espressif.com
8c6cbf5ff5 Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event 2023-01-24 17:37:45 +05:30
Rahul Tank
4a2eb28d14 Nimble: Fix runtime assertion in bleprph due to two disconnect events 2023-01-24 15:52:39 +05:30