def get_version(): """Get the version of the firmware installed""" with get_device() as dev: v = dev.send_recv(CCProtocolPacker.version()) click.echo(v)
def get_version(): "Get the version of the firmware installed" dev = ColdcardDevice(sn=force_serial) v = dev.send_recv(CCProtocolPacker.version()) click.echo(v)
def get_version(self): # gives list of strings return self.dev.send_recv(CCProtocolPacker.version(), timeout=1000).split('\n')