GetIMEI: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with "This command gets module IMEI number for the specified GSM port. '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |'''GetIMEI''' |Port index |GSM port IMEI |} '''OUTPUT''' Command output in the following format: "%s\n", imei '''EXAMPLE'''<syntaxhighlight lang="text"> ~# GetIMEI 1 895825000699682 </syntaxhighlight>")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
|-
|-
|'''GetIMEI'''
|'''GetIMEI'''
|Port index
|Port_index [ORIGINAL]
|GSM port IMEI
|GSM port IMEI
|}
|}
'''OUTPUT'''
'''OUTPUT'''
If ORIGINAL is specified then the original IMEI of the modem is returned. Otherwise, the last programmed IMEI is returned.
Note that the original IMEI numbers are store in the following files : /etc/slidn with n beeing the port index number. The file can be empty or not present as long as the IMEI has not been modified on the module.


Command output in the following format:
Command output in the following format:
Line 17: Line 21:
"%s\n", imei
"%s\n", imei


'''EXAMPLE'''<syntaxhighlight lang="text">
'''EXAMPLES'''<syntaxhighlight lang="text">
~# GetIMEI 1
~# GetIMEI 1
895825000699682
#  GetIMEI 0 ORIGINAL
895825000699682
895825000699682
</syntaxhighlight>
</syntaxhighlight>
[[Category:R2D2]]
[[Category:SIM]]

Latest revision as of 15:36, 10 March 2026

This command gets module IMEI number for the specified GSM port.

COMMAND

Command Line Arguments Returns
GetIMEI Port_index [ORIGINAL] GSM port IMEI

OUTPUT

If ORIGINAL is specified then the original IMEI of the modem is returned. Otherwise, the last programmed IMEI is returned.

Note that the original IMEI numbers are store in the following files : /etc/slidn with n beeing the port index number. The file can be empty or not present as long as the IMEI has not been modified on the module.

Command output in the following format:

"%s\n", imei

EXAMPLES

~# GetIMEI 1
895825000699682

#  GetIMEI 0 ORIGINAL
895825000699682