mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 14:58:33 +03:00
commands: fix typo
Change-Id: I4103b7474063a26f09666361aef72abcd35bc12d
This commit is contained in:
@@ -617,7 +617,7 @@ class SimCardCommands:
|
|||||||
return self.send_apdu_checksw(self.cla_byte + '44000002' + fid)
|
return self.send_apdu_checksw(self.cla_byte + '44000002' + fid)
|
||||||
|
|
||||||
def create_file(self, payload: Hexstr) -> ResTuple:
|
def create_file(self, payload: Hexstr) -> ResTuple:
|
||||||
"""Execute CREEATE FILE command as per TS 102 222 Section 6.3"""
|
"""Execute CREATE FILE command as per TS 102 222 Section 6.3"""
|
||||||
return self.send_apdu_checksw(self.cla_byte + 'e00000%02x%s' % (len(payload)//2, payload))
|
return self.send_apdu_checksw(self.cla_byte + 'e00000%02x%s' % (len(payload)//2, payload))
|
||||||
|
|
||||||
def resize_file(self, payload: Hexstr) -> ResTuple:
|
def resize_file(self, payload: Hexstr) -> ResTuple:
|
||||||
|
|||||||
Reference in New Issue
Block a user