public class SerialPortConstants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ej.bluetooth.BluetoothUuid |
RX_UUID
The UUID of the RX characteristic.
|
static ej.bluetooth.BluetoothUuid |
SERVICE_UUID
The UUID of the serial port service.
|
static ej.bluetooth.BluetoothUuid |
TX_UUID
The UUID of the TX characteristic.
|
| Modifier and Type | Method and Description |
|---|---|
static ej.bluetooth.BluetoothServiceDefinition |
getServiceDefinition(int securityLevel)
Gets the definition of the serial port service.
|
public static final ej.bluetooth.BluetoothUuid SERVICE_UUID
public static final ej.bluetooth.BluetoothUuid TX_UUID
public static final ej.bluetooth.BluetoothUuid RX_UUID
public static ej.bluetooth.BluetoothServiceDefinition getServiceDefinition(int securityLevel)
securityLevel - the security level (see SecurityLevels).