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

Matter refactor reading of multiple attributes to reduce memory pressure #21675

Merged
merged 2 commits into from
Jun 22, 2024

Conversation

s-hadinger
Copy link
Collaborator

Description:

Matter refactor reading of multiple attributes to reduce memory pressure. It has been deeply tested but there may be some glitches.

Now when multiple controlers send wildcard requests (i.e. ask to read all attributes, ex: Alexa), the attributes are read only when sending the chunked packets one at a time, instead of reading at values in memory at first request and sending chunks from memory.

Long story short, it's better and more stable, especially with low memory situations.

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.7
  • The code change is tested and works with Tasmota core ESP32 V.3.0.1
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger s-hadinger merged commit c96a48b into arendst:development Jun 22, 2024
39 checks passed
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.

1 participant