Enumerations
Enumerations
BLE Services » Current Time Service Client (CTS_C)
Collaboration diagram for Enumerations:

## Enumerations
enum | cts_c_week_day_t { CTS_C_WEEK_UNKNOWN_DAY, CTS_C_WEEK_MONDAY, CTS_C_WEEK_TUSEDAY, CTS_C_WEEK_WEDNESDAY, CTS_C_WEEK_THURSDAT, CTS_C_WEEK_FRIDAY, CTS_C_WEEK_SATURDAY, CTS_C_WEEK_SUNDAY }
| Current Time Day of week. More...
enum | cts_c_dst_offset_t { CTS_C_DST_OFFSET_STANDAR_TIME = 0x00, CTS_C_DST_OFFSET_HALF_HOUR = 0x02, CTS_C_DST_OFFSET_DAYLIGHT_TIME = 0x04, CTS_C_DST_OFFSET_DOUB_DAYLIGHT_TIME = 0x08 }
| Local time information:Daylight Saving Time Offset. More...
enum | cts_c_ref_time_source_t { CTS_C_REF_TIME_SRC_UNKNOWN, CTS_C_REF_TIME_SRC_NET_TIME_PROTOCOL, CTS_C_REF_TIME_SRC_GPS, CTS_C_REF_TIME_SRC_RADIO_TIME_SIGNAL, CTS_C_REF_TIME_SRC_MANUAL, CTS_C_REF_TIME_SRC_ATOMIC_CLOCK, CTS_C_REF_TIME_SRC_CELLUAR_NET }
| Reference time information:Time Source. More...
enum | cts_c_evt_type_t { CTS_C_EVT_INVALID, CTS_C_EVT_DISCOVERY_COMPLETE, CTS_C_EVT_DISCOVERY_FAIL, CTS_C_EVT_CUR_TIME_NTF_SET_SUCCESS, CTS_C_EVT_VALID_CUR_TIME_REC, CTS_C_EVT_INVALID_CUR_TIME_REC, CTS_C_EVT_VALID_LOC_TIME_INFO_REC, CTS_C_EVT_INVALID_LOC_TIME_INFO_REC, CTS_C_EVT_VALID_REF_TIME_INFO_REC, CTS_C_EVT_INVALID_REF_TIME_INFO_REC, CTS_C_EVT_CUR_TIME_SET_SUCCESS, CTS_C_EVT_LOC_TIME_INFO_SET_SUCCESS, CTS_C_EVT_WRITE_OP_ERR }
| Current Time Service Client event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ cts_c_dst_offset_t

enum cts_c_dst_offset_t

Local time information:Daylight Saving Time Offset.

Enumerator
CTS_C_DST_OFFSET_STANDAR_TIME | Standard Time.
CTS_C_DST_OFFSET_HALF_HOUR | Half An Hour Daylight Time (+0.5h).
CTS_C_DST_OFFSET_DAYLIGHT_TIME | Daylight Time (+1h).
CTS_C_DST_OFFSET_DOUB_DAYLIGHT_TIME | Double Daylight Time (+2h).

Definition at line 115 of file cts_c.h.

## ◆ cts_c_evt_type_t

enum cts_c_evt_type_t

Current Time Service Client event type.

Enumerator
CTS_C_EVT_INVALID | CTS Client invalid event.
CTS_C_EVT_DISCOVERY_COMPLETE | CTS Client has found CTS service and its characteristics.
CTS_C_EVT_DISCOVERY_FAIL | CTS Client found CTS service failed because of invalid operation or no found at the peer.
CTS_C_EVT_CUR_TIME_NTF_SET_SUCCESS | CTS Client has set Notification of Current Time characteristic.
CTS_C_EVT_VALID_CUR_TIME_REC | CTS Client has received valid Current Time value (Read or Notification from peer).
CTS_C_EVT_INVALID_CUR_TIME_REC | CTS Client has received invalid Current Time value (Read or Notification from peer).
CTS_C_EVT_VALID_LOC_TIME_INFO_REC | CTS Client has received valid Local Time Information value (Read from peer).
CTS_C_EVT_INVALID_LOC_TIME_INFO_REC | CTS Client has received invalid Local Time Information value (Read from peer).
CTS_C_EVT_VALID_REF_TIME_INFO_REC | CTS Client has received valid Reference Time Information Value (Read from peer).
CTS_C_EVT_INVALID_REF_TIME_INFO_REC | CTS Client has received invalid Reference Time Information Value (Read from peer).
CTS_C_EVT_CUR_TIME_SET_SUCCESS | CTS Client has writen Current Time completely.
CTS_C_EVT_LOC_TIME_INFO_SET_SUCCESS | CTS Client has writen Local Time Information completely.
CTS_C_EVT_WRITE_OP_ERR | Error occured when CTS Client writen to peer.

Definition at line 136 of file cts_c.h.

## ◆ cts_c_ref_time_source_t

enum cts_c_ref_time_source_t

Reference time information:Time Source.

Enumerator
CTS_C_REF_TIME_SRC_UNKNOWN | Unknown.
CTS_C_REF_TIME_SRC_NET_TIME_PROTOCOL | Network Time Protocol.
CTS_C_REF_TIME_SRC_GPS | GPS.
CTS_C_REF_TIME_SRC_RADIO_TIME_SIGNAL | Radio Time Signal.
CTS_C_REF_TIME_SRC_MANUAL | Manual.
CTS_C_REF_TIME_SRC_ATOMIC_CLOCK | Atomic Clock.
CTS_C_REF_TIME_SRC_CELLUAR_NET | Cellular Network.

Definition at line 124 of file cts_c.h.

## ◆ cts_c_week_day_t

enum cts_c_week_day_t

Current Time Day of week.

Enumerator
CTS_C_WEEK_UNKNOWN_DAY | Day of week is not known.
CTS_C_WEEK_MONDAY | Monday.
CTS_C_WEEK_TUSEDAY | Tuesday.
CTS_C_WEEK_WEDNESDAY | Wednesday.
CTS_C_WEEK_THURSDAT | Thursday.
CTS_C_WEEK_FRIDAY | Friday.
CTS_C_WEEK_SATURDAY | Saturday.
CTS_C_WEEK_SUNDAY | Sunday.

Definition at line 102 of file cts_c.h.