Creates a DeviceTypePtr pointer, with the id, name, description and optional defaultConfig.
- Parameters
-
id | The unique type ID of the device. |
name | The name of the device type. |
description | A short description of the device type. |
prefix | The prefix of the connection string used when adding the device (the part before the "://" delimiter in the connection string) |
defaultConfig | The property object, to be cloned and returned, each time user creates default configuration object. This way each instance of the device has its own configuration object. |