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] Identify cluster effect identifier and effect variant are NOT the same thing - used in multiple example apps #26797

Closed
fessehaeve opened this issue May 24, 2023 · 4 comments · Fixed by #26928
Assignees
Labels
efr32 examples qpg QPG6xxx platform

Comments

@fessehaeve
Copy link
Contributor

Reproduction steps

All the below mentioned example codes do casting from effect variant to effect identifier, which are not the same thing.

sIdentifyEffect = static_cast<EmberAfIdentifyEffectIdentifier>(identify->mEffectVariant);

examples/chef/efr32/src/AppTask.cpp
examples/light-switch-app/silabs/efr32/src/AppTask.cpp
examples/lighting-app/qpg/src/AppTask.cpp
examples/lighting-app/silabs/efr32/src/AppTask.cpp
examples/lock-app/qpg/src/AppTask.cpp
examples/lock-app/silabs/efr32/src/AppTask.cpp
examples/thermostat/silabs/efr32/src/AppTask.cpp
examples/window-app/common/src/WindowApp.cpp

Bug prevalence

always

GitHub hash of the SDK that was being used

e022057

Platform

efr32, other

Platform Version(s)

No response

Anything else?

No response

@bzbarsky-apple
Copy link
Contributor

@mkardous-silabs Any idea what's going on here?

@mkardous-silabs
Copy link
Contributor

It's been a while since i've played with the identify sutff. I would need to look into it.

@jmartinez-silabs
Copy link
Member

jmartinez-silabs commented May 24, 2023

@bzbarsky-apple Must be a copy mistake that got copied a bunch of times. I believe I am at fault for that initial commit. I'll fix that, It is clearly not what I meant there. I can change it for other platforms too

@jmartinez-silabs jmartinez-silabs self-assigned this May 24, 2023
@bzbarsky-apple
Copy link
Contributor

@jmartinez-silabs Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
efr32 examples qpg QPG6xxx platform
Projects
None yet
4 participants