Skip to content
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

[bug] device unable to connect after being reprogrammed #88

Open
leonardpitzu opened this issue Sep 10, 2024 · 3 comments
Open

[bug] device unable to connect after being reprogrammed #88

leonardpitzu opened this issue Sep 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@leonardpitzu
Copy link

leonardpitzu commented Sep 10, 2024

Hardware

SparkFun Thing Plus Matter - MGM240P

Core version

2.1.0

Arduino IDE version

2.3.2

Operating system

macOS 14.6.1

Radio stack variant

Matter

OpenThread Border Router device (if using Matter)

HomePod mini

Issue description

After flashing the board with the compiled sketch I am able to commission everything as expected. After refreshing the sketch the board appears as commissioned but does not connect to the boarder router any more (nothing changes in the setup otherwise). I have to manually remove the accessory from the iOS Home app, refresh the board and do the commissioning all over again. And this every time, for every code change!

Serial output

No response

RTT output (if using Matter)

No response

Minimal reproducer code

any demo sketch would do it

@leonardpitzu leonardpitzu added the bug Something isn't working label Sep 10, 2024
@leonardocavagnis
Copy link
Contributor

Hi @leonardpitzu,
Thanks for your report.
I tried to replicate your setup, and everything worked fine. First, I flashed one of the examples from the library, then I applied some modifications (e.g., adding Serial prints) and re-flashed the sketch.

Could you please provide us with some additional details about the changes you applied?

@leonardpitzu
Copy link
Author

It happens with any sample and reflashing the same, without any modifications, results in the behavior described. I think it has something to do with iOS 18 and its ability to connect to matter devices over thread without the need of an edge router. Could you please try and replicate this with iOS 18 and its default Hone app?

@leonardpitzu
Copy link
Author

Did some more testing today with the fully reset board and the temp sensor demo.
Steps to reproduce:

  1. Flash the board with the demo
  2. Pair the board with the iOS18 Home app
  3. Test the sensor working
  4. Release the board with the same demo (unchanged) or simply unplug the board
  5. Thread connects but the demo hangs at “waiting for Matter discovery”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants