Commit graph

2944 commits

Author SHA1 Message Date
Rodrigo Garcia
c2ce738cae
feat(matter): New example => Wifi Prov within Matter as alternative for wireless network provisioning (#10658)
* feat(matter): Arduino WiFi Prov example for Matter
2024-12-02 19:13:17 -03:00
Me No Dev
9f5f95e50a
Merge branch 'master' into release/v3.1.x 2024-11-28 21:01:21 +02:00
Rodrigo Garcia
414e4f3233
feat(Matter): add new MatterColorLight endpoint (#10654)
* feat(matter): adds Matter Color Light endpoint
2024-11-26 17:14:38 -03:00
Dogus Cendek
98da424de6
Add our new development board "cezerio mini dev ESP32C6" (#10648) 2024-11-26 14:46:22 +02:00
Jan Procházka
0f3191e34f
fix(zigbee): Increase timeout, commision again on failure + setScanDuration (#10651)
* fix(zigbee): Increase timeout, commision again on failure
* fix(zigbee): Update library keywords
2024-11-25 17:39:59 -03:00
Rodrigo Garcia
0bcdd2c65f
Merge branch 'master' into release/v3.1.x 2024-11-25 12:18:11 -03:00
Rodrigo Garcia
4fc8abfafe
AsyncUdp license and keyword update (#10637)
* feat(asyncudp): add all current keywords to the list

* feat(asyncudp): add license information to the source code

* feat(asyncudp): add license information to the source code

* feat(asyncudp): add license information to the source code

* feat(asyncudp): add license information to the source code

* feat(asyncudp): add license information to the source code

* feat(asyncudp): revert license information to the source code

* feat(asyncudp): revert license information to the source code

* feat(asyncudp): revert license information to the source code

* feat(asyncudp): revert license information to the source code

* feat(asyncudp): revert license information to the source code

* 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-25 14:04:20 +02:00
Jason2866
eb1933fde9
Guard crypto parts in "Update" to save resources (#10630)
* guard crypt update

* guard update crypt

* Update Updater.cpp

* revert logic to disable

* change disable logic

* formatting

* formatting

* remove trailing space
2024-11-25 13:15:51 +02:00
Jan Procházka
1730e4e57e
fix(zigbee): Add connected(), minor fixes, example update (#10636)
* fix(zigbee): Add connected and minor fixes, example update

* fix(example): Use correct API call for connected

* fix(zigbee): Increase timeout and add semaphore to begin

* feat(zigbee): Add option to select debug libs for zigbee

* fix(example): fix warning by double percentage symbol

* fix(example): Fix serial prints for Windows os

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>

* ci(pre-commit): Apply automatic fixes

* fix(example): Fix precommit spelling

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-25 13:13:28 +02:00
Rodrigo Garcia
9417a84918
feat(uart): [IDF 5.3] fixes HardwareSerial::updateBaudRate() using a baud rate higher 230400 - checks UART Clock Source (#10643)
* fix(uart): fixes issue with update baudrate higher than 250000

* 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-25 13:13:01 +02:00
Lucas Saavedra Vaz
1712fb5eee
fix(network): Avoid returning zero if connection is not dropped (#10640)
Co-authored-by: NPaolini <75562717+NPaolini@users.noreply.github.com>
2024-11-25 12:17:38 +02:00
Jason2866
6e57662599
fix compile of P4 caused from missing ")" in debug macro (#10638) 2024-11-25 11:49:24 +02:00
Rodrigo Garcia
962ab3acea
Adds a Minimum Code Matter Example (#10639)
* feat(matter): add a new example for a minimum matter device
---------
2024-11-24 19:09:46 -03:00
Rodrigo Garcia
3dd4b0d112
feat(openthread): add license declaration to all soure code and examples (#10631) 2024-11-22 11:57:08 -03:00
Rodrigo Garcia
6bc3ce68fe
feat(matter): New Matter Endpoint (#10628)
* feat(matter): add new endpoint - color temperature light

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-20 17:02:34 -03:00
Lucas Saavedra Vaz
ff613b3f29
ci(uart): Disable UART test for P4 until it is fixed in Wokwi 2024-11-20 10:10:39 -03:00
Me No Dev
66f7c93db4
Merge branch 'master' into release/v3.1.x 2024-11-20 10:52:06 +02:00
Jan Procházka
268b31c3f6
feat(zigbee): Add setLight APIs to manually operate lights (#10626)
* feat(zigbee): Add setLight APIs to manually operate lights

* 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-20 10:51:47 +02:00
Rodrigo Garcia
f0ded24b3f
OTA Library adjust (#10627)
* feat(ota): library revision

* feat(ota): license

* feat(ota): license addtion

* feat(ota): license addition into example
2024-11-20 10:47:46 +02:00
Jan Procházka
442679d225
fix(Zigbee): Add missing direction to report commands (#10623)
* fix(Zigbee): Add missing direction to report commands

* 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-20 10:47:27 +02: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
Rodrigo Garcia
2b6b5c74ce
feat(uart): adds Serial4 as a keyword - used by ESP32-P4 (#10619)
* feat(uart): adds Serial4 as a keyword - used by ESP32-P4

* fix(keywords): added 2 new lines to keep consistancy
2024-11-19 12:18:43 +02:00
Rodrigo Garcia
fe0f016b4f
Matter example patch (#10618)
* feat(matter): adjust preferences labels in matter examples

* feat(matter): adjust preferences labels in matter examples

* fix(matter_example): extra blank space in code added by mistake

* feat(matter_example): use const char * instead of #define

* feat(matter_example): use const char * instead of #define

* feat(matter_example): change Preferences names

* fix(matter_example): missing semicolon in code
2024-11-19 12:18:23 +02:00
Jason2866
4a8ba4294e
fix weird formatting, no code change (#10617)
* fix formatting

* Disable formatter for these lines

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-11-19 12:18:06 +02:00
Me No Dev
3a5dbf241e
Merge branch 'master' into release/v3.1.x 2024-11-19 12:14:57 +02:00
Unexpected Maker
1cdd8e8ce0
Fixed incorrect Flash size for UM FeatherS3 Neo build flash size (#10614)
Signed-off-by: Seon Rozenblum <seon@unexpectedmaker.com>
2024-11-18 14:43:28 +02:00
Mikey Sklar
02b03286a2
Feather V2 and Qt PY Pico PartitionScheme (#10604)
Default stays the same, additional option for larger SPIFFS area. Using existing partition CSV.

Tested on Feather V2
Arduino 2.3.3
ESP32 BSP 3.0.7
2024-11-18 09:44:22 +02:00
Cellie
9c25cef93f
Update pins_arduino.h (#10610)
The correct pin is GPIO4.
2024-11-18 09:43:31 +02:00
Lucas Saavedra Vaz
e9b3f2650e
ci(pytest): Bump pytest-embedded to 1.12.0 for P4 fixes 2024-11-14 12:20:18 -03: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
cc407185a3
fix(build): Allow Arduino to compile in IDF without components (#10597)
* fix(build): Allow Arduino to compile in IDF without components

This adds guards for the rest of the extra components

* 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 17:23:51 +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
Rodrigo Garcia
54a7a3ee9a
feat(usb_hid_keyboard): Adds Keyboard Layout and Sends reports just for Modifier Keys (#10591)
* feat(usb_kb): add keyboard layouts. new pt_br layout

* feat(usb_kb): add kb layout and fixes modifier key press

* feat(usb_kb): update cmakelists.txt to add new kb layout code

* 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 00:56:06 +02:00
Jerzy Stusiński
1a8e53fe47
fix(typo): Fix typo in CDC DFU flash tutorial (#10584)
* Update cdc_dfu_flash.rst

* Update docs/en/tutorials/cdc_dfu_flash.rst

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>

* Update docs/en/tutorials/cdc_dfu_flash.rst

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-11-11 15:22:32 +02:00
Lucas Saavedra Vaz
09a6770320
fix(tests): Fix wrong selection of tests and add debug flag for testing (#10583)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2024-11-08 11:17:55 +02:00
Ludovic BOUÉ
f66ba37d1f
fix(Zigbee): Fix typo in Zigbee_Temp_Hum_Sensor_Sleepy.ino (#10581) 2024-11-08 11:10:54 +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
adcbc2ab59
Merge branch 'master' into release/v3.1.x 2024-11-06 11:41:17 +02:00
Jan Procházka
d1df696cd0
feat(Zigbee): Support for sleepy device + Power Source and battery level + Humidity sensor cluster (#10551)
* feat(zigbee): Add power source and battery level

* fix(zigbee): Make sure Indentify callback in not null

* fix(zigbee): Remove leftovers and use workaround for mac capabilities

* feat(zigbee) Add humidity optional cluster + fixes

* feat(zigbee): Add common Zigbee.h header file

* fix(zigbee): remove leftover code

* ci(pre-commit): Apply automatic fixes

* fix(zigbee): Fix codespell issues

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-06 11:40:31 +02:00
Me No Dev
3dad918cea
Merge branch 'master' into release/v3.1.x 2024-11-06 01:02:54 +02:00
Lucas Saavedra Vaz
501f8a9a4e
fix(esptool): Bump esptool version to 4.9.dev1 on 3.1.x (#10570) 2024-11-06 01:01:11 +02:00
Rodrigo Garcia
69825a99f9
feat(Matter): New Matter Endpoint - Dimmable Light (#10543)
* feat(matter): source code folder organization

* feat(matter): new matter endpoint dimmable light

* feat(matter): dimmable friend class and adjusts log levels

* feat(matter): adds new folder and source code to cmakelists.txt

* fix(matter): identation in cmakelists.txt

* feat(matter): adds license disclaimer to all source code

* feat(matter): example code simplification

* feat(matter): make it work with rgb and analog led

* feat(matter): single user callback based on lambda function

* feat(matter): commentaries and code improvement. update() and callbacks added.

* feat(matter): adde new keywords to arduino settings

* feat(matter): example code adjustment to use improved api

* fix(matter): it shuold work even when no callback is set

* feat(matter): matter.h includes all possible endpoint header files

* feat(matter): adjusts all examples to only include matter.h

* fix(matter): double declaration of ret - var scope issue

* 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-06 00:59:27 +02:00
s-hadinger
a80b03e017
fix(IPaddress): IPv6 restore zone id (#10546)
* IPv6 restore zone id

This PR restores the IPv6 zone-id in String representation of IPv6 address as well as parsing. This follows 20a28b58bc that disabled it due to a crash in `netif_index_to_name()`.

The fixed code scans through `netif_list` to find the `netif` name and id.

Note: zone-id are incremented by 1 compared to `netif` id.

For example internal zoneid value `3` actually translates to `%st2`

* 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-06 00:58:30 +02:00