Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

Classes | Macros | Functions
AirDevice.h File Reference

Handles requests to the AirDevice. More...

`#include <SensorDevice.h>`
Include dependency graph for AirDevice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | AirDevice
| Struct representing an AirDevice. More...

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

## Detailed Description

Handles requests to the AirDevice.

AirDevice is a specific implementation of a SensorDevice for zForce Air(TM).

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

## Function Documentation

DLLINTERNAL AirDevice* AirDevice_New | ( | Connection * | connection,
|  | DeviceType | deviceType,
|  | uint32_t | deviceIndex,
|  | size_t | size
| ) |  |

Internal call used to create a new AirDevice.

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.