inverter-connect icon indicating copy to clipboard operation
inverter-connect copied to clipboard

Fix version info when HEX value appears

Open kosl opened this issue 7 months ago • 0 comments

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 │
└─────────┴──────────────────────────────┴─────────┴─────────┴───────┴───────────┘

kosl avatar Jul 15 '24 13:07 kosl