Disabling xPLHal Integrated Components
xPLHal includes a number of integrated components, intended to simplify the operation of your xPL environment.
These include an xPL Hub, xpl Device Configuration Manager and an SMTP gateway.
Any computer that needs to run multiple xPL applications requires the use of an xPL Hub. The job of the Hub is to distribute incoming xPL messages to all applications running on the local computer.
To avoid the need for a stand-alone xPL Hub to be installed, xPLHal includes a built-in hub, which is enabled by default.
The operation of this hub can be controlled through use of the following statement within the xPLHal XML Configuration Document:
<control loadhub="Y" />
Setting the value of loadhub to anything other than Y will cause the built-in hub to be disabled.
Note however, that if the loadhub statement is missing from the XML document, the hub will be enabled.
Many xPL devices support automatic remote configuration. To assist in this process, xPLHal includes a built-in configuration manager.
It is recommended that you only have one configuration manager per xPL network, therefore if you are already using a configuration manager and do not wish to use the one that is integrated into xPLHal, you can disable it by adding the following statement to the
xPLHal XML configuration document:
<control disableconfig="Y" />
By default, xPLHal will act on any message of type sendmsg.smtp, transmitting it to the appropriate SMTP server.
If you wish to disable this behaviour, add the following statement to the xPLHal XML Configuration Document:
Setting the value to anything other than Y, or omitting the statement completely, will cuase the SMTP gateway to be enabled.