GetIMEI

From Opale Wiki
Revision as of 15:36, 10 March 2026 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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