Classes | |
| class | Collection |
Public Member Functions | |
| String | getDevicePath () |
| int | getVID () |
| int | getPID () |
| UsbOwliftFunc.Collection | getFuncs () |
| int | getUsbVersion () |
| int | getFrimwareVersion () |
| int [] | getSerialNumber () |
| long | getConfig () |
| void | setConfig (long cfg) |
| int | commandGet (int moduleID, int cmdIDBase, int[] data, int ndata) |
| int | commandSet (int moduleID, int cmdIDBase, int[] data, int ndata) |
| int | commandRun (int moduleID, int cmdIDBase) |
| int | getTempResolution () |
| int | getRefTempRegion () |
Static Public Attributes | |
| static final int | OWLIB_CONFIG_F_ALWAYS_ON = (1 << 0) |
USB device class.
| int commandGet | ( | int | moduleID, |
| int | cmdIDBase, | ||
| int [] | data, | ||
| int | ndata | ||
| ) |
Executes the sensor's command as command type "GET", and reads registers as a result. See this document about sensor's commands.
| moduleID | The Module ID. |
| cmdIDBase | The Command ID Base. |
| data | The array that receives registers' values. The array size must be greater than or equal to 'ndata'. |
| ndata | [in] The number of the registers to read in WORDs. DATA 0 Register .. DATA 15 Register are readable. 'ndata' means the number of registers to read counting from DATA 0 Register. The byte order is host endian. |
| int commandRun | ( | int | moduleID, |
| int | cmdIDBase | ||
| ) |
Executes the sensor's command as command type "RUN". See this document about sensor's commands.
| moduleID | The Module ID. |
| cmdIDBase | The Command ID Base. |
| int commandSet | ( | int | moduleID, |
| int | cmdIDBase, | ||
| int [] | data, | ||
| int | ndata | ||
| ) |
Writes the specified value to the register, and executes the sensor's command as command type "SET". See this document about sensor's commands.
| moduleID | The Module ID. |
| cmdIDBase | The Command ID Base. |
| data | The array that stores registers' values. The array size must be greater than or equal to 'ndata'. |
| ndata | The number of the registers to write in WORDs. DATA 0 Register .. DATA 15 Register are writable. 'ndata' means the number of registers to write counting from DATA 0 Register. The byte order is host endian. |
| long getConfig | ( | ) |
Gets the device configuration.
| String getDevicePath | ( | ) |
Returns device path on OS under /dev/bus/usb.
| int getFrimwareVersion | ( | ) |
Gets the device firmware version number.
| UsbOwliftFunc.Collection getFuncs | ( | ) |
Returns a list of UsbOwliftFunc.
| int getPID | ( | ) |
Returns product ID of USB device.
| int getRefTempRegion | ( | ) |
[Type-D] Returns the width of the reference temperature region.
| int [] getSerialNumber | ( | ) |
Gets the serial number of the sensor module.
| int getTempResolution | ( | ) |
Gets tempareture resolutions.
| int getUsbVersion | ( | ) |
Returns bcdUSB(usb version) of device descriptor.
| int getVID | ( | ) |
Returns vender ID of USB device.
| void setConfig | ( | long | cfg | ) |
Sets the device configuration.
|
static |
Device Configuration: Always turn on the sensor's power while not playing (default value).
|
Copyright (C) 2016 Infinitegra, INC. All Rights Reserved. |
Generated by
|