Neonode zForce(TM) SDK
|
Handles requests to the LightingDevice. More...
Go to the source code of this file.
Classes | |
struct | LightingDevice |
Struct representing a LightingDevice. More... | |
Functions | |
DLLINTERNAL LightingDevice * | LightingDevice_New (Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size) |
Internal call used to create a LightingDevice. More... | |
Handles requests to the LightingDevice.
LightingDevice contains system-level requests, like getting the MCU Unique Identifier, etc.
DLLINTERNAL LightingDevice* LightingDevice_New | ( | Connection * | connection, |
DeviceType | deviceType, | ||
uint32_t | deviceIndex, | ||
size_t | size | ||
) |
Internal call used to create a LightingDevice.
On failure, errno is set.
connection | The Connection the Device is associated with. |
deviceType | Which DeviceType to create. |
deviceIndex | Which Device Index to set. |
size | If this is used as a base class for another class, set size to non-zero. |