11
GATEWAY SPECIFICATION - WebdynPulse
WebdynPulse – Gateway specification - Version 2.0
5.1 Access to the FTP server
For the configuration of the remote FTP server, it is essential to respect the following configuration:
•
Read/Write/Rename access authorized;
•
Passive mode enabled;
•
Port 21 (by default);
•
Short handshake message;
•
Login and Password must be less than 30 characters.
As the WebdynPulse gateway does not create any directories, the FTP server must provide the
directories and subdirectories for configuration, definition, data, alarms, commands, logs and
updates. Here is a list of the default directories expected:
•
/CONFIG:
Contains the configuration files for the gateway.
•
/
DEF:
Contains the definition files for the modules and sensors to be controlled:
o
/IO
: Definition files for analogue and digital input/output, and index entries;
•
/BIN:
contains the binary files of the gateway for update purposes.
•
/DATA
: Directory for upload of data files. This directory contains four subdirectories:
o
/IO
: Analogue and digital input/output data, and index entries;
•
/ALARM:
Contains the alarm files
.
•
/CMD
: Contains the command and acknowledgement files.
•
/LOG
: Contains the gateway system log (
IDSite
_
DATE.log
) and the debug trace log (disabled
by default, and used only by Webdyn in support mode)
IDSite
_
DATE_debug.log
.
It is possible to modify part of the directory tree of the FTP server by modifying the root directories
(“/CONFIG”, “/DEF”, “/DATA”, “/BIN”, “/ALARM”, “/CMD” and “/LOG”) in the configuration of the
WebdynPulse gateway.
5.2 Access to the NTP server
To set its date and time correctly, the WebdynPulse synchronizes itself with an NTP server before
each connection to the FTP server. By default, the gateway is configured to synchronize itself with
the NTP server “pool.ntp.org”. As this NTP server is accessible via the Internet, the gateways must
have valid Internet access (the UDP port 123 must be open for outgoing traffic) for synchronization
to occur.
5.3 Connation via GPRS or Ethernet
Access to the FTP and NTP servers may be via an Ethernet connection or a GPRS connection.