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

Support constant fields #177

Closed
msteiger opened this issue Mar 18, 2018 · 2 comments
Closed

Support constant fields #177

msteiger opened this issue Mar 18, 2018 · 2 comments

Comments

@msteiger
Copy link

msteiger commented Mar 18, 2018

Many of Wolf's proprietary messages have a constant suffix. Here's an example:

3003502309d8420104005d010000

from 30 to 03,
the "Wolf-Write-Command": 50 23
9 bytes following
The crc8 of the following 8 bytes (see #167)
The ID for "HG07" (Heizgerät Parameter 07) 42 01
The actual value: 04 00
The constant 4-byte suffix: 5d 01 00 00

I can specify it as a unsigned integer to make it work, but it's actually a constant. So I suggest adding a constant field type, together with some way of defining the constant. Maybe in the "divider/values" column?

@john30
Copy link
Owner

john30 commented Mar 18, 2018

already available, e.g. use HEX:4,=5d010000

@john30 john30 closed this as completed Mar 18, 2018
@msteiger
Copy link
Author

Oh, that's perfect. Thanks for helping me out.

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

2 participants