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

zcl_enums and zcl_bitmaps handle built-in types inconsistently #1370

Open
bzbarsky-apple opened this issue Jul 25, 2024 · 0 comments
Open

zcl_enums and zcl_bitmaps handle built-in types inconsistently #1370

bzbarsky-apple opened this issue Jul 25, 2024 · 0 comments
Assignees
Labels
matter Important to Matter SDK

Comments

@bzbarsky-apple
Copy link
Contributor

zcl_enums does:

          queryZcl
          .selectAllEnums(this.global.db, packageId)
          //Filtering out all atomic enums
          .then((es) =>
            es.filter((e) => !e.name.toLowerCase().match(/^enum\d+$/g))
          )

zcl_bitmaps just does:

        queryZcl.selectAllBitmaps(this.global.db, packageId)

so the latter will iterate over things like bitmap8 and whatnot.

@bzbarsky-apple bzbarsky-apple added the matter Important to Matter SDK label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
matter Important to Matter SDK
Projects
None yet
Development

No branches or pull requests

2 participants