Development of .NET DeviceHandler

Introduction

If we would like to develop a Device Handler the first step is to understand the device control as a concept then develop a serial port protocoll. A sample for this protocoll can be found here:

Ozeki Button Controller

Testing

For the testing, the 'Virtual port' which is in the hardware tester can be used. With this implementation events can be sent in the same way for the .NET implementation and the answers given to them can be examined as if a physical device is connected to the serial port.

So, with the Virtual port through the GUI data can be sent to the .NET implementation like it was sent from a serial port. The virtual port displays the answers of the .NET implementation.

The following figures present how the virtual port can be used:

opening virtual port
Figure 1 - Opening of the virtual port

sending welcome event
Figure 2 - Sending a welcome event

the ozeki button controller is seen after the sending of the welcome event
Figure 3 - The Ozeki Button controller is seen after the sending of the welcome event

More information