Commit Graph

181 Commits

Author SHA1 Message Date
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
Rahul Tank
1d9eaccde4 Nimble: Update documentation to include distinction between upstream
mesh example and ESP-BLE-MESH
2022-12-12 18:06:55 +05:30
Kevin (Lao Kaiyao)
5bed8fab49 Merge branch 'refactor/rename_h2_to_h4' into 'master'
esp32h2: renaming esp32h2 to esp32h4

Closes IDF-6098

See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
isha.pardikar@espressif.com
b950ddb0fd NimBLE : Change GATT notify/indicate from gattc to gatts 2022-11-08 14:02:54 +05:30
Rahul Tank
fe5d4e0f39 Nimble: Add LE Power CTRL changes 2022-10-27 16:30:44 +05:30
isha.pardikar@espressif.com
561d1cba1b NimBLE : Init deinit nimble stack in a loop 2022-10-19 17:44:28 +05:30
Roshan Bangar
c51d4ab142 Merge branch 'feature/periodic_adv_example' into 'master'
Nimble: support for periodic adv / sync example

See merge request espressif/esp-idf!19963
2022-09-26 14:25:04 +08:00
Roshan Bangar
10eacf0360 Nimble: Add example for periodic adv/sync 2022-09-22 10:54:47 +05:30
Isha Pardikar
fa42826c4c NimBLE: Fixed README file for BLE PHY prph example 2022-09-20 14:16:04 +05:30
Isha Pardikar
fed3d613db NimBLE: Added example framework for BLE PHY 2022-09-15 06:39:01 +00:00
Isha Pardikar
fb619d20ee NimBLE: Reorganized nimble examples structure to avoid repetition of files. 2022-09-05 17:35:46 +05:30
Ivan Grokhotkov
e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
Fu Hanxi
17e312f87b docs: improve the installation instructions 2022-08-01 15:52:21 +08:00
Isha Pardikar
97b1211b71 Merge branch 'bugfix/nimble_l2cap_coc_cmake' into 'master'
NimBLE : Fixed nimble L2CAP COC example CMakeLists.txt
2022-07-27 13:03:14 +05:30
Isha Pardikar
d46a2af0bf Merge branch 'feature/nimble_l2cap_coc' into 'master'
NimBLE: Add example framework for  L2CAP COC

See merge request espressif/esp-idf!18483
2022-07-25 12:28:38 +08:00
Isha Pardikar
eeea118ca5 Merge branch 'feature/nimble_l2cap_coc' into 'master'
NimBLE : BLE example for L2CAP connection oriented channels

See merge request !18483
2022-07-22 11:43:16 +05:30
Rahul Tank
24741cc0de NimBLE: Added option to advertise random address 2022-07-21 07:11:47 +00:00
GengYuchao
fd055d3ba6 Fix example after removing API esp_nimble_hci_and_controller_init 2022-07-20 11:44:00 +08:00
Cao Sen Miao
a690a87829 spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
Isha Pardikar
8e6cfb02ce Merge branch 'feature/nimble_spp_multiple_client' into 'master'
Send notification to multiple clients in BLE SPP example

See merge request espressif/esp-idf!18539
2022-06-21 19:52:32 +08:00
GengYuchao
ee55f016be Add nimble hci example for c2 2022-06-20 17:00:12 +08:00
GengYuchao
69c63e63b3 Update examples sdkconfig defualut 2022-06-20 17:00:12 +08:00
Isha Pardikar
9d6164d0a0 Merge branch 'feature/nimble_spp_multiple_client' into 'master'
NimBLE: Added support for sending notification to multiple clients in BLE SPP example.

See merge request espressif/esp-idf!18539
2022-06-16 16:07:49 +05:30
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
satish.solanke
3a42007680 Bluedroid porting changes for esp32h2
created common Kconfig for common flag of nimbble and Bluedroid

fix compile error

created common cfg file for controller

fix the compilation error on tip of master

added common controller flags and fixed compilation error

sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Isha Pardikar
4ab6aafecc Merge branch 'feature/nimble_spp_multiple_profile_conn' into 'master'
Added support for multiple profile connection in NimBLE SPP example.

Closes IDFGH-7001
2022-05-29 06:10:18 +00:00
Rahul Tank
95db4bbf05 NimBLE: Enabled ESP Timer support for esp32h2 2022-05-17 12:49:40 +05:30
morris
722fde218d uart: add default source clock for all targets 2022-05-09 11:26:30 +08:00
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Rahul Tank
c6eb49082a Nimble: Add default config options for esp32h2 to fix blecent
compilation issues
2022-04-06 17:14:31 +05:30
Rahul Tank
f376bb5d05 Add support in Nimble for ESP32H2 2022-03-14 11:57:53 +05:30
David Cermak
795b7ed993 esp_netif: Remove tcpip_adapter compatibility layer 2022-03-10 08:19:43 +01:00
Sudeep Mohanty
a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Jiang Jiang Jian
1068c7720b Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
Always connect Station in PMF mode if possible

Closes WIFI-4320

See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Omar Chebib
2571aaf3c9 G0: target component (components/esp32*) doesn't depend on driver anymore 2022-03-02 04:21:00 +00:00
Nachiket Kukade
7ed8fdac59 esp_wifi: Always connect Station in PMF mode if possible
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-21 11:31:56 +05:30
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Isha Pardikar
8846dc83db Merge branch 'bugfix/nimble_spp' into 'master'
NimBLE : Fixed BLE SPP build fail on Windows

Closes : https://github.com/espressif/esp-idf/issues/8305
2022-01-28 18:43:09 +05:30
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
Wang Meng Yang
28d5d5787b Merge branch 'nimble_spp' into 'master'
NimBLE: BLE example for SPP service

See merge request espressif/esp-idf!14998
2021-11-26 06:02:27 +00:00
Prasad Alatkar
bdf96f8621 NimBLE: Add NimBLE throughput demo examples 2021-11-26 06:01:01 +00:00
isha pardikar
d35a9a09dc Merge branch 'nimble_spp' of ssh://gitlab.espressif.cn:27227/espressif/esp-idf into nimble_spp
Nimble: Added BLE SPP Service

Closes: https://github.com/espressif/esp-idf/issues/7303

See merge request espressif/esp-idf!14998
2021-11-24 16:04:27 +05:30
pedro.minatel
cb646ff068 docs: Rebase and typos fixed for the bluetooth README files 2021-11-16 16:56:47 +08:00
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Shivani Tipnis
2d22374460 ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests 2021-05-28 19:50:28 +05:30
Prasad Alatkar
3dfcaee9bd NimBLE: Add custom logging support and fix build error for broadcaster role
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Fu Hanxi
0146f258d7 style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
Jiang Jiang Jian
76bb9565af Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA

See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
Prasad Alatkar
f959028486 NimBLE: Fix host flow control in NimBLE porting layer.
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-01-19 17:03:00 +05:30
xiehang
b8a8fe3f54 esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA 2021-01-19 11:55:44 +08:00
Prasad Alatkar
afcf0e9101 NimBLE: Enable NIMBLE_MESH_FRIEND by default for blemesh example 2021-01-15 16:57:29 +00:00
Prasad Alatkar
8224aa69a2 NimBLE: Update NimBLE to latest 1.3.0 release 2021-01-15 16:57:29 +00:00
Chinmay Chhajed
ecfceaf7b9 NimBLE: example running BLE prph & ICMP echo reply simultaneously.
This commit adds an example in NimBLE where esp32 runs a peripheral as
well as a ping request to configured IP address. This example uses
nimble host stack.

Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-12-07 11:29:49 +05:30
Angus Gratton
b782ccd1fb Merge branch 'bugfix/blecent_example_test' into 'master'
ci: Fix blecent example test

Closes IDFCI-93

See merge request espressif/esp-idf!11265
2020-11-30 13:08:13 +08:00
Shivani Tipnis
fc146a98e4 ci: Fix blecent example test 2020-11-25 22:37:24 +05:30
He Yin Ling
a908174c06 test: remove fake binary size check in example test:
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
Chen Yu Dong
454edcc0a8 ci: all jobs use python3 by default 2020-11-19 03:27:58 +00: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
Fu Hanxi
bd83088ba5 fix blehr queue python 2 3 compatibility 2020-09-07 12:16:06 +08:00
Chen Yudong
4088702077 test: auto test script supports python3 2020-07-22 16:14:21 +08:00