From IQsimWiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
XIQS Set Device Area Code - GSM Device Management
Description
|
setXIQSDeviceAreaCode ( Long id_device , string areacode )
Set area code of a GSM Device owned by this partition. No partition restriction is applied for administrator.
|
Parameters
|
Long id_device
GSM Device ID
String areacode
The area code to set for this device
|
See Also
|
getXIQSDeviceList |}
Example
|
[REQUEST]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<command tid="12345" name="setXIQSDeviceAreaCode">
<param type="long">2</param>
<param type="string">51</param>
</command>
[ANSWER (OK)]
<?xml version="1.0" encoding="ISO-8859-1"?>
<event type="return" tid="12345">
<meta-data>
<meta-value>
<name>ret_code</name>
<pos>1</pos>
</meta-value>
</meta-data>
<param type="long">1</param>
</event>
[ANSWER (Error)]
<?xml version="1.0" encoding="ISO-8859-1"?>
<event type="error">
<meta-data>
<meta-value>
<name>err_code</name>
<pos>1</pos>
</meta-value>
<meta-value>
<name>err_desc</name>
<pos>2</pos>
</meta-value>
</meta-data>
<param type="integer">500</param>
<param type="string"> err.db.connection.failed</param>
</event>
|
|