Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can create a custom driver for the SmartServer to provide support for additional protocols not built into the standard SmartServer software.  To develop a custom driver you implement your driver-specific code in C or C++ using the GNU C++ compiler (g++) and link your driver with the IAP Driver Library (IDL) that is included with the SmartServer. See the following sections for a description of the IDL API that you will use to create your custom driver:

...

This section contains working code samples that provide an overview of the basic software architecture of an IDL driver and include example implementations of several of the common driver functions.  Additional documentation and a complete set of source file for the example driver are in the following GitHub repository:

Comments in the source code samples illustrate areas where you can add protocol-specific code can be included, and the example itself outputs information to the console when the callback functions are triggered to help you understand document the parameters passed between the IAP Driver Library (IDL) and a the custom driver implementation (IDI).  The complete set of files for this example driver is available in the SmartServer GitHub repository.

This section consists of the following:

...