pySim-shell: export: Add FCP template to export

The FCP template provides us a lot of context, like the permissions of
a given file.  Let's make it part of the 'export' output, both in raw
and in decoded form.

Change-Id: I05f17bbebd7a9b3535204b821900851a5f66e88f
Closes: OS#5457
This commit is contained in:
Harald Welte
2022-02-15 15:41:55 +01:00
parent 9e241435cc
commit 2bb17f3df9
2 changed files with 6 additions and 1 deletions

View File

@@ -532,6 +532,8 @@ class PySimCommands(CommandSet):
structure = self._cmd.rs.selected_file_structure()
self._cmd.poutput("# structure: %s" % str(structure))
self._cmd.poutput("# RAW FCP Template: %s" % str(self._cmd.rs.selected_file_fcp_hex))
self._cmd.poutput("# Decoded FCP Template: %s" % str(self._cmd.rs.selected_file_fcp))
for f in df_path_list:
self._cmd.poutput("select " + str(f))