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

Remove ip cluster flags #9892

Merged
merged 3 commits into from
Sep 24, 2021
Merged

Conversation

cecille
Copy link
Contributor

@cecille cecille commented Sep 22, 2021

Problem

  • IP commissioning gets short circuited by CASE when using the chip tool - resolve gets called twice and we call the completion callback which cases chip-tool to early exit. This seems to cause a race where sometimes the device was being persisted in the cleanup, but sometimes it was not.
  • The chip tool isn't compiled with the ip clustering flags on by default (chip-device-ctrl is). These have been fairly well tested in the TEs now, so we should just get rid of the gates.

Change overview

  • removes flags for IP commissioning - full ip commissioning is now enabled by default everywhere
  • fixes an early exit on ip commissioning that was causing issues for chip-tool

Testing

Tested with chip-tool ip pairing and command sending using linux lighting app.

@andy31415
Copy link
Contributor

@cecille - conflicts

cecille and others added 3 commits September 24, 2021 11:10
We've been running with these default on for a while, we don't
need to be gating on this anymore and it looks to be messing up
folks using chip-tool.
When we're doing full commissioning, we don't want to call the
completion callback until we're actually done. CASE causes the
address to be resolved multiple time, including after we've done
our resolve.
@cecille cecille force-pushed the remove_ip_cluster_flags branch from ae8036d to 6aa4ad2 Compare September 24, 2021 15:16
@cecille cecille merged commit 41fb0b0 into project-chip:master Sep 24, 2021
@cecille cecille deleted the remove_ip_cluster_flags branch September 24, 2021 17:14
yunhanw-google added a commit that referenced this pull request Sep 24, 2021
andy31415 pushed a commit that referenced this pull request Sep 24, 2021
@andy31415
Copy link
Contributor

This was checked in and reverted in ToT due to CI breakages. Holding off on TE6 cherrypick since it is unclear what breaks CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants