Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

Classes | Functions
PlusDevice.h File Reference

Handles requests to the PlusDevice. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | PlusDevice
| Struct representing a PlusDevice. More...

## Functions
DLLINTERNAL PlusDevice * | PlusDevice_New (Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size)
| Internal call used to create a new PlusDevice. More...

## Detailed Description

Handles requests to the PlusDevice.

PlusDevice is a specific implementation of a SensorDevice for zForce Plus(TM).

Copyright
  COPYRIGHT NOTICE: (c) 2017 Neonode Technologies AB. All rights reserved.

## Function Documentation

DLLINTERNAL PlusDevice* PlusDevice_New | ( | Connection * | connection,
|  | DeviceType | deviceType,
|  | uint32_t | deviceIndex,
|  | size_t | size
| ) |  |

Internal call used to create a new PlusDevice.

On failure, errno is set.

- EINVALIDSIZE - Invalid size.

Parameters

  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.

Returns
  A pointer to the new Device.