Echelon i.LON SmartServer 2.0 User Manual

Page 220

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

14-20

<xSelect>

//Item[@xsi:type="LON_Device_Cfg"] [UCPTitemStatus="IS_UNCONFIGURED”]

</xSelect>

</iLonItem>
</Get>

Request (use an xSelect statement return any devices that are offline)

<Get xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<xSelect>

//Item[@xsi:type="LON_Device_Cfg"] [UCPTitemStatus="IS_APP_STOPPED”]

</xSelect>

</iLonItem>
</Get>

Request (use an xSelect statement to return all devices from a specific manufacturer using the
program ID)

<Get xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<xSelect>

//Item[@xsi:type="LON_Device_Cfg"] [UCPTprogramId="80000105288a0403"] </xSelect>

</iLonItem>
</Get>

Response

<Get xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item

xsi:type="LON_Device_Cfg">

<UCPTname>Net/LON/DIO-1</UCPTname>
<UCPTannotation>App;xsi:type="LON_Device_Cfg"</UCPTannotation>
<UCPThidden>0</UCPThidden>
<UCPTlastUpdate>2008-03-26T17:09:46.160-07:00</UCPTlastUpdate>
<UCPTuri>LON_Device_Cfg.htm</UCPTuri>
<UCPThandle>5</UCPThandle>
<UCPTuniqueId>00a145791500</UCPTuniqueId>
<UCPTprogramId>80000105288a0403</UCPTprogramId>
<UCPTgeoPosition>1</UCPTgeoPosition>
<UCPTlocationId>000000000000</UCPTlocationId>
<UCPTmaxDynamicFb>0</UCPTmaxDynamicFb>
<UCPTmaxDynamicDp>0</UCPTmaxDynamicDp>
<UCPTmaxTxTransactions>0</UCPTmaxTxTransactions>
<UCPTmaxTxLifetime>0</UCPTmaxTxLifetime>
<UCPTlocal>0</UCPTlocal>
<UCPTapplicationStatus

LonFormat="UCPTapplicationStatus">APP_RUNNING</UCPTapplicationStatus>

<UCPTcommissionStatus

LonFormat="UCPTcommissionStatus">COMMISSIONED</UCPTcommissionStatus>

<UCPTurlImage

/>

<UCPTurlTemplate>/root/lonWorks/Import/Echelon/LonPoint/Version3/dio-10v3.xif</UCPTurlTemplat
e>

<UCPTdynamic

LonFormat="UCPTdynamic">DDT_DYNAMIC</UCPTdynamic>

<Address>
<UCPTdomainIndex>0</UCPTdomainIndex>
<UCPTdomainLength>6</UCPTdomainLength>
<UCPTdomainKey>7DEF1857C766</UCPTdomainKey>
<UCPTsubnet>1</UCPTsubnet>
<UCPTnodeId>5</UCPTnodeId>
</Address>
<Address>
<UCPTdomainIndex>1</UCPTdomainIndex>
<UCPTdomainLength>0</UCPTdomainLength>
<UCPTdomainKey

/>

<UCPTsubnet>0</UCPTsubnet>
<UCPTnodeId>0</UCPTnodeId>
</Address>
<Command>
<UCPTcommand>Wink</UCPTcommand>
<UCPTlastUpdate>2008-03-26T17:09:46.160-07:00</UCPTlastUpdate>
<UCPTstatus

LonFormat="UCPTstatus">STATUS_DONE</UCPTstatus>

</Command>
</Item>

Advertising