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