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

Fix version info when HEX value appears #132

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Fix version info when HEX value appears #132

wants to merge 5 commits into from

Conversation

kosl
Copy link

@kosl kosl commented Jul 15, 2024

It appears that the communication protocol version number major grew over 9 and caused python to crash.
This is now fixed with conversion to decimal and to string to be joined.

                           Inventer Version Information                           
┏━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━┓
┃ Counter ┃                         Name ┃ Address ┃ Address ┃ Value ┃           ┃
┃         ┃                              ┃  (hex)  ┃   (dec) ┃ (hex) ┃   Version ┃
┡━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━┩
│       1 │       Control Board Firmware │   0xd   │      13 │ 0000  │  v0.0.0.0 │
│       2 │ Communication Board Firmware │   0xf   │      15 │ 2006  │  v2.0.0.6 │
│       3 │       Communication Protocol │  0x14   │      20 │ c043  │ v12.0.4.3 │
└─────────┴──────────────────────────────┴─────────┴─────────┴───────┴───────────┘

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.

1 participant