Skip to content
Failed

Changes

Summary

  1. filesystem: pass total_len to construct of when encoding file contents (details)
Commit 0de4b6dcaa4d2df1895e906560f8905bc3b41d30 by pmaier@sysmocom.de
filesystem: pass total_len to construct of when encoding file contents

In our construct models we frequently use a context parameter "total_len",
we also pass this parameter to construct when we decode files, but we
do not pass it when we generate files. This is a problem, because when
total_len is used in the construct model, this parameter must be known
also when decoding the file.

Let's make sure that the total_len is properly determined and and passed
to construct (via pyosmocom)

Related: OS#5714
Change-Id: I1b7a51594fbc5d9fe01132c39354a2fa88d53f9b
The file was modifiedpySim/filesystem.py
The file was modifiedpySim/ts_31_102_telecom.py
The file was modifiedpySim/ts_51_011.py
The file was modifiedpySim/runtime.py
The file was modifiedpySim/sysmocom_sja2.py
The file was modifiedpySim/ts_31_102.py
The file was modifiedpySim/gsm_r.py