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

Add the manufacturer code to the ZclAttributeDao #994

Conversation

hsudbrock
Copy link
Contributor

@hsudbrock hsudbrock commented Mar 4, 2020

This field has previously been missing in the ZclAttributeDao, but should be stored
in the database as well.

What does go wrong without this fix? After re-filling the node list from the database, operations like, e.g., attribute reads for manufacturer-specific attributes will fail because the manufacturer-specific bit will not be set in the requests anymore.

Chris, this is one of the issues that we discussed in #989.

Signed-off-by: Henning Sudbrock [email protected]

This field has previously been missing in the DAO, but should be stored
in the database as well.

Signed-off-by: Henning Sudbrock <[email protected]>
@codecov
Copy link

codecov bot commented Mar 4, 2020

Codecov Report

Merging #994 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #994      +/-   ##
============================================
+ Coverage      30.3%   30.31%   +<.01%     
- Complexity     4028     4030       +2     
============================================
  Files          1424     1424              
  Lines         55233    55238       +5     
  Branches       2445     2445              
============================================
+ Hits          16739    16746       +7     
+ Misses        37765    37763       -2     
  Partials        729      729
Impacted Files Coverage Δ Complexity Δ
...ava/com/zsmartsystems/zigbee/zcl/ZclAttribute.java 92.85% <100%> (+0.12%) 32 <0> (ø) ⬇️
...zsmartsystems/zigbee/database/ZclAttributeDao.java 100% <100%> (ø) 31 <2> (+2) ⬆️
...bee/dongle/ember/internal/ash/AshFrameHandler.java 59.59% <0%> (+0.51%) 47% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4382465...2b8ecf7. Read the comment docs.

@cdjackson
Copy link
Member

Thanks Henning.

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