pySim.saip: Add ProfileElementRFM class

Change-Id: I547e02c12345932deafa4b914fcaeaa183b69798
This commit is contained in:
Harald Welte authored and laforge committed 2024-07-10 06:51:23 +00:00
1 parent 2668eb6148
commit 3b7e2ae2c1
2 files changed
+35

No files matched your search

+7
View File
@@ -74,6 +74,13 @@ class SaipTest(unittest.TestCase):
pes.append(inst)
pes.to_der()
# RFM requires some constructor arguments
cls = ProfileElementRFM
with self.subTest(cls.__name__):
pes = ProfileElementSequence()
inst = cls(inst_aid=b'\x01\x02', sd_aid=b'\x03\x04', tar_list=[b'\x01\x02\x03'])
pes.append(inst)
pes.to_der()
if __name__ == "__main__":