A device plugin is an OSGI bundle that gets wired with the WSO2 Connected Device Management Framework (CDMF). Device requires a specific device plugin.
A specific device plugin is required due to the following reasons:
- Enables its the device manufacturer or the device type creators to have control over the device.
- A device can have its own unique set of attributes. Therefore it is necessary to maintain a separate data store to keep track of the data. This can be achieved by maintaining a separate data store for each device in the plugin layer.
Let's take a look at how we can generate the device plugin:
Step 1: Writing the device feature
Step 2: Configure the plugin
- Want to create a device plugin in one go? You can now create your own device plugin using the device management console or APIs. For more information, see Creating a New Device Type.
- Does your device have common functionalities similar to our sample device types? If yes, see Writing Device Plugins via the Template.
- Does your device require special functions and need to be customized to meet a given requirement? See Writing Device Plugins via Java Code.