mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-04-01 13:13:55 +03:00
ts_51_011: implement CardProfileSIM as a class
CardProfileSIM is currenty instantiated directly. However, it should be implemented as class and then instaniated later like CardProfileUICC Change-Id: I37d49b11a07ce5a80d1a703fab4620b7d1ecb25b
This commit is contained in:
@@ -980,4 +980,6 @@ def decode_select_response(resp_hex):
|
|||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
CardProfileSIM = CardProfile('SIM', desc='GSM SIM Card', files_in_mf=[DF_TELECOM(), DF_GSM()])
|
class CardProfileSIM(CardProfile):
|
||||||
|
def __init__(self):
|
||||||
|
super().__init__('SIM', desc='GSM SIM Card', files_in_mf=[DF_TELECOM(), DF_GSM()])
|
||||||
|
|||||||
Reference in New Issue
Block a user