aboutsummaryrefslogtreecommitdiff
path: root/src/mm-error-helpers.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-21 16:31:35 +0200
committerDan Williams <dcbw@redhat.com>2018-09-12 17:17:36 +0000
commit099d54a4bcaf7d71ccda1d42424d5b73ec286911 (patch)
tree5bccced72ff142676f676b39b5cfe3bb45933a8e /src/mm-error-helpers.c
parenteb01914bd0cada5d2ed144d5f3f45fd17722e97c (diff)
helpers: allow [A-F] range in operator-specific ICCID account number
There are operators (e.g. the Chinese CMCC operator) that abuse the fact that 4 bits are used to store the BCD encoded numbers, and also use the [A-F] range as valid characters for the ICCID in the operator specific account number part. Haven't seen any documentation where this format with [A-F] characters is explicitly allowed, but I have seen multiple real cases where it happens. E.g.: 898602F9091830030220 898602C0123456789012 This patch also removes the 'last F' validation, used when reading 19-digit ICCIDs with +CRSM, as it no longer applies.
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions