@@ -104,6 +104,10 @@ class RelayOS(SmartcardOS):
|
|||||||
logging.error("Error disconnecting from card: %s", str(e))
|
logging.error("Error disconnecting from card: %s", str(e))
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
|
def reset(self):
|
||||||
|
self.powerDown()
|
||||||
|
self.powerUp()
|
||||||
|
|
||||||
def execute(self, msg):
|
def execute(self, msg):
|
||||||
# sendCommandAPDU() expects a list of APDU bytes
|
# sendCommandAPDU() expects a list of APDU bytes
|
||||||
apdu = map(ord, msg)
|
apdu = map(ord, msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user