37
GATEWAY SPECIFICATION - WebdynPulse
WebdynPulse – Gateway specification - Version 2.0
8.2 Upgrading remotely via the FTP server
Proceed as follows for remote upgrading:
1.
Upload the new firmware supplied by Webdyn onto the FTP server.
2.
Modify the following variables in the configuration file
prefixID
_config.ini for the gateway to
be updated:
•
BIN_FileName= name of the new firmware (supplied by Webdyn).
•
BIN_Checksum= checksum of the new firmware (supplied by Webdyn).
•
FTP_DirBin= name of the directory containing the new firmware.
The gateway will download its new configuration file, then its new firmware, when it next connects
to the FTP server.
9 Using Web Services
The WebdynPulse can access the Web Services of an HTTP server in order to retrieve information or
to inform the front-end application that an action has been performed on the FTP server, such as
upload or download of files. These calls are optional.
9.1 Enabling and configuring
The use of Web Services can be enabled via the variables “WebService_Enable” and
“WebService_Url” in the configuration file
prefixID
_config.ini.
Variable
Definition
Default value
WebService_Enable
Enable/Disable Web Services:
0=Disabled
1=Enabled
0
WebService_Url
http address of the Web Service
(up to 29 characters)
9.2 Format of HTTP requests
There are two types of Web Services:
•
initialisation.php => called to obtain a site number, the site ID.
•
confirmation.php => called to give notification that an action has been performed on the FTP
server.
The POST method is used for requests to the HTTP server.
The format of requests for Web Services complies with the following syntax:
URL of HTTP server
/
name of Web Service
POST data: parameters of the Web Service in the format:
parameter1¶meter2... parameterN.