diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-07-05 14:08:17 +0200 |
---|---|---|
committer | laforge <laforge@gnumonks.org> | 2019-07-09 11:25:40 +0000 |
commit | 745ed95c4c7aa5ad87c8cd9b37c315e316a0a8cb (patch) | |
tree | 12da4faea89535dd9f5a07c877e1429a4f47a65a /library | |
parent | a2a8a115e64b6d36ff430e321e61bfb506d3772c (diff) |
L3_Templates: fix IMEI length: 14 (not 15)
The right length is 14. The 15th additional checksum digit is not
intended for digital transmission.
A good overview of the IMEI/IMEISV structure is here:
https://en.wikipedia.org/wiki/International_Mobile_Equipment_Identity#Structure_of_the_IMEI_and_IMEISV_(IMEI_software_version)
Related: Iaf2569c099874b55acbd748b776394726cc5ce54 (osmo-msc)
Change-Id: I7121f29a90f19d92c7bf26f26e76f1978c648459
Diffstat (limited to 'library')
-rw-r--r-- | library/L3_Templates.ttcn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index a2fe67a0..6af020ba 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -2779,7 +2779,7 @@ private function f_concat_pad(integer tot_len, hexstring prefix, integer suffix) } function f_gen_imei(integer suffix) return hexstring { - return f_concat_pad(15, '49999'H, suffix); + return f_concat_pad(14, '49999'H, suffix); } function f_gen_imsi(integer suffix) return hexstring { |