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

Incorrect length of SystemParameters object 0 #3

Closed
Krolken opened this issue Feb 25, 2022 · 1 comment
Closed

Incorrect length of SystemParameters object 0 #3

Krolken opened this issue Feb 25, 2022 · 1 comment
Assignees
Labels
Question for ELGAS A question for ELGAS

Comments

@Krolken
Copy link
Contributor

Krolken commented Feb 25, 2022

When reading the parameter 0 we get the data:

data = bytearray(b'\x0e\x01\x00\x83]!\xffs1.16\x00\x10\x02211137_000000001\x00\x0cF\x13\x1e\x10\x0ef\xa6\xcaB\x00\x00\x00\x00\x02\xcd\xcc\x8c?\xb3\x0cA?5\xde.B\n\xd7#?\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x18\xc4B\x8a\x1fC?\xd5\t\x88>\x84\x9eM=\xac\x8b[=\xc6\xdc5<\x00o\x01<\n\xd7#<\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00X\x00\x0e\x00H\x004\x00\x98\x02X\x00\x00\x00\x03\x00\x00\x08\x00\x02\x03\x03\x00\x08\x03\x00\x06h\xa6\xcaB\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00*\x00\x07bar\x00\x00\x00\x00\x00 \xb0C\x00\x00\x00\x00\x00\x00\xa1m\x00\x00\x00\x00\x00\x00\x00\x90MJ/m3\x003\x00\x01\x01\x00\x00\x00\x00\x00A\x005\xe0\xff\x7f\xffw\xee\x12\x00\x00\x00\x00\x00\x00\x00\x00\x001.16\x00\x9a\xfa\x00\x00\x00\x00\xe5!\x00\x00')

The length of the structure is 270 bytes.

But when summing up the documented parts in the ELGAS documentation there is 276 bytes.

Either some objects does not exist or the type is changed.

The documentation states that the service version is 15. But when we read the data the service version is 16. So we might be looking at the wrong documentation.

@Krolken Krolken self-assigned this Feb 25, 2022
@Krolken Krolken added the Question for ELGAS A question for ELGAS label Feb 25, 2022
@Krolken
Copy link
Contributor Author

Krolken commented May 2, 2022

documenteation error

@Krolken Krolken closed this as completed May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question for ELGAS A question for ELGAS
Projects
None yet
Development

No branches or pull requests

1 participant