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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Jul 9 11:25:40 UTC 2019


laforge has submitted this change and it was merged. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



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: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190709/1f508bcf/attachment.htm>


More information about the gerrit-log mailing list