Help:Contents

From IQsimWiki

(Difference between revisions)
Jump to: navigation, search
Administrator (Talk | contribs)
(Created page with "'''XIQS Set Device Area Code - GSM Device Management''' {| class="wikitable collapsible" style="width: 100%;background-color:#EFEEFE;" border="1" ! Description |- | '''set...")

Latest revision as of 10:57, 16 December 2011

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 
Return Values
OK

Area code set

Error Data structure ( Error Management )

Possible failure code returns
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
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>

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List