-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino WiFi AP API coexistence with esp-matter ConnectivityManager Implementation #10391
Comments
you are a bit ahead of the curve here. We do not guarantee that this will ever work, because matter manages WiFi on it's own. Meaning interfaces, events and so on. Let's wait for the work that will be done for v3.1 first |
I see that point, but its management of WiFi is overridable by the code I pasted. What's not so following is esp_matter library which does not check against the mode in its interference. Seems its interference stops at |
No more to say currently. Imho at some point it makes no sense to use Arduino only. |
The good news that I've a primarily working code that coexists between esp-matter and arduino. The provided fix/enhancement is the only primary issue I've met. Other issue appeared because of Until espressif/esp32-arduino-lib-builder#186 gets merged (and ofcourse the fix), direct Arduino users will be helped with. |
The close was most probably a misclick. |
@HamzaHajeir - Please review this issue given the current Arduino Matter Library. #7432 At this time, Matter relies on Arduino WiFi Library for connectivity. There is a Matter example that uses WiFi AP or BLE for provissioning the WiFi Network using WiFi Prov Library. Let me know if we can consider this issue solved. |
Hi Rodrigo,
I have just returned from a work trip that elapsed over a month, I'll be
studying this issue again with the newest implementations at soonest and
feedback subsequently.
With best,
Hamza
في الخميس، 13 فبراير 2025 في 5:14 م تمت كتابة ما يلي بواسطة Rodrigo
Garcia ***@***.***>:
… @HamzaHajeir <https://github.com/HamzaHajeir> - Please review this issue
given the current Arduino Matter Library. #7432
<#7432>
https://github.com/espressif/arduino-esp32/tree/master/libraries/Matter
At this time, Matter relies on Arduino WiFi Library for connectivity.
There is a Matter example that uses WiFi AP or BLE for provissioning the
WiFi Network using WiFi Prov Library.
https://github.com/espressif/arduino-esp32/blob/master/libraries/Matter/examples/WiFiProvWithinMatter/WiFiProvWithinMatter.ino
Let me know if we can consider this issue solved.
—
Reply to this email directly, view it on GitHub
<#10391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH3O7J4BNBYHLD5YV2RVG732PSSCVAVCNFSM6AAAAABPDNVOLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJWG4ZDEOJQGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: SuGlider]*SuGlider* left a comment (espressif/arduino-esp32#10391)
<#10391 (comment)>
@HamzaHajeir <https://github.com/HamzaHajeir> - Please review this issue
given the current Arduino Matter Library. #7432
<#7432>
https://github.com/espressif/arduino-esp32/tree/master/libraries/Matter
At this time, Matter relies on Arduino WiFi Library for connectivity.
There is a Matter example that uses WiFi AP or BLE for provissioning the
WiFi Network using WiFi Prov Library.
https://github.com/espressif/arduino-esp32/blob/master/libraries/Matter/examples/WiFiProvWithinMatter/WiFiProvWithinMatter.ino
Let me know if we can consider this issue solved.
—
Reply to this email directly, view it on GitHub
<#10391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH3O7J4BNBYHLD5YV2RVG732PSSCVAVCNFSM6AAAAABPDNVOLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJWG4ZDEOJQGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @SuGlider, I've done a primary review of the issue, and I am not sure why it's not appearing at your example, as Therefore both Arduino WiFi and CHIP's calls CHIP's one adds the necessary guards to prevent duplicate call when it becomes second. What I see that adding these guards is the wise decision - anyway -, what do you think? BTW: I'm not sure why not adding |
Board
ESP32-S3-DevKitC-1-N8R2
Device Description
.
Hardware Configuration
..
Version
v3.0.4
IDE Name
PlatformIO
Operating System
Windows 11
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
.
Description
I'm building a custom project which coexists esp-matter and Arduino in one project.
Such that the WiFi management is went through Arduino library (WiFi), and to inform CHIP's core that the application controls the WiFi. through:
All up to here is okay, but when engaging with
WiFi.enableAP(true)
API an error happens, which is a result of incompatibility with esp-matter's code regarding WiFi.Both stacks initializes the netif`'s (Arduino)(esp-matter[1][2]). While there should be exactly one netif initialized, the program crashes in the second call of.
A suggestion of using the name keys, and the same pattern of code in esp-matter's
start()
, such that to ask for the netif by name, and if not existed to create it:Which worked well in my setup.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: