Attention is currently required from: laforge. neels has posted comments on this change by neels. ( https://gerrit.osmocom.org/c/pysim/+/40198?usp=email )
Change subject: personalization: implement reading back values from a PES ...................................................................... Patch Set 6: (1 comment) File pySim/esim/saip/personalization.py: https://gerrit.osmocom.org/c/pysim/+/40198/comment/6748553e_7e8c1591?usp=email : PS6, Line 56: de > this is somewhat of a copy of pySim.esim.saip.File. […] thanks for helping, because i could not figure this out. ...actually i still can't figure out the API. I tried to find example callers of file_content_from_tuples() but they simply do not exist. I'm stuck with from_tuples() which doesn't do what i want. Essentially, I need a ProfileElement.get_bytes() function? In detail, how exactly do I improve this caller? for pe in pes.get_pes_for_type('usim'): imsi_pe = pe.decoded.get('ef-imsi', None) if imsi_pe: yield dec_imsi(b2h(file_tuples_content_as_bytes(imsi_pe))) ^^^^^^^^^^^^^^^^^^^ thanks -- To view, visit https://gerrit.osmocom.org/c/pysim/+/40198?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I234fc4317f0bdc1a486f0cee4fa432c1dce9b463 Gerrit-Change-Number: 40198 Gerrit-PatchSet: 6 Gerrit-Owner: neels <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <[email protected]> Gerrit-Attention: laforge <[email protected]> Gerrit-Comment-Date: Thu, 15 Jan 2026 03:56:18 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: laforge <[email protected]>
