19 ANNEXE B Exemple XML – Configuration
config.xml
<?xml
version="1.0"?>
<config
xmlns="http://www.webdyn.com/WRF_config_20110606"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.webdyn.com/WRF_config_20110606
<uid>07F38D</uid>
<name>WGRF_07F38D</name>
<enable_local_config>true</enable_local_config>
<com>
<modem>
<pin>
<mode>manual</mode>
<code>1234</code>
</pin>
<call_number>*99***1#</call_number>
<apn>m2minternet</apn>
<login>login</login>
<password>password</password>
<mode>ondemand</mode>
<whitelist>
<caller_id>+33123242526</caller_id>
<caller_id>+33123242527</caller_id>
</whitelist>
</modem>
<ethernet>
<use_dhcp>false</use_dhcp>
<ip>192.168.10.10</ip>
<netmask>255.255.255.0</netmask>
<gateway>192.168.10.254</gateway>
<dns>
<server>192.168.10.254</server>
<server>8.8.8.8</server>
<server>8.8.4.4</server>
</dns>
</ethernet>
<keepalive>
<method>tcp</method>
<address>12.13.14.15</address>
<port>8003</port>
<period>1800</period>
<timeout>10</timeout>
</keepalive>
<request>
<upload>true</upload>
<include_status>true</include_status>
<sms_status_recipient/>
</request>
<time>
<ntp>
<server>pool.ntp.org</server>
</ntp>
<timezone>Europe/Paris</timezone>
<alarm_threshold>300</alarm_threshold>
</time>
<ftp>
<address>12.13.14.16</address>
<login>login</login>
<password>password</password>
<mode>passive</mode>
<secured>false</secured>
<root_path>/</root_path>
<ws_notification>none</ws_notification>
WebdynRF - Manuel d'exploitation - Version 1.0
WEBDYN
WebdynRF
Manuel d'exploitation
config.xsd">
58