Sierra Wireless MC8775 Reference Manual page 43

3g wwan modem minipci express mc87 series extended at command reference
Hide thumbs Also See for MC8775:
Table of Contents

Advertisement

Table 3-2: Modem status, customization, and reset commands (Continued)
Command
!NVENCRYPTIMEI=
<PI>,<P2>,<P3>,<P4>,
<P5>,<P6>,<P7>,<P8>
Supporting Mini Cards:
All
Rev 2.9 Oct.08
Modem Status, Customization, and Reset Commands
Write unencrypted IMEI to modem
This command writes an unencrypted IMEI to a modem if the modem
does not already have an IMEI—it can only be used once per modem.
The IMEI is a fifteen digit string formed by concatenating the following
elements:
TAC code (8 digits)
SN (Serial number) (6 digits)
CheckDigit (1 digit calculated from TAC code and SN)
The CheckDigit is calculated as follows:
1.
Label the fourteen digits in the TAC and SN as:
TAC: D14..D7
SN:
D6..D1
For example:
TAC = 12345678 ('1' is D14, '8' is D7)
SN = 901234 ('9' is D6, '4' is D1)
2.
Double the value of each odd-labelled digit (D13, D11, ..., D1).
3.
Add the values of each individual digit from the result of Step 2.
4.
Add the even-labelled digits (D14, D12, ..., D2) to the result of Step 3.
5.
Check the last digit of the result of Step 4. If it is '0', the CheckDigit is
0; if it is not '0', subtract it from 10 to get the CheckDigit.
For example:
TAC (12345678)
Step 1: Label the digits of the TAC and SN.
D14 D13 D12 D11 D10
1
2
3
4
5
Step 2: Double the odd-labelled values:
D14 D13 D12 D11 D10
1
4
3
8
5 12
Step 3: Add each digit of the odd-labelled values:
4 + 8 + (1 + 2) + (1 + 6) + 0 + 4 + 8 = 34
Step 4: Add each digit of the even-labelled values to the Step 3 total:
1 + 3 + 5 + 7 + 9 + 1 + 3 +34 = 63
Step 5: Check last digit of Step 4 total.
CheckDigit = 10 - 3 = 7
Result:IMEI = TAC:SN:CheckDigit
= 123456789012347
Parameters:
<P1> to <P8> – eight segments of the IMEI
<P1> = IMEI[0..1]; <P2> = IMEI[2..3]; ...; <P8> = IMEI[14..15]
<P1> to <P4> represents the TAC
<P5> to <P7> represents the SNR
<P8> represents the CheckDigit plus a padding digit ('0')
Example:
Using the example IMEI shown above:
AT!NVENCRYPTIMEI=12,34,56,78,90,12,34,70
Description
SN (901234)
D9
D8
D7
D6
D5
D4
6
7
8
9
0
1
D9
D8
D7
D6
D5
D4
7 16
9
0
1
D3
D2
D1
2
3
4
D3
D2
D1
4
3
8
43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents