Use reference array for reading ICCID

Change-Id: Iad0a328c6f0c9a4ab678efe068801849be48d8fc
This commit is contained in:
Max
2019-01-03 11:02:08 +01:00
committed by Harald Welte
parent 851e9c0f4c
commit 89cfded971

View File

@@ -95,7 +95,7 @@ if __name__ == '__main__':
print("Reading ...")
# EF.ICCID
(res, sw) = scc.read_binary(['3f00', '2fe2'])
(res, sw) = scc.read_binary(EF['ICCID'])
if sw == '9000':
print("ICCID: %s" % (dec_iccid(res),))
else: