Neonode zForce(TM) SDK
|
Handles requests to the PlatformDevice. More...
Go to the source code of this file.
Classes | |
struct | PlatformDevice |
Struct representing a PlatformDevice. More... | |
Functions | |
DLLINTERNAL PlatformDevice * | PlatformDevice_New (Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size) |
Internal call used to create a new PlatformDevice. More... | |
Handles requests to the PlatformDevice.
PlatformDevice contains system-level requests, like getting the MCU Unique Identifier, etc.
DLLINTERNAL PlatformDevice* PlatformDevice_New | ( | Connection * | connection, |
DeviceType | deviceType, | ||
uint32_t | deviceIndex, | ||
size_t | size | ||
) |
Internal call used to create a new PlatformDevice.
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. |