Milan / Paylink System Manual Issue 1.5 29 January 2020
CONFIDENTIAL
Not to be disclosed without prior written permission from Aardvark Embedded Solutions Ltd
Page 56 of 71
Milan / Paylink Driver Program Configuration
When initially released only a limited number of peripherals could be connected to Paylink and three
(later 4) variants of the firmware were produced, one for each peripheral set.
Since then, the number of possible configurations has grown to the point where some method is
needed to tell Milan / Paylink details about where to look for specific peripherals, and how it should
regard those peripherals when it found them.
An essential component of the Paylink system is the Driver program, and the method chosen to
specify the configuration of the system is to describe the peripheral configuration in a simple text file,
and to download that file to the Milan / Paylink unit as the system starts up.
When contact is established between Paylink and the Driver program, the unit compares the
configuration in the file specified with that stored on the Paylink. If there are any differences, the new
configuration is stored and the Paylink unit resets to use the updated configuration.
If a system design so requires it, the configuration can be stored by running the driver program during
commissioning and the not specifying a configuration to the live driver. This is not expected to be a
common situation.
Driver Parameters
When Paylink.exe / AESCDriver is run it needs to find the configuration file. The path to the
configuration file can be provided as a single parameter, if no parameter is provided then it will try to
read a file called “Standard.cfg” in the folder from which it is run.
The exact configuration of the driver program itself can be accomplished by two means, with identical
results, either by parameters in the configuration or on the command line itself
For Windows, switch parameters can be used as follows:
/S <Paylink Serial> is used in multiple Paylink installations, and specifies the serial number of the
Paylink device that this driver is to connect to.
/L <Log File Name> is the full path to the desired log file.
/Z <K Bytes> is the maximum size the log file is allowed to reach. If it reaches this size, then
it is renamed with a “.old” extension added and a new file started. If omitted,
the maximum size is 128K bytes.
/H if this is used no window or taskbar Icon is displayed.
/V if this is used a normal window is shown on the screen.
For Linux, switch parameters can be used as follows:
-s <Paylink Serial> is used in multiple Paylink installations, and specifies the serial number of the
Paylink device that this driver is to connect to.
-p Run this driver program at a high priority.
(10 less than the SCHED_RR maximum)
-v Output Paylink diagnostics to stdout. (See RUN VISIBLE)
-t (Not for general use) display internal USB link messages.