Modules | Macros
Defines
BLE Services » Current Time Service (CTS)
Collaboration diagram for Defines:

## Modules
| Characteristics Mask
| Bit masks for the initialization of cts_init_t::char_mask.
| Current Time Adjust Reason
| Current Time Service Adjust Reason.

## Macros
#define | CTS_CONNECTION_MAX 10
| Maximum number of CTS connections. More...
#define | CTS_CUR_TIME_VAL_LEN 10
| Length of current time value. More...
#define | TOTAL_CTS_CUR_TIME_VAL_LEN 27
| TOTAL length of current time value. More...
#define | CTS_LOC_TIME_INFO_VAL_LEN 2
| Length of local time information value. More...
#define | TOTAL_CTS_LOC_TIME_INFO_VAL_LEN 6
| TOTAL length local time information value. More...
#define | CTS_REF_TIME_INFO_VAL_LEN 4
| Length of reference time information value. More...
#define | CTS_TIME_YEAR_VALID_VAL_MIN 1582
| Minimum value of valid year. More...
#define | CTS_TIME_YEAR_VALID_VAL_MAX 9999
| Maximum value of valid year. More...
#define | CTS_TIME_ZONE_OFFSET_MIN -48
| Minimum Value of Offset from UTC. More...
#define | CTS_TIME_ZONE_OFFSET_MAX 56
| Maximum Value of Offset from UTC. More...
#define | CTS_TIME_ACCURACY_OUT_RANGE 254
| Accuracy out of range. More...
#define | CTS_TIME_ACCURACT_UNKNOWN 255
| Accuracy Unknown. More...
#define | CTS_ERROR_FIELDS_IGNORED 0x80
| The server ignored one or more fields. More...

## Detailed Description

## Macro Definition Documentation

## ◆ CTS_CONNECTION_MAX

#define CTS_CONNECTION_MAX 10

Maximum number of CTS connections.

Definition at line 70 of file cts.h.

## ◆ CTS_CUR_TIME_VAL_LEN

#define CTS_CUR_TIME_VAL_LEN 10

Length of current time value.

Definition at line 71 of file cts.h.

## ◆ CTS_ERROR_FIELDS_IGNORED

#define CTS_ERROR_FIELDS_IGNORED 0x80

The server ignored one or more fields.

Definition at line 82 of file cts.h.

## ◆ CTS_LOC_TIME_INFO_VAL_LEN

#define CTS_LOC_TIME_INFO_VAL_LEN 2

Length of local time information value.

Definition at line 73 of file cts.h.

## ◆ CTS_REF_TIME_INFO_VAL_LEN

#define CTS_REF_TIME_INFO_VAL_LEN 4

Length of reference time information value.

Definition at line 75 of file cts.h.

## ◆ CTS_TIME_ACCURACT_UNKNOWN

#define CTS_TIME_ACCURACT_UNKNOWN 255

Accuracy Unknown.

Definition at line 81 of file cts.h.

## ◆ CTS_TIME_ACCURACY_OUT_RANGE

#define CTS_TIME_ACCURACY_OUT_RANGE 254

Accuracy out of range.

Definition at line 80 of file cts.h.

## ◆ CTS_TIME_YEAR_VALID_VAL_MAX

#define CTS_TIME_YEAR_VALID_VAL_MAX 9999

Maximum value of valid year.

Definition at line 77 of file cts.h.

## ◆ CTS_TIME_YEAR_VALID_VAL_MIN

#define CTS_TIME_YEAR_VALID_VAL_MIN 1582

Minimum value of valid year.

Definition at line 76 of file cts.h.

## ◆ CTS_TIME_ZONE_OFFSET_MAX

#define CTS_TIME_ZONE_OFFSET_MAX 56

Maximum Value of Offset from UTC.

Definition at line 79 of file cts.h.

## ◆ CTS_TIME_ZONE_OFFSET_MIN

#define CTS_TIME_ZONE_OFFSET_MIN -48

Minimum Value of Offset from UTC.

Definition at line 78 of file cts.h.

## ◆ TOTAL_CTS_CUR_TIME_VAL_LEN

#define TOTAL_CTS_CUR_TIME_VAL_LEN 27

TOTAL length of current time value.

Definition at line 72 of file cts.h.

## ◆ TOTAL_CTS_LOC_TIME_INFO_VAL_LEN

#define TOTAL_CTS_LOC_TIME_INFO_VAL_LEN 6

TOTAL length local time information value.

Definition at line 74 of file cts.h.