Package ej.bluetooth.util.services.cts
Class CurrentTimeConstants
- java.lang.Object
-
- ej.bluetooth.util.services.cts.CurrentTimeConstants
-
public class CurrentTimeConstants extends java.lang.ObjectProvides constants and static methods related to the standard current time service.
-
-
Field Summary
Fields Modifier and Type Field Description static ej.bluetooth.BluetoothUuidCURRENT_TIME_UUIDThe UUID of the current time characteristic.static ej.bluetooth.BluetoothUuidLOCAL_TIME_INFO_UUIDThe UUID of the local time info characteristic.static ej.bluetooth.BluetoothUuidSERVICE_UUIDThe UUID of the current time service.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ej.bluetooth.BluetoothServiceDefinitiongetServiceDefinition(int securityLevel)Gets the definition of the current time service.
-
-
-
Field Detail
-
SERVICE_UUID
public static final ej.bluetooth.BluetoothUuid SERVICE_UUID
The UUID of the current time service.
-
CURRENT_TIME_UUID
public static final ej.bluetooth.BluetoothUuid CURRENT_TIME_UUID
The UUID of the current time characteristic.
-
LOCAL_TIME_INFO_UUID
public static final ej.bluetooth.BluetoothUuid LOCAL_TIME_INFO_UUID
The UUID of the local time info characteristic.
-
-
Method Detail
-
getServiceDefinition
public static ej.bluetooth.BluetoothServiceDefinition getServiceDefinition(int securityLevel)
Gets the definition of the current time service.- Parameters:
securityLevel- the security level (seeSecurityLevels).- Returns:
- the definition of the current time service.
-
-