CT-Router LAN
57
Inquiry and control via XML files
Format of the XML files
Each file starts with the header:
<?xml version="1.0"?>
oder
<?xml version="1.0" encoding="UTF-8"?>
Followed by the base entry.
The following basic entries are available:
<io>
</io>
#
I/O system
<info>
</info>
#
Query General Information
<cmgr ...>
</cmgr>
# send
SMS (mobile phones only)
<email ...>
</email>
# send email
All data are encoded in UTF-8.
The following characters must be transmitted as sequences:
& - &
< - <
> - >
" - "
' - '
Examples of the basic entries:
a) I/O system
<?xml version="1.0"?>
<io>
<output no="1"/>
# State of output 1 query
<output no="2" value="on"/>
# switch on output 2
<input no="1"/>
# State of input 1 query
</io>
Note: As a "value" can be used both on / off and 0/1 are given. Is always returned on or off
The system returns something like this:
<?xml version="1.0" encoding="UTF-8"?>
<result>
<io>
<output no="1" value="off"/>
# State of output 1;
<output no="2" value="on"/>
# State of output 2;
<input no="1" value="off"/>
# State of input 1;
</io>
</result>
Note, outputs which should be remote controlled "remote controlled" must be configured
Содержание CT-Router LAN
Страница 1: ...CT Router LAN user manual...