XIQS Create Active Device
From IQsimWiki
Latest revision as of 08:52, 21 March 2017
XIQS Create Active Device - GSM Device Management
Description |
---|
createXIQSActiveDevice ( [Long id_partition] , String serial_number , Integer initial_status [, String register_name [, String name ] ] )
Create a new GSM Active Device. |
Parameters |
---|
Long id_partition Partition id - mandatory if user is administrator String serial_number Device serial number Integer initial_status Device initial status (Validated/Not validated (dev_status=3 for not validated, dev_status=0 for validated)) [ String register_name ] GSM device registration name [ String name ] GSM device name.
If optional parameters are omitted, device will be created without these parameters. If name parameter exist then it will be set as GSM device name. If register_name exist, then device will be created with this registration name and GSM device name will be string created as concatenated register_name + serial_number.
|
Return Values |
---|
Long id_deviceDevice Id Error Data structure ( Error Management ) Possible failure code returns |
Example |
---|
[REQUEST 1] will create new device with serial number 12345678, on partition 2, with initial status 3 (not validated), with registration name RegisterName and with name DeviceName
will create new device with serial number 12-34-56, on partition 2, with initial status 3 (not validated), with registration name TestDevice and with name TestDevice12-34-56
will create new device with serial number 12-32, on partition 2, with initial status 3 (not validated), without registration name and name |