<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12666">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gsm_23_003.h: add GSM23003_IMEI_NUM_NO_CHK_DIGITS<br><br>Add new define for the 14 digit IMEI without the Luhn checksum, as it<br>is used in OsmoHLR.<br><br>Change-Id: I02b54cf01a674a1911c5c897fbec02240f88b521<br>---<br>M include/osmocom/gsm/protocol/gsm_23_003.h<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/66/12666/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/gsm/protocol/gsm_23_003.h b/include/osmocom/gsm/protocol/gsm_23_003.h</span><br><span>index ee697ff..65ac328 100644</span><br><span>--- a/include/osmocom/gsm/protocol/gsm_23_003.h</span><br><span>+++ b/include/osmocom/gsm/protocol/gsm_23_003.h</span><br><span>@@ -24,6 +24,9 @@</span><br><span>                                       GSM23003_IMEI_SNR_NUM_DIGITS + 1)</span><br><span> #define GSM23003_IMEISV_NUM_DIGITS        (GSM23003_IMEI_TAC_NUM_DIGITS + \</span><br><span>                                     GSM23003_IMEI_SNR_NUM_DIGITS + 2)</span><br><span style="color: hsl(120, 100%, 40%);">+/* IMEI without Luhn checksum */</span><br><span style="color: hsl(120, 100%, 40%);">+#define GSM23003_IMEI_NUM_NO_CHK_DIGITS   (GSM23003_IMEI_TAC_NUM_DIGITS + \</span><br><span style="color: hsl(120, 100%, 40%);">+                                      GSM23003_IMEI_SNR_NUM_DIGITS)</span><br><span> </span><br><span> /* Chapter 19.2 "epc.mnc000.mcc000.3gppnetwork.org" */</span><br><span> #define GSM23003_HOME_NETWORK_DOMAIN_LEN      33</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12666">change 12666</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12666"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I02b54cf01a674a1911c5c897fbec02240f88b521 </div>
<div style="display:none"> Gerrit-Change-Number: 12666 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>