Index

Package | Class | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

B C D F G M R S T

## B

BAUD_115200 - Static variable in class ThinkGear
BAUD_1200 - Static variable in class ThinkGear
  Baud rate for use with Connect() and SetBaudrate().
BAUD_2400 - Static variable in class ThinkGear
BAUD_4800 - Static variable in class ThinkGear
BAUD_57600 - Static variable in class ThinkGear
BAUD_9600 - Static variable in class ThinkGear

## C

Connect(int, String, int, int) - Static method in class ThinkGear
  Connects a ThinkGear Connection, given by `connectionId`, to a serial communication (COM) port in order to communicate with a ThinkGear module.

## D

DATA_ALPHA1 - Static variable in class ThinkGear
DATA_ALPHA2 - Static variable in class ThinkGear
DATA_ATTENTION - Static variable in class ThinkGear
DATA_BATTERY - Static variable in class ThinkGear
  Data type that can be requested from GetValue().
DATA_BETA1 - Static variable in class ThinkGear
DATA_BETA2 - Static variable in class ThinkGear
DATA_DELTA - Static variable in class ThinkGear
DATA_GAMMA1 - Static variable in class ThinkGear
DATA_GAMMA2 - Static variable in class ThinkGear
DATA_MEDITATION - Static variable in class ThinkGear
DATA_POOR_SIGNAL - Static variable in class ThinkGear
DATA_RAW - Static variable in class ThinkGear
DATA_THETA - Static variable in class ThinkGear
Disconnect(int) - Static method in class ThinkGear
  Disconnects the ThinkGear Connection, given by `connectionId`, from its serial communication (COM) port.

## F

FreeConnection(int) - Static method in class ThinkGear
  Frees all memory associated with the given ThinkGear Connection.

## G

GetDriverVersion() - Static method in class ThinkGear
  Returns a number indicating the version of the ThinkGear Communications Driver (TGCD) library accessed by this API.
GetNewConnectionId() - Static method in class ThinkGear
  Returns an ID handle (an int) to a newly-allocated ThinkGear Connection object.
GetValue(int, int) - Static method in class ThinkGear
  Returns the most recently read value of the given `dataType`, which is one of the DATA_* constants defined above.
GetValueStatus(int, int) - Static method in class ThinkGear
  Returns Non-zero if the `dataType` was updated by the most recent call to GetValue().

## M

MAX_CONNECTION_HANDLES - Static variable in class ThinkGear
  Maximum number of Connections that can be requested before being required to free one.

## R

ReadPackets(int, int) - Static method in class ThinkGear
  Attempts to use the ThinkGear Connection, given by `connectionId`, to read `numPackets` of data from the serial stream.

## S

SendByte(int, int) - Static method in class ThinkGear
  Sends a byte through the ThinkGear Connection (presumably to a ThinkGear module).
SetBaudrate(int, int) - Static method in class ThinkGear
  Attempts to change the baud rate of the ThinkGear Connection, given by `connectionId`, to `serialBaudrate`.
SetDataFormat(int, int) - Static method in class ThinkGear
  Attempts to change the data Packet parsing format used by the ThinkGear Connection, given by `connectionId`, to `serialDataFormat`.
SetDataLog(int, String) - Static method in class ThinkGear
  As a ThinkGear Connection reads and parses Packets of data from its serial stream, it may log the parsed data into a log file.
SetStreamLog(int, String) - Static method in class ThinkGear
  As a ThinkGear Connection reads bytes from its serial stream, it may automatically log those bytes into a log file.
STREAM_5VRAW - Static variable in class ThinkGear
STREAM_FILE_PACKETS - Static variable in class ThinkGear
STREAM_PACKETS - Static variable in class ThinkGear
  Data format for use with Connect() and SetDataFormat().

## T

ThinkGear - Class in <Unnamed>

B C D F G M R S T

Package | Class | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES