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

Hackaday - Matter statistic PoC #13

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Hackaday - Matter statistic PoC #13

wants to merge 6 commits into from

Conversation

ArekBalysNordic
Copy link
Owner

Proof of Concept for Matter statistics module which is able to create a map of various variables anywhere in the Matter code, keep its value and retrieve it from the storage.

Implemented:

  • A map for storing variables and values
  • A struct to provide an API for setting, incrementing, decrementing and getting values of stored variables.
  • Added some examples to the Matter stack, for example in the CASE session, ChipOverBLE.
  • Added CLI interface to read a list of already stored variable names.
  • For now, enable it by default using CHIP_DEVICE_VARIABLE_STATISTICS config.

TODO:

  • many "TODO" are already described in the code.
  • Align it to GN
  • Align it to Zephyr's Config
  • Refactor the VariableStats struct to make it better and more universal (Error codes, dynamic types of values)
  • Find more places in the Matter stack where it can be used.

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.

1 participant