-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
In V5.8 of the TENM firmware, the identity command appends the serial number of the unit to the result.
>>> p = PowerSupply(get_port("/dev/ttyACM1"))
>>> p.get_identity()
'TENMA 72-2540 V5.8 SN:03211356'Given that the is_tested check is basically
def is_tested(self):
return self.get_identity() in tested_firmwarehow should this be extended to support these newer firmwares?
The easiest option would be to truncate, but that doesn't very future-proof. Do you have any suggestions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels