General VSPDL Configuration

Top  Previous  Next

 

General configuration options define the configuration of the VSPDL as a whole. The format for the VSPDL configuration header is as follows (purple marks default values that will be used if corresponding parameter is omitted):

 

<!-- **** VIRTUAL SERIAL PORT DRIVER FOR LINUX (VSPDL) CONFIGURATION FILE **** -->

<vspdconfig>

 

<!-- ==================== GENERAL CONFIGURATION ==================== -->

 

   <!-- Root directory for the daemon -->

   <root dir="directory"/>

 

   <!-- Path and prefix for device files -->

   <devprefix value="value"/>

 

   <!-- Host to bind by default -->

   <bind host="IP_address"/>

 

   <!-- Timeout for basic I/O operations -->

   <timeout [exec="exec(100)"] [priority="priority(10)"]/>

 

   <!-- VSPdaemon event logging configuration -->

   [<log type="syslog|pipe|file" level="EMR|ALR|CRT|ERR|WRN|NTC|INF|DBG" path="path"/>]

   ...

   ...

   [<log type="syslog|pipe|file" level="EMR|ALR|CRT|ERR|WRN|NTC|INF|DBG" path="path"/>]

 

<!-- ======= CONFIGURATION OF INDIVIDUAL VIRTUAL SERIAL PORTS (VSPs) ======= -->

 

 

</vspdconfig>

<!-- **** END OF VIRTUAL SERIAL PORT DRIVER FOR LINUX (VSPDL) CONFIGURATION FILE **** -->