README: Mention the necessary wait_for_card
This commit is contained in:
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'])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user