laforge has uploaded this change for review.
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 change 37733. To unsubscribe, or for help writing mail filters, visit settings.