SetIMEI: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with "This command sets module IMEI number for the specified GSM port. '''COMMAND''' {| class="wikitable" !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. Command output in the following format: "%s\n", imei '''EXAMPLES'''<syntaxhighlight lang="text"> ~# GetIMEI 1 895825000699682 # Get IMEI 0...")
Tag: 2017 source edit
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
!Returns
!Returns
|-
|-
|'''GetIMEI'''
|SetIMEI
|Port index [ORIGINAL]
|Port_index IMEI
|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.
Set the IMEI number of the specified port. To restore the original number, this number should be read using GetIMEI first.


Command output in the following format:
'''EXAMPLES'''<syntaxhighlight lang="text">
~# SetIMEI 1 895825000699682
OK


"%s\n", imei
'''EXAMPLES'''<syntaxhighlight lang="text">
~# GetIMEI 1
895825000699682


#  Get IMEI 0 ORIGINAL
895825000699682
</syntaxhighlight>
</syntaxhighlight>


[[Category:R2D2]]
[[Category:R2D2]]
[[Category:SIM]]
[[Category:SIM]]

Latest revision as of 15:39, 10 March 2026

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

COMMAND

Command Line Arguments Returns
SetIMEI Port_index IMEI GSM port IMEI

OUTPUT

Set the IMEI number of the specified port. To restore the original number, this number should be read using GetIMEI first.

EXAMPLES

~# SetIMEI 1 895825000699682
OK