Commit Graph

241 Commits

Author SHA1 Message Date
Abhinav Kudnar
cbd4fc1b35 doc (nimble): Added the tutorial for coc_blecent example. 2023-09-22 18:20:16 +05:30
darshan
326ced0b35 doc(nimble): Added the tutorial for spp_server example. 2023-09-22 15:39:42 +05:30
darshan
a79910cb21 doc(nimble): Added the tutorial for spp_client example. 2023-09-20 11:32:06 +05:30
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Rahul Tank
5a0aa4bd8e 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-15 14:28:59 +05:30
darshan
31168c0022 doc(nimble): Added the tutorial for blehr example. 2023-09-07 12:36:26 +05:30
Jiang Jiang Jian
a1c0d9c3a1 Merge branch 'feature/ble_lib_update_h2_c6' into 'master'
ble: update h2 c6 libble to 5d7af429

Closes BLERP-7

See merge request espressif/esp-idf!25691
2023-09-07 10:25:08 +08:00
cjin
fd22414fba feat: Support esp32c2 BLE power save example 2023-09-05 20:40:04 +08:00
Abhinav Kudnar
9bdb59a479 doc (nimble): Added the tutorial for ble_multi_adv example. 2023-09-04 16:27:33 +05:30
Roshan Bangar
af9a9076d6 feat(nimble): Added support for dynamic services
Added support for dynamic services
2023-09-01 17:40:42 +05:30
Abhinav Kudnar
1afe32294f doc (nimble): Added the tutorial for bleprph example. 2023-08-24 10:34:24 +05:30
Rahul Tank
82cceabc6e Merge branch 'feature/walkthrough_for_blecent' into 'master'
doc(nimble): Added the tutorial for blecent example.

See merge request espressif/esp-idf!25378
2023-08-23 19:46:38 +08:00
darshan
6a38d80498 doc(nimble): Added tutorial for the blecent example. 2023-08-22 12:26:30 +05:30
Roshan Bangar
67b956f503 feat(nimble): Added periodic Adv Feature Updates in BLE 5.3 2023-08-22 10:18:10 +05:30
Rahul Tank
09dd6237ae fix(nimble): Add API to send pcl set rssi vsc 2023-08-17 12:37:00 +05:30
cjin
5a8e51f24c ble: move phy enabled/disable to controller enable/disable 2023-08-10 10:14:29 +08:00
isha.pardikar@espressif.com
9178a78142 NimBLE: Added support of encrypted advertising data 2023-08-08 15:37:51 +05:30
Rahul Tank
8148ba6b22 Merge branch 'feature/walkthrough_for_ble_periodic_adv_and_ble_periodic_sync' into 'master'
doc (nimble): Added the tutorial for ble_periodic_adv and ble_periodic_sync_examples.

See merge request espressif/esp-idf!24695
2023-08-01 21:43:54 +08:00
Mahavir Jain
53ff7d43db Merge branch 'ci/fix_test_switch_ota' into 'master'
fix(app_update): Fix CI test_switch_ota by increasing deepsleep

See merge request espressif/esp-idf!24801
2023-08-01 16:49:25 +08:00
isha.pardikar@espressif.com
8b2b272aa2 NimBLE: Fixed crash when L2CAP COC sends large amount of data. 2023-07-25 10:41:24 +05:30
Abhinav Kudnar
52d0807fba (doc) nimble: Added the tutorial for ble_periodic_adv and ble_periodic_syncexamples. 2023-07-21 19:04:56 +05:30
KonstantinKondrashov
f07fcbed8d fix(examples): Fix example build errors caused by the deep_sleep funcs are returnable 2023-07-21 13:58:20 +08:00
Rahul Tank
9a7106c6a1 Merge branch 'doc/update_kconfig_example_ext_adv_usage' into 'master'
doc(nimble): Update Kconfig help section for Example Ext Adv

See merge request espressif/esp-idf!24869
2023-07-19 14:28:18 +08:00
Rahul Tank
f907c22ea8 docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-18 16:07:24 +05:30
Shen Weilong
e9e6372690 feat(ble): Added ble examples for multiple connections 2023-07-18 12:05:11 +08:00
Xiong Wei Chao
12d6268095 Merge branch 'docs/update_bluetooth_power_save_readme' into 'master'
Docs: update bluetooth power save readme

Closes FCS-1258

See merge request espressif/esp-idf!24562
2023-07-17 12:14:39 +08:00
xiongweichao
e1be273e63 docs(bt/example): Updated bluetooth power save readme 2023-07-11 11:14:31 +08:00
Rahul Tank
b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30
Rahul Tank
64a01af42d Merge branch 'feature/services_proximity' into 'master'
NimBLE : Added proximity sensor as a service

See merge request espressif/esp-idf!24357
2023-07-07 16:51:22 +08:00
Song Ruo Jing
ea48030514 Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps

Closes IDF-7406

See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
isha.pardikar@espressif.com
85661d38e6 feat (NimBLE): Add proximity sensor as a service 2023-07-06 17:59:54 +05:30
Rahul Tank
5222ba7312 Merge branch 'feature/walkthrough_for_nimble_examples' into 'master'
doc (nimble): Added Walkthrough tutorial for phy_cent example

Closes IDFGH-9638

See merge request espressif/esp-idf!22811
2023-07-06 20:09:45 +08:00
Jin Chen
d918b5226c Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
ble: support esp32h2 modem clock selection

Closes EBLE50Y23-129

See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
abhi152
84a95d6f51 doc (nimble): Added Walkthrough tutorial for phy_cent example 2023-07-05 13:54:19 +05:30
Rahul Tank
1268530ace Merge branch 'feature/add_support_pcl_vsc' into 'master'
fix(Nimble): Add VSC / VSE handling code and structure for PCL Set RSSI

See merge request espressif/esp-idf!24181
2023-07-05 15:33:43 +08:00
Song Ruo Jing
4985caa38f refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps 2023-07-05 11:47:51 +08:00
cjin
28788a96f2 ble:support esp32h2 power save example 2023-07-03 16:05:42 +08:00
Rahul Tank
1ad891361f Merge branch 'bugfix/handle_correct_return_value' into 'master'
Nimble: Corrected conditional check during connection to handle failure case

See merge request espressif/esp-idf!24047
2023-06-30 15:17:05 +08:00
Rahul Tank
6eb1a8f51f fix (Nimble): Add PCL Set RSSI VSC and example code for its usage
This adds API to send a vs hci command and an event to handle vs hci events
Also added information for Set RSSI VSC for Power control.
2023-06-30 12:26:56 +05:30
cjin
c460a1c1af ble: support esp32c6 power save example 2023-06-29 14:35:48 +08:00
Rahul Tank
0d5ce55e08 Nimble: Added Example Walkthrough tutorial for HTP example in nimble 2023-06-21 16:20:59 +05:30
Rahul Tank
9403cea79b Merge branch 'docs/walkthrough_for_multi_adv_examples' into 'master'
Nimble: Added Example Walkthrough tutorial for Multi Adv example

See merge request espressif/esp-idf!23985
2023-06-21 18:40:32 +08:00
Rahul Tank
df2612d104 Nimble: Corrected conditional check during connection to handle failure case 2023-06-21 11:56:36 +05:30
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Roshan Bangar
eacbc00bb3 Introduced delay to avoid watchdog timer in throughput app 2023-06-14 19:36:02 +05:30
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Rahul Tank
1a599cd3bc Nimble: Added Example Walkthrough tutorial for Multi Adv example 2023-06-02 16:44:59 +05:30
Rahul Tank
310bb89b79 Merge branch 'bugfix/remove_python_examples_ttfw' into 'master'
Nimble:Removed files referring to old TTFW framework

See merge request espressif/esp-idf!23225
2023-05-23 16:25:40 +08:00
isha.pardikar@espressif.com
aceaa87ea0 NimBLE: Fixed mismatch of number of completed packtes in host flow control 2023-05-18 12:56:47 +05:30
Xiong Wei Chao
9b3dfe2caf Merge branch 'feature/add_bluetooth_nimble_lightsleep_example' into 'master'
bt: Added an example of Bluetooth using light sleep

Closes BCI-299 and BT-1879

See merge request espressif/esp-idf!19698
2023-05-10 19:51:07 +08:00
Rahul Tank
7042eb7e64 Nimble: Removed files referring to old TTFW framework 2023-05-10 04:42:36 +00:00
xiongweichao
1532675692 bt: Added an example of Bluetooth using light sleep 2023-05-04 14:41:31 +08:00
Rahul Tank
1f92c349a2 Nimble: Add support to send power control event in registered callback 2023-05-02 12:14:23 +05:30
isha.pardikar@espressif.com
8c3ba9e2dc NimBLE: Added health thermometer profile 2023-04-28 17:20:16 +05:30
Isha Pardikar
743fd29187 Merge branch 'bugfix/spp_notify' into 'master'
NimBLE: Removed indicate flag from gatt db and added subscription case in spp_server example

See merge request espressif/esp-idf!23409
2023-04-26 13:21:54 +08:00
isha.pardikar@espressif.com
718c6a4f13 NimBLE: Removed indicate flag from gatt db, added subscription case and corrected indentation
in spp_server example.
2023-04-25 12:25:51 +05:30
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e esp32h4: removed esp32h4 related files 2023-04-23 12:03:07 +00:00
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
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
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
Rahul Tank
b9c7281079 Nimble:Updated nimble examples README to include chip information 2023-03-19 17:07:48 +05:30
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
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
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
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
Roshan Bangar
ba1119a725 Nimble: Migrate to nimble 1.5 2023-02-15 04:55:26 +00: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
Rahul Tank
8bf18b76ac Merge branch 'bugfix/fix_ext_adv_compilation_issue' into 'master'
Nimble: Fix compilation issue for examples for esp32c6 and esp32h4

See merge request espressif/esp-idf!21983
2023-01-17 12:41:02 +08:00
Rahul Tank
f6ec69ab5d Merge branch 'bugfix/update_ble_l2cap_coc_example' into 'master'
Nimble: Updated ble_l2cap_coc example

See merge request espressif/esp-idf!21940
2023-01-17 12:40:49 +08:00
Rahul Tank
f2eebcb968 Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 2023-01-16 13:12:14 +05:30
Shen Weilong
6e962ce8dd Modify the readme files in example/bluetooth 2023-01-13 15:05:34 +08:00
Rahul Tank
42c1922469 Nimble: Updated ble_l2cap_coc example
1. Corrected format
     2. Fixed double free of memory issue in case of disconnection
     3. Updated sdkconfig.default file to have correct value for
COC_MAX_NUM configuration setting
2023-01-09 10:41:32 +05:30
Rahul Tank
0f6373ca97 Update CMakelists to compile ble_phy app 2023-01-04 11:10:10 +08:00
shenweilong
93fc1bd05f support ble on esp32c6 2023-01-04 11:10:10 +08:00
Rahul Tank
8ff7d526b0 Merge branch 'bugfix/remove_global_min_max_def' into 'master'
Nimble: Removes global min/max definition causing problems with other libraries

See merge request espressif/esp-idf!21652
2022-12-22 22:53:45 +08:00
Jiang Jiang Jian
ad66203e53 Merge branch 'bugfix/nimble_remove_wno_format' into 'master'
Remove `-Wno-format` compile option for nimble examples

See merge request espressif/esp-idf!21487
2022-12-21 12:04:17 +08:00
Rahul Tank
133b2e45e3 Nimble: Removes global min/max definition causing problems with other libraries 2022-12-20 11:21:31 +05:30
isha.pardikar@espressif.com
ef38163b44 L2CAP COC example : Fixed freeing up of same memory address twice. 2022-12-19 15:33:23 +05:30
Rahul Tank
00ce75784a Nimble: Fixed compilation issues in nimble examples after removing "-Wno-format" option 2022-12-16 16:49:55 +05:30