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
| Maximum number of HRS Client connections. More...
#define | CTS_C_CUR_TIME_VAL_LEN 10
| Length of current time value. More...
#define | CTS_C_LOC_TIME_INFO_VAL_LEN 2
| Length of local time information value. More...
#define | CTS_C_TIME_Y_M_D_UNKNOWN 0
| Year or Month or Day is not known. More...
#define | CTS_C_TIME_YEAR_VALID_VAL_MIN 1582
| Minimum value of valid year. More...
#define | CTS_C_TIME_YEAR_VALID_VAL_MAX 9999
| Maximum value of valid year. More...
#define | CTS_C_TIME_ZONE_OFFSET_MIN -48
| Minimum Value of Offset from UTC. More...
#define | CTS_C_TIME_ZONE_OFFSET_MAX 56
| Maximum Value of Offset from UTC. More...
#define | CTS_C_TIME_ACCURACY_OUT_RANGE 254
| Accuracy out of range. More...
#define | CTS_C_TIME_ACCURACT_UNKNOWN 255
| Accuracy Unknown. More...
#define | CTS_C_ERROR_FIELDS_IGNORED 0x80
| The server ignored one or more fields. More...

## 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.

Definition at line 73 of file cts_c.h.

## ◆ CTS_C_CUR_TIME_VAL_LEN

#define CTS_C_CUR_TIME_VAL_LEN 10

Length of current time value.

Definition at line 75 of file cts_c.h.

## ◆ CTS_C_ERROR_FIELDS_IGNORED

#define CTS_C_ERROR_FIELDS_IGNORED 0x80

The server ignored one or more fields.

Definition at line 84 of file cts_c.h.

## ◆ CTS_C_LOC_TIME_INFO_VAL_LEN

#define CTS_C_LOC_TIME_INFO_VAL_LEN 2

Length of local time information value.

Definition at line 76 of file cts_c.h.

## ◆ CTS_C_TIME_ACCURACT_UNKNOWN

#define CTS_C_TIME_ACCURACT_UNKNOWN 255

Accuracy Unknown.

Definition at line 83 of file cts_c.h.

## ◆ CTS_C_TIME_ACCURACY_OUT_RANGE

#define CTS_C_TIME_ACCURACY_OUT_RANGE 254

Accuracy out of range.

Definition at line 82 of file cts_c.h.

## ◆ CTS_C_TIME_Y_M_D_UNKNOWN

#define CTS_C_TIME_Y_M_D_UNKNOWN 0

Year or Month or Day is not known.

Definition at line 77 of file cts_c.h.

## ◆ CTS_C_TIME_YEAR_VALID_VAL_MAX

#define CTS_C_TIME_YEAR_VALID_VAL_MAX 9999

Maximum value of valid year.

Definition at line 79 of file cts_c.h.

## ◆ CTS_C_TIME_YEAR_VALID_VAL_MIN

#define CTS_C_TIME_YEAR_VALID_VAL_MIN 1582

Minimum value of valid year.

Definition at line 78 of file cts_c.h.

## ◆ CTS_C_TIME_ZONE_OFFSET_MAX

#define CTS_C_TIME_ZONE_OFFSET_MAX 56

Maximum Value of Offset from UTC.

Definition at line 81 of file cts_c.h.

## ◆ CTS_C_TIME_ZONE_OFFSET_MIN

#define CTS_C_TIME_ZONE_OFFSET_MIN -48

Minimum Value of Offset from UTC.

Definition at line 80 of file cts_c.h.