GetIMEI: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
|- | |- | ||
|'''GetIMEI''' | |'''GetIMEI''' | ||
| | |Port_index [ORIGINAL] | ||
|GSM port IMEI | |GSM port IMEI | ||
|} | |} | ||
| Line 14: | Line 14: | ||
If ORIGINAL is specified then the original IMEI of the modem is returned. Otherwise, the last programmed IMEI is returned. | 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 23: | Line 25: | ||
895825000699682 | 895825000699682 | ||
# | # GetIMEI 0 ORIGINAL | ||
895825000699682 | 895825000699682 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
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