Attention is currently required from: Hoernchen, dexter, laforge.
Hoernchen uploaded patch set #3 to this change.
The following approvals got outdated and were removed: Code-Review+1 by laforge, Code-Review+2 by dexter, Verified+1 by Jenkins Builder
The change is no longer submittable: Code-Review and Verified are unsatisfied now.
cat: properly decode IMEI/IMEISV IE
Currently BcdAdapter(GreedyBytes), i.e. a plain swapped nibble digit
string, which is wrong, the IMEI IE is not a bcd string.
See TS 124.008 10.5.1.4 figure 10.5.4 + table 10.5.4
It currently
- decodes framing nibble as digit
- encodes a 15 digit IMEI as 7 bytes, wrong len, dropped last digit
Fix this, while at it add the 8.74 IMEISV as well + tests for the framing
because the current round trip missed all of this.
Change-Id: Iad7aea77513d413c338edc18ef1bcc37488ae849
---
M pySim/cat.py
M tests/unittests/test_cat.py
M tests/unittests/test_tlvs.py
3 files changed, 117 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/61/43561/3
To view, visit change 43561. To unsubscribe, or for help writing mail filters, visit settings.