laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/pysim/+/37733?usp=email )
Change subject: pySim.esim.saip.template: Permit file-size for BER-TLV files
......................................................................
pySim.esim.saip.template: Permit file-size for BER-TLV files
We previously only permitted this for transparent files (TR), but
file size can of course also be specified for BER-TLV files.
Change-Id: Ie007cf2ccde0a17d0fb853a96b833f064ae52c59
---
M pySim/esim/saip/templates.py
1 file changed, 13 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/33/37733/1
diff --git a/pySim/esim/saip/templates.py b/pySim/esim/saip/templates.py
index 8a19d34..0901e39 100644
--- a/pySim/esim/saip/templates.py
+++ b/pySim/esim/saip/templates.py
@@ -36,7 +36,7 @@
if ftype in ['LF', 'CY']:
self.nb_rec = nb_rec
self.rec_len = size
- elif ftype in ['TR']:
+ elif ftype in ['TR', 'BT']:
self.file_size = size
self.arr = arr
self.sfi = sfi
--
To view, visit
https://gerrit.osmocom.org/c/pysim/+/37733?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ie007cf2ccde0a17d0fb853a96b833f064ae52c59
Gerrit-Change-Number: 37733
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange