com.stollmann.terminalIO
Class TIO

java.lang.Object
  extended by com.stollmann.terminalIO.TIO

public class TIO
extends java.lang.Object

The TIO class is purely static and provides TerminalIO specific UUID instances and constants.


Nested Class Summary
static class TIO.OperationMode
          TerminalIO peripheral operation mode constants.
 
Field Summary
static int MAX_UART_CREDITS_COUNT
          The maximum number of UART credits according to the TerminalIO specification.
static int MAX_UART_DATA_SIZE
          The maximum number of bytes contained within the UART characteristic's value.
static java.util.UUID SERVICE_UUID
          The TerminalIO service UUID.
static java.util.UUID UART_RX_CREDITS_UUID
          The TerminalIO UART RX credits characteristic UUID.
static java.util.UUID UART_RX_UUID
          The TerminalIO UART RX characteristic UUID.
static java.util.UUID UART_TX_CREDITS_UUID
          The TerminalIO UART TX credits characteristic UUID.
static java.util.UUID UART_TX_UUID
          The TerminalIO UART TX characteristic UUID.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_UART_CREDITS_COUNT

public static final int MAX_UART_CREDITS_COUNT
The maximum number of UART credits according to the TerminalIO specification.

See Also:
Constant Field Values

MAX_UART_DATA_SIZE

public static final int MAX_UART_DATA_SIZE
The maximum number of bytes contained within the UART characteristic's value.

See Also:
Constant Field Values

SERVICE_UUID

public static final java.util.UUID SERVICE_UUID
The TerminalIO service UUID.


UART_RX_CREDITS_UUID

public static final java.util.UUID UART_RX_CREDITS_UUID
The TerminalIO UART RX credits characteristic UUID. This characteristic is used by the central to grant UART credits to the peripheral.


UART_RX_UUID

public static final java.util.UUID UART_RX_UUID
The TerminalIO UART RX characteristic UUID. This characteristic is used by the central to transmit UART data to the peripheral.


UART_TX_CREDITS_UUID

public static final java.util.UUID UART_TX_CREDITS_UUID
The TerminalIO UART TX credits characteristic UUID. This characteristic is used by the peripheral to grant UART credits to the central.


UART_TX_UUID

public static final java.util.UUID UART_TX_UUID
The TerminalIO UART TX characteristic UUID. This characteristic is used by the peripheral to transmit UART data to the central.