8000 Add multizone types by Firstyear · Pull Request #5 · eminence/lifx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add multizone types #5

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

Merged
merged 2 commits into from
Jul 13, 2022

Conversation

Firstyear
Copy link
Contributor

This adds the multizone types from the lifx developer docs.

Copy link
Owner
@eminence eminence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Look good except for one small datatype issue

reserved7: u32,
reserved8: u32,
/// The parameters that was used in the request.
parameters: [u8; 32],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lifx docs say this:

This field is 8 4 byte fields which change meaning based on the effect that is running.

I'm wondering if it makes sense to write this field as a [u32; 8] ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that would make more sense Ithink.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you want parameters in StateMultiZoneEffect updated to match?

@eminence
Copy link
Owner

Thanks!

@eminence eminence merged commit 9501966 into eminence:master Jul 13, 2022
@brianmay brianmay mentioned this pull request Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0