The user-implemented device will be imported into the program at runtime as a plugin.
It should contain two part: device constructor
and device
.
Devices constructor instances must implement the DeviceFactory interface. Devices instances must implement the Client interface.
Look at the examples provided for the Thingsboard and Hawkbit platforms on how to implement all the required elements: