Skip to content
Success

Changes

Summary

  1. ts_51_011.EF_SMSP: Use integer division during encode (details)
  2. pySim.ts_51_011.EF_SMSP: Also permit UCS2 for the alpha_id (details)
Commit cc15b2b4c352a3a88552b923d24284a2a39317f8 by laforge
ts_51_011.EF_SMSP: Use integer division during encode

Otherwise we might compute float values and fail encoding like this:

> construct.core.FormatFieldError: Error in path (building) -> tp_vp_minutes
> struct '>B' error during building, given value 169.0

Change-Id: I989669434c7ddee9595ee81a0822f9966907a844
The file was modifiedpySim/ts_51_011.py
Commit 45bffb53f9ce3ee7ba600a17486cf7e8d694faed by laforge
pySim.ts_51_011.EF_SMSP: Also permit UCS2 for the alpha_id

TS 51.011 Section 10.5.6 refers to clause 10.5.1 (EF.ADN),
and the latter permits UCS2 in addition to 7-bit GSM alphabet.

Change-Id: If10b3d6d8b34ece02dc0350ca9ea9c3f8fbf3c9e
The file was modifiedpySim/ts_51_011.py