project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.32k stars 1.96k forks source link

Application Launcher cluster implementation assumes the "Application" field is always present in commands. #24595

Open bzbarsky-apple opened 1 year ago

bzbarsky-apple commented 1 year ago

The "LaunchApp", "StopApp", "HideApp" commands only have an Application field if the AP feature is supported. But the current implementation will fail out if those fields are not provided no matter what features might or might not be enabled.

This requires fixes to emberAfApplicationLauncherClusterLaunchAppCallback and the like, as well as the delegate methods they call (which assume you have an ApplicationStruct for them), etc.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.