forked from dailab/libsml
-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix for workaround to issue sml_server does not decode data from device DZMeteringGmbH_WS_7412.1 (negative values) #125 #1
Open
chrischris616
wants to merge
133
commits into
master
Choose a base branch
from
chrischris616-patch-1-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Identifiers beginning with an underscore followed by a capital letter are reserved. ISO C99/11 7.1.3p1 and p2.
…epresentation may be non-zero
…of better knowledge
TheCount's "Cleanup and bugfixes", merge-able
[andig] Provide better error message
fix compile warnings
[test] upgrade unity
After discussions in issue #105 I asked DZG, and they confirmed the bug was fixed in firmware version 1.2 and 1.3, which ship with serial numbers starting with "1 DZG 00 6.." (in decimal). Compare the serial number, and only apply the workaround if it is indeed less than static const unsigned char dzg_serial_fixed[] = {0x0a, 0x01, 'D', 'Z', 'G', 0x00, 0x03, 0x93, 0x87, 0x00}; which is "1 DZG 00 60000000" in their decimal representation. This fixes #105. Co-authored-by: Johannes Berg <[email protected]>
…pository squash merged the Andreas Moog changes excluding .gitlab-ci.yml
The data types are described on pages 44 and 45 in the technical guideline: https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR03109/TR-03109-1_Anlage_Feinspezifikation_Drahtgebundene_LMN-Schnittstelle_Teilb.pdf?__blob=publicationFile
Debuild squash
fix compiler warning when building without libuuid, uuid_t is `unsigned char`, so the dummy we replace it with should match that.
see issue #113
this is a fix of the DZMeter workaround for wrong values.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
there was on sml message more included into the workaround. it is the power of L1, the existing power sum will be renamed.