-
Notifications
You must be signed in to change notification settings - Fork 34
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
Opening & Closing commissioning window #36
Comments
Forgot to mention: I did try adding the following code:
...and got linker errors:
If I remove the added code, it compiles/links no problem. |
BTW, the project I am working on is an open source ESP32-S3 based thermostat, including a custom PCB: The Matter code is in the branch named 'Matter' It isn't ready for "prime time" quite yet, but I am close to having a reliable, functioning thermostat. The intelligence will come after implementing Matter properly. ...and maybe adding support for MQTT. |
...or is there a way to retrieve the |
Hey, really nice project! This issue should be inside esp-matter or connectedhomeip repo. The esp32-arduino-matter is nothing more than pre-compiled set of these libraries. Regarding your linker errors, it looks like pre-compiled NimBLE is missing some functions. Maybe they weren't compiled (and thus are not shipped with |
@Yacubane Thanks for the replies! I am still making progress, except for one issue. Any time I try to call a Commisioning function, I get the linker error. I don't see how there was no usage of the NimBLE functions since I keep running into the problem. I do realize esp32-arduino-matter is not fully ready for 'primetime', but I am trying to get a bunch of chunks of functionality working (like Rapid Prototyping idea) and esp32-arduino-matter is really helping a lot. I recently rewrote my entire wifi interface to get rid of the Arduino API in favor of the ESP-IDF interface. If possible I'd rather not do that yet with the Matter libraries. I am not using BLE at all. Is there some way to get past these linker errors? After rewriting the wifi module, I am able to control wifi (and get status) while Matter is running. Code is checked in to my 'Matter' branch in my repo. |
I can add a little bit of color to this. I started having similar linking errors a couple of days ago, likely when I added a call to ConfigurationMgr.InitiateFactoryReset() (see espressif/esp-matter#570). For me at least, the problem is intermittent. I can link and upload just fine once or twice, but then I start getting linking errors. To workaround, I just keep a copy of I don't know why this is necessary, but it seems to work for a short time at least. |
You mentioned rewriting wifi module. Do you have sources which uses wifi functionality with esp32-arduino-matter library? |
I have been looking into a problem for days, looking thru the CHIP code and the ESP-matter code and cannot come up with a solution.
Problem: I am working on a device with a touch screen, so I can show a QR code for commissioning. This device (thermostat) also needs to;
a) set hostname
b) provide a web port
c) be able to change ssid & psk
d) retrieve wifi stats (ip addr, rssi, hostname, (dis)connected status)
With the above requirements, I cannot use the Arduino Wifi library AND the Matter code at the same time as they both try to initialize and start wifi. So I asked over on the esp-matter issues forum (espressif/esp-matter#551) and the suggestion was to start Matter, close the commissioning window, cal Arduino Wifi.begin() and then reopen the comm window.
So, how do I open/close the commissioning window using esp-arduino-matter??
...or; How can I use esp-arduino-matter and provide the functionality in the list above?
The text was updated successfully, but these errors were encountered: