Me No Dev
a1f58ad2c8
Merge branch 'master' into release/v3.1.x
2024-12-11 20:39:53 +02:00
Rodrigo Garcia
68cafb460d
feat(arduino): remove all while(not serial) in examples
2024-12-11 10:35:46 -03:00
Lucas Saavedra Vaz
3d8014b453
Merge branch 'master' into release/v3.1.x
2024-12-10 10:23:39 -03:00
Rodrigo Garcia
c7022caeda
Remove 3rd party references in code and documentation ( #10666 )
...
* feat(support): documentation adjustment
* feat(support): readme files, commentaries and examples
* fix(template): Fix Issue Report Template
-----------------------------
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-12-03 14:35:13 -03:00
Jason2866
d7b5bb111e
Guard WPA Enterprise support ( #10616 )
...
* Guard WPA Enterprise support
* guard `WIFI_ENTERPRISE_SUPPORT`
* wrong part guarded
* fix guard start and end
* add guard enterprise
2024-11-20 10:42:43 +02:00
Jason2866
f5ce3f7675
Guard ethernet parts to make it possible to use without ( #10609 )
...
* Update ETH.cpp
* Update ETH.h
* Update WiFiGeneric.h
* Update NetworkEvents.h
* remove unnecessary include "sdkconfig.h"
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-19 12:19:02 +02:00
Me No Dev
3822a68820
IDF release/v5.3 ( #10599 )
...
* fix(zigbee): Bump zigbee version and use 1.6.0 (#10563 )
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
* fix(zigbee): Add require public for zigbee libs
* fix(zigbee): Guard the Zigbee library
* fix(zigbee): Fix removed cluster_role attribute (#10576 )
* fix(hosted): Update hosted configuration
* fix(hosted): Fix Hosted deinit and protect reinit for now
* IDF release/v5.3 a0f798cf
* IDF release/v5.3 a0f798cf
---------
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-11-13 12:33:02 +02:00
Me No Dev
f8d9ffb74a
fix(net): Allow to compile without IPv6 enabled ( #10582 )
...
* fix(net): Allow to compile without IPv6 enabled
cc: @Jason2866
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-12 11:29:52 +02:00
Me No Dev
d561685258
Merge branch 'master' into release/v3.1.x
2024-11-12 10:24:28 +02:00
Rodrigo Garcia
e99f1fdc6d
fix(wifi): fixes isconnected() to return true when it has ip addr ( #10595 )
2024-11-12 01:00:26 +02:00
Lucas Saavedra Vaz
1ecbbae7d3
fix(wifi): Guard missing sketches for hosted Wi-Fi
2024-11-06 21:25:38 -03:00
Lucas Saavedra Vaz
32e2230de2
fix(wifi): Fix requirements and guards for hosted Wi-Fi ( #10579 )
...
* fix(wifi): Fix requirements and guards for hosted Wi-Fi
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2024-11-07 00:31:29 +02:00
me-no-dev
c0092206a6
fix(wifi): Fix WiFiMulti on ESP32-P4
2024-11-06 18:29:57 +02:00
Lucas Saavedra Vaz
61d5c49445
Merge branch 'master' into release/v3.1.x
2024-11-06 13:11:23 -03:00
Lucas Saavedra Vaz
9f3010f214
ci(json): Improve requirement checking ( #10554 )
...
* ci(json): Change requirements for sketches that use WiFi
* ci(checks): Optimize requirement checking
* fix(tests): Additional checks before running tests
---------
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-11-06 18:08:16 +02:00
me-no-dev
c676ce7dc0
fix(p4): Move ESP-HOSTED init to WiFiGeneric
...
@P-R-O-C-H-Y will add the configured pins to periman, so that they can not be assigned to anything else
2024-10-15 21:06:31 +03:00
Me No Dev
3edf518825
Add support for WiFi to ESP32-P4 ( #10463 )
...
* feat(p4): Add support for WiFi to ESP32-P4
Implements support for external MCU connected through SDIO
* fix(p4): Init SDIO host properly on Network boot
esp-hosted has one function marked as "constructor" that did not run in the boot phase of the chip. This calls the function when network is started
2024-10-15 17:25:45 +03:00
Me No Dev
e3499bc4b7
Merge branch 'master' into release/v3.1.x
2024-10-02 15:36:56 +03:00
Me No Dev
cd971319cb
Fix WPS example config initialization ( #10399 )
...
* fix(wps): fixes wps struct initialization
C99 complaint
* fix(wps): adds memset to 0
---------
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2024-10-02 15:26:32 +03:00
Lucas Saavedra Vaz
69351312e5
Merge branch 'master' into release/v3.1.x
2024-09-30 09:13:12 -03:00
Lucas Saavedra Vaz
e403f0b481
ci(json): Add configuration requirements to ci.json files ( #10385 )
...
* ci(json): Add support for checking sdkconfig before running tests
* docs(ci): Add explanation about requires field in JSON
* fix(json): Ignore comments when searching requirements
* feat(json): Add extended regex support to requires field
* change(json): Move to using requirements in JSON
* fix(json): Fix requirements for touch tests
* refactor(json): Fix formatting of JSON files
* fix(spi): Fix SPI example and JSON
2024-09-30 13:43:50 +03:00
Lucas Saavedra Vaz
a4c33e3897
feat(esp32p4): Add initial ESP32-P4 support ( #10358 )
...
* feat(esp32p4): Initial changes required for ESP32-P4
* esp32-p4: Initial changes to build with Arduino
Signed-off-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
* fix(esp32p4): Fix lib builder errors
* change(esp32p4): Unhide board
* ci(esp32p4): Add ESP32-P4 to workflow
* change(esptool): Update esptool to 4.8.0
* fix(build): Fix redefinition errors
* fix(build): Remove old commands
* change(esptool): Remove unsupported 32-bit tools
* fix(get.py): Force exe generation
* Revert "fix(get.py): Force exe generation"
This reverts commit 979b16b3b19d02917ddccf0139c6913cca618714.
* fix(get.py): Fix system check
* change(tools): Push generated binaries to PR
* ci(esp32p4): Add missing ESP32-P4 entries
* fix(esp32p4): Add chip info
* fix(esp32p4): Fix build commands
* docs(esp32p4): Add missing references to P4
* fix(esp32p4): Fix clock sources definitions
* fix(esp32p4): Set CPU frequency to 360 MHz so it is stable in all chips
* refactor(esp32p4): Change preprocessor conditionals for maintainability
Co-authored-by: me-no-dev <hristo@espressif.com>
* fix(esp32p4): Add missing menu options
* fix(esp32p4): Mark as not in development json in readme
* fix(esp32p4): Add P4 to ci.json files
* ci(pre-commit): Apply automatic fixes
* fix(get.py): Remove unused include
* ci(pre-commit): Apply automatic fixes
* change(tools): Push generated binaries to PR
* ci(pre-commit): Apply automatic fixes
* fix(ci.json): Fix formatting
---------
Signed-off-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: me-no-dev <hristo@espressif.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-09-24 21:18:28 +03:00
me-no-dev
e68b1cca09
Merge branch 'master' into release/v3.1.x
2024-09-18 15:06:31 +03:00
me-no-dev
7018cd114d
Update core version to 3.0.5
2024-09-18 14:54:00 +03:00
TD-er
3978870f9f
[WiFiScan] Allow allocation in _scanDone() to fail and prevent memory leak ( #10335 )
...
* [WiFiScan] Allow allocation to fail and prevent memory leak
When there are many AP's seen during a scan, the allocation of `_scanResult` may fail.
Thus add `(std::nothrow)` to the `new` call.
Also it is possible the array was still present before allocating a new one.
* [WiFiScan] Use nullptr instead of 0
As suggested by @me-no-dev
2024-09-16 12:26:43 +03:00
Me No Dev
855da422ba
Merge branch 'master' into release/v3.1.x
2024-09-11 15:18:38 +03:00
Me No Dev
d846311344
fix(scan): Make sure that we do not leak memory if reading the APs fails ( #10312 )
...
As it was written, it was possible to leak the scan result array if esp_wifi_scan_get_ap_records() failed. Change will ensure that the array is deleted in that case.
2024-09-10 16:18:48 +03:00
Me No Dev
e964a2deab
fix(scan): Make sure scan struct is cleared before set ( #10282 )
2024-09-09 12:39:43 +03:00
me-no-dev
0b842442c9
Update core version to 3.1.0
2024-08-28 16:11:35 +03:00
Me No Dev
75b29fde57
Merge branch 'master' into release/v3.1.x
2024-08-28 15:49:38 +03:00
Lucas Saavedra Vaz
683fea103c
docs(vale): Enable vale and fix errors ( #10231 )
...
* docs(vale): Enable vale and fix errors
* Apply suggestions
2024-08-28 15:48:18 +03:00
me-no-dev
f77ce040db
fix(build): Fix many warnings
2024-08-20 00:51:23 +03:00
Me No Dev
16b2d74441
IDF release/v5.1 ( #10162 )
...
* fix(prov): Use network_provisioning
* IDF release/v5.1 5c57dfe949
* fix(prov): Add sketch and CMake fixes
* fix(prov): Fix build for ESP32-C2
* ci(pre-commit): Apply automatic fixes
* fix(prov): Improve WiFiProv library and QRcode print
* IDF release/v5.1 c608177cf9
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-08-15 09:30:45 +03:00
Me No Dev
0d4ffcf74b
fix(core): Update versions to 3.0.4 ( #10106 )
2024-08-02 12:18:35 +03:00
Me No Dev
dd86244b4f
feat(net): Add NAPT examples ( #10100 )
...
* feat(net): Add NAPT examples for STA and ETH
* feat(net): Add NAPT example for PPP
* feat(net): Add CI configs to skip H2
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-08-02 11:28:36 +03:00
Jan Procházka
9065342f53
feat(wifi): Allow setting minimum time for wifi scan ( #10083 )
...
* feat(wifi): Allow setting minimum time for wifi scan
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-07-31 14:16:10 +03:00
Me No Dev
614c72b4d3
fix(libs): Update all libraries to match the core version ( #10041 )
...
From now on core libraries will have the same version as the core
2024-07-16 23:04:43 +03:00
Me No Dev
874e2a1a1b
fix(example): Add better WPS logging ( #9999 )
...
* fix(example): Add better WPS logging
Provides a better log of what went wrong when using WPS
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-07-10 14:01:04 +03:00
Me No Dev
ad1de0b37c
feat(net): Switch to typedefs for WiFiClient, WiFiServer, WiFiUdp and WiFiClientSecure ( #9909 )
...
* feat(net): Deprecate old WiFi APIs
Deprecates WiFiClient, WiFiServer, WiFiUdp and WiFiClientSecure
* fix(net): add defines to WiFi.h
Defines are added to not cause deprecation warnings. Will be removed in the future
* fix(net): Use typedefs instead to help with forward declarations
Defines do not allow forward declarations
2024-06-24 10:26:22 +03:00
Me No Dev
c43187a386
fix(wifi): Fix WiFi setTxPower and getTxPower ( #9862 )
...
* fix(wifi): Fix WiFi setTxPower and getTxPower
We need to wait for the interface to be started in order to be able to set/get TX Power. Code was returning too early, so calling the functions after `begin()` resulted in failure.
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-17 22:47:12 +03:00
Lucas Saavedra Vaz
f5b8e27df7
ci(refactor): Refactor workflows and skip files ( #9696 )
...
* ci(refactor): Refactor workflows and skip files
* ci(refactor): Refactor workflows and skip files
* ci(refactor): Improvements and compilation of only related files
* ci(refactor): Delete duplicated steps
* ci(refactor): General improvements
* ci(refactor): Delete duplicated lines
* ci(refactor): Rename jobs
2024-06-05 15:19:25 +03:00
Me No Dev
21228117ff
feat(scan): Allow setting scan timeout in milliseconds ( #9738 )
2024-06-03 10:10:08 +03:00
Me No Dev
a4ee652506
fix(net): Don't unregister events if there are interfaces still open ( #9706 )
...
* fix(net): Don't unreg events if there are netifs
Unregister IP events only if all other netifs are stopped.
* fix(eth): Delete mac and phy on end
* fix(net): Update pin naming and log levels
2024-05-29 07:43:28 +03:00
Me No Dev
356e738ee3
Add support for specifying a WPA2 EAP-TTLS phase 2 method to WiFi.begin ( #9639 )
2024-05-15 18:12:52 +02:00
Lucas Saavedra Vaz
6bfcd6d9a9
refactor(style): Change some style options ( #9526 )
...
* refactor(style): Change some style options
* refactor(style): Apply style changes
2024-04-19 18:16:55 +03:00
Lucas Saavedra Vaz
da5c6ab9ae
Refactor repository with pre-commit hooks ( #9515 )
...
* Add Config
* Add Cache and remove pre-commit action
* [pre-commit.ci lite] apply automatic fixes
* Remove freeze
* Fix
* Update action
* Use latest stable Python 3 version
* Improve caching
* Improve cache tag
* Improve bot message
* fix(typos): Fix typos
* fix(typos): Fix more typos
* refactor(udp_server): Convert script from Python 2 to 3
* Fix whitespace
* Clang-format fixes
* Prettier fixes
* Black formatting
* Manual fixes
* Line endings
* Fix flake and make Vale manual
* Fix flake and reformat
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2024-04-15 19:40:56 +03:00
Lucas Saavedra Vaz
557380682c
refactor(udp_server): Convert script from Python 2 to 3 ( #9513 )
2024-04-15 17:44:38 +03:00
Lucas Saavedra Vaz
908ca9f022
fix(ftm): Fix compilation warning ( #9508 )
2024-04-15 11:07:08 +03:00
Me No Dev
8c75c35290
feat(wifi): Add support for NAPT to WIFI AP ( #9478 )
...
Allows another interface's connection to be shared to the AP
2024-04-10 15:09:22 +03:00
Juraj Andrássy
9b32541c0c
WiFiClient - rename flush() to clear() (breaking) ( #9453 )
...
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-04-05 14:41:26 +03:00