DeviceHandlers

System overview

On the microcontroller program modules are running, which operate different kind of devices.
Every device has its own independent identification (Device ID).
The program modul which controls the device is communicating through a serial port with the program
which is developed in .NET. The program developed in .NET is running on the PC.

As multiple devices can be found on a microcontoller, but typically, only one serial port is used for
the communication with .NET, then we have to include in all the messages within the communication
which device is concerned. This is what we use for Device ID.

Figure 1 - Main concept

Basic concepts

Event

A message which is sent by the microcontroller for .NET

Command

A message which is sent by .NET for the microcontroller

Command_resp

An event which is sent by the micrcontroller for .NET.
This is where it is ensured that the order is processed and the next order can follow