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
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.
Sets the IMEI number of the specified port. To restore the original number, this number should be read using GetIMEI firstr.


Command output in the following format:
Command output in the following format:
Line 20: Line 20:


'''EXAMPLES'''<syntaxhighlight lang="text">
'''EXAMPLES'''<syntaxhighlight lang="text">
~# GetIMEI 1
~# SetIMEI 1 895825000699682
895825000699682
 
 


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


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

Revision as of 15:27, 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

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

Command output in the following format:

"%s\n", imei

EXAMPLES

~# SetIMEI 1 895825000699682