SetSimLocation
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