Package ej.bluetooth.util.services.cts
Class CurrentTimeConstants
- java.lang.Object
-
- ej.bluetooth.util.services.cts.CurrentTimeConstants
-
public class CurrentTimeConstants extends Object
Provides constants and static methods related to the standard current time service.
-
-
Field Summary
Fields Modifier and Type Field Description static BluetoothUuidCURRENT_TIME_UUIDThe UUID of the current time characteristic.static BluetoothUuidLOCAL_TIME_INFO_UUIDThe UUID of the local time info characteristic.static BluetoothUuidSERVICE_UUIDThe UUID of the current time service.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BluetoothServiceDefinitiongetServiceDefinition(int securityLevel)Gets the definition of the current time service.
-
-
-
Field Detail
-
SERVICE_UUID
public static final BluetoothUuid SERVICE_UUID
The UUID of the current time service.
-
CURRENT_TIME_UUID
public static final BluetoothUuid CURRENT_TIME_UUID
The UUID of the current time characteristic.
-
LOCAL_TIME_INFO_UUID
public static final BluetoothUuid LOCAL_TIME_INFO_UUID
The UUID of the local time info characteristic.
-
-
Method Detail
-
getServiceDefinition
public static 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.
-
-