Modules | Macros
Defines
BLE Services » Current Time Service Client (CTS_C)

## Modules
| Current Time Adjust Reason
| Current Time Service Adjust Reason.

## Macros
#define | CTS_C_CONNECTION_MAX
#define | CTS_C_CUR_TIME_VAL_LEN 10
#define | CTS_C_LOC_TIME_INFO_VAL_LEN 2
#define | CTS_C_TIME_Y_M_D_UNKNOWN 0
#define | CTS_C_TIME_YEAR_VALID_VAL_MIN 1582
#define | CTS_C_TIME_YEAR_VALID_VAL_MAX 9999
#define | CTS_C_TIME_ZONE_OFFSET_MIN -48
#define | CTS_C_TIME_ZONE_OFFSET_MAX 56
#define | CTS_C_TIME_ACCURACY_OUT_RANGE 254
#define | CTS_C_TIME_ACCURACT_UNKNOWN 255
#define | CTS_C_ERROR_FIELDS_IGNORED 0x80

## Detailed Description

## Macro Definition Documentation

## ◆ CTS_C_CONNECTION_MAX

#define CTS_C_CONNECTION_MAX

Value:
(10 < CFG_MAX_CONNECTIONS ?\
10 : CFG_MAX_CONNECTIONS)

Maximum number of HRS Client connections.

## ◆ CTS_C_CUR_TIME_VAL_LEN

#define CTS_C_CUR_TIME_VAL_LEN 10

Length of current time value.

## ◆ CTS_C_ERROR_FIELDS_IGNORED

#define CTS_C_ERROR_FIELDS_IGNORED 0x80

The server ignored one or more fields.

## ◆ CTS_C_LOC_TIME_INFO_VAL_LEN

#define CTS_C_LOC_TIME_INFO_VAL_LEN 2

Length of local time information value.

## ◆ CTS_C_TIME_ACCURACT_UNKNOWN

#define CTS_C_TIME_ACCURACT_UNKNOWN 255

Accuracy Unknown.

## ◆ CTS_C_TIME_ACCURACY_OUT_RANGE

#define CTS_C_TIME_ACCURACY_OUT_RANGE 254

Accuracy out of range.

## ◆ CTS_C_TIME_Y_M_D_UNKNOWN

#define CTS_C_TIME_Y_M_D_UNKNOWN 0

Year or Month or Day is not known.

## ◆ CTS_C_TIME_YEAR_VALID_VAL_MAX

#define CTS_C_TIME_YEAR_VALID_VAL_MAX 9999

Maximum value of valid year.

## ◆ CTS_C_TIME_YEAR_VALID_VAL_MIN

#define CTS_C_TIME_YEAR_VALID_VAL_MIN 1582

Minimum value of valid year.

## ◆ CTS_C_TIME_ZONE_OFFSET_MAX

#define CTS_C_TIME_ZONE_OFFSET_MAX 56

Maximum Value of Offset from UTC.

## ◆ CTS_C_TIME_ZONE_OFFSET_MIN

#define CTS_C_TIME_ZONE_OFFSET_MIN -48

Minimum Value of Offset from UTC.