mirror of https://gerrit.osmocom.org/pysim
README: Mention the necessary wait_for_card
This commit is contained in:
parent
3156d9073f
commit
50e7c03816
2
README
2
README
|
@ -29,6 +29,8 @@ from pySim.commands import SimCardCommands
|
||||||
sl = SerialSimLink(device='/dev/ttyUSB0', baudrate=9600)
|
sl = SerialSimLink(device='/dev/ttyUSB0', baudrate=9600)
|
||||||
sc = SimCardCommands(sl)
|
sc = SimCardCommands(sl)
|
||||||
|
|
||||||
|
sl.wait_for_card()
|
||||||
|
|
||||||
# Print IMSI
|
# Print IMSI
|
||||||
print sc.read_binary(['3f00', '7f20', '6f07'])
|
print sc.read_binary(['3f00', '7f20', '6f07'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue