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

negative Numbers are not parsed correctly #31

Open
FlorianJost opened this issue Nov 26, 2024 · 0 comments
Open

negative Numbers are not parsed correctly #31

FlorianJost opened this issue Nov 26, 2024 · 0 comments

Comments

@FlorianJost
Copy link

The following raw Payload has a negative Flow of -0.01m³/h. 68373768080072785634129344C804000000000C06341200008C4006896700000C1355474108023CFFFF025AFA00025E2C0102621900032B0F27004F16

The Parser Interprets this as the following:
| (65535)e-2[m³h⁻¹] | 0,Inst,16-bit Integer |

This is an unsigned Integer interpretation. But the values should be signed integer by default.

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

No branches or pull requests

1 participant