mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-18 19:38:34 +03:00
pySim-read: adjust meaning of HPLMN/OPLMN flags in EF_SPN
The updated wording better reflects the actual meaning of a set or unset flag, especially as OPLMN is inverted. Change-Id: I65c6f0e9bc1a12a4a74c4274eebb8e612296888f
This commit is contained in:
committed by
laforge
parent
86b09da61d
commit
5933c3b88d
@@ -126,8 +126,8 @@ if __name__ == '__main__':
|
||||
(res, sw) = card.read_spn()
|
||||
if sw == '9000':
|
||||
print("SPN: %s" % (res[0] or "Not available"))
|
||||
print("Display HPLMN: %s" % (res[1],))
|
||||
print("Display OPLMN: %s" % (res[2],))
|
||||
print("Show in HPLMN: %s" % (res[1],))
|
||||
print("Hide in OPLMN: %s" % (res[2],))
|
||||
else:
|
||||
print("SPN: Can't read, response code = %s" % (sw,))
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user