sniffer.py: Added apdu_split support
diff --git a/usb_application/mitm.py b/usb_application/mitm.py
index abbe05c..e0424e8 100755
--- a/usb_application/mitm.py
+++ b/usb_application/mitm.py
@@ -7,7 +7,7 @@
from contextlib import closing
from util import HEX
-from constants import PHONE_WR, PHONE_RD, PHONE_INT, SIM_WR, SIM_RD, SIM_INT
+from constants import *
def find_dev():
dev = usb.core.find(idVendor=0x03eb, idProduct=0x6004)
@@ -31,8 +31,6 @@
else:
return inpt
-ERR_TIMEOUT = 110
-
def poll_ep(dev, ep):
try:
return dev.read(ep, 64, 10)