| Root Directory |
Root directory for HTTP/XML Server. The HTTP Server is
disabled if this is not a valid directory, |
| Port |
TCP/IP port for HTTP/XML Server |
| Read Password |
Password for read access. The read request will be rejected
if the passWord is not the same as this password. |
| Write Password |
Password for write access. The write request will be
rejected if the passWord is not the same as this password. |
| Dead band |
Default Deadband in percent. This deadBand value will be
used if the addGroup request does not specify the deadBand. |
| Update Rate |
Default update rate in milliseconds. This update rate will
be used if the addGroup request does not specify the updateRate. |
| Log to file |
Log to ios.log |
| Read Only |
Read only access. All write requests will be
rejected if
this option is checked. |
| Request |
Response |
Action |
<addGroup>
<upDateRate>upDateRate</UpDateRate>
<deadBand>deadBand</deadBand>
<item>
<ItemID>Master.40001</ItemID>
<active>1</active>
</item>
</addGroup> |
<addGroup>
<handle>groupHandle</handle>
<item>
<itemHandle>itemHandle</itemHandle>
<status>x</status>
</item>
</addGroup> |
Create a group with the specified updateRate,
deadband and list of item. active should be set to 0 for items that are
write-only. The groupHandle and a list of item is returned. The returned
itemHandle is used in subsequent read and write requests. The return
status should be zero if the item is added successfully. |
<removeGroup>
<handle>groupHandle</handle>
</removeGroup> |
<removeGroup>
<handle>groupHandle</handle>
</removeGroup> |
Remove the group identified by groupHandle. |
<read>
<passWord>readpassword</passWord>
<handle>groupHandle</handle>
</read> |
<read>
<handle>groupHandle</handle>
<item>
<itemHandle>itemHandle</itemHandle>
<value>value</value>
<quality>quality</quality>
<time>utctime</time>
</item>
</read> |
Issue a read request for groupHandle. The
passWord is not required if no read password is configured at the server.
The server will returned all items that have changed. If no item is
changed then an empty item list is returned. |
<write>
<passWord>writepassword</passWord>
<handle>groupHandle</handle>
<writeItem>
<itemHandle>itemHandle</itemHandle>
<data>data</data>
</writeItem>
</write> |
<write>
<handle>groupHandle</handle>
<writeItem>
<itemHandle>itemHandle</itemHandle>
<status>x</status>
</writeItem>
</write> |
Write to groupHandle the list of writeItem.
The writepassword is not required if no write password is configured at
the server. itemHandle identify which item to write to with the data. The
return status should be zero if the item is written to successfully. |
The user should be proficient in Javascript, XML, DHTML and VML to
make use of the XML Server.