Change in ...osmo-ttcn3-hacks[master]: L3_Templates: fix IMEI length: 14 (not 15)

osmith gerrit-no-reply at lists.osmocom.org
Mon Jul 8 12:27:15 UTC 2019


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14693


Change subject: L3_Templates: fix IMEI length: 14 (not 15)
......................................................................

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
---
M library/L3_Templates.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/93/14693/1

diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index a2fe67a..6af020b 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -2779,7 +2779,7 @@
 }
 
 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 {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14693
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I7121f29a90f19d92c7bf26f26e76f1978c648459
Gerrit-Change-Number: 14693
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190708/ff3132b4/attachment.html>


More information about the gerrit-log mailing list