After unpacking and installing the framework, and modifying literals.js, to run the Driver Framework as supplied on the SmartServer IoT, perform the following steps:
node index.js -v 4
You will need to create a suitable DTD file in CSV format to allow you to create a "logical device" in the CMS with the contents shown below (without any indents). You can do this using Notepad.exe:
#filetype,dtd,,,,,, Device Type,Protocol,Program ID,Default App,Default Sys,Auto App Load,Auto Sys Load,Graphics File Driver Framework Test Device,IAP,900014420040DC00,,,FALSE,FALSE,,
The following screen capture shows the console output after starting the application using verbose mode, and provisioning a device after it has been created in the CMS:
After the device is created and provisioned, you can test it from the Device widget (see Testing Devices).
Once you have finished creating your custom driver, you can configure the supervisor to start it automatically.
See Configuring the Supervisor for more information.