SetSimLocation: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with "This command allocates a remote SIM card to a specified GSM port. Depending on the allocation mode, ICCID, IMSI or Remote SIM IP address,location and sublocationshould be specified. Available Modes are SIM_ICCID, SIM_LOCATION, SIM_EMUL or SIM_UNALLOCATE. Mode SIM_EMUL is used when 2G Full Simulation is configured for specified GSM port; in this case emulated ICCID and IMSI are specified. '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |'...")
 
No edit summary
 
Line 1: Line 1:
This command allocates a remote SIM card to a specified GSM port.  
This command allocates a remote SIM card from a supported SIM Storage Unit (SIM Rack or SSU) to a specified GSM port.  


Depending on the allocation mode, ICCID, IMSI or Remote SIM IP address,location and sublocationshould be specified.  
Depending on the allocation mode, ICCID, IMSI or Remote SIM IP address,location and sublocationshould be specified.  
Line 6: Line 6:


Mode SIM_EMUL is used when 2G Full Simulation is configured for specified GSM port; in this case emulated ICCID and IMSI are specified.
Mode SIM_EMUL is used when 2G Full Simulation is configured for specified GSM port; in this case emulated ICCID and IMSI are specified.


'''COMMAND'''
'''COMMAND'''

Latest revision as of 09:02, 6 April 2025

This command allocates a remote SIM card from a supported SIM Storage Unit (SIM Rack or SSU) to a specified GSM port.

Depending on the allocation mode, ICCID, IMSI or Remote SIM IP address,location and sublocationshould be specified.

Available Modes are SIM_ICCID, SIM_LOCATION, SIM_EMUL or SIM_UNALLOCATE.

Mode SIM_EMUL is used when 2G Full Simulation is configured for specified GSM port; in this case emulated ICCID and IMSI are specified.

COMMAND

Command Line Arguments Returns
SetSimLocation [SimRackIPAddr, SimRackBoard, SimRackSlot] | [ICCID, IMSI] Error Code in case of error.

OUTPUT

Command status in the following format:

"%s\n", command_status

EXAMPLE

~# SetSimLocation 0 SIM_ICCID 8938536985248287454
SIM ALLOCATED
~# SetSimLocation 0 SIM_LOCATION 10.2.5.58 1 2
SIM NOT FOUND
~# SetSimLocation 0 SIM_EMUL 893853698524821234 253687545454541 
SIM ALLOCATED
~# SetSimLocation 0 SIM_UNALLOCATE
SIM UNALLOCATED