ModuleDriver Class |
Namespace: Nexpaq
public class ModuleDriver
The ModuleDriver type exposes the following members.
| Name | Description | |
|---|---|---|
| Commands |
Gets the commands module driver supports.
| |
| DataItems |
Gets all rules of the driver.
|
| Name | Description | |
|---|---|---|
| Type |
The type of module driver in reverse domain notaion.
| |
| Version |
The version of module driver.
|
{
"type": "string type of your module", // example: moduware.module.led
"version": "version of your module driver", // example: 1.1.1
"commands": [ // Commands we can send to module, an object of ModuleDriverCommand
...,
...
],
"data": [ // Data that comes from module, an object of ModuleDriverDataItem class
...,
...
]
}