Enumerations
Enumerations
BLE Services » Current Time Service (CTS)

## Enumerations
enum | cts_week_day_t { CTS_WEEK_UNKNOWN_DAY, CTS_WEEK_MONDAY, CTS_WEEK_TUSEDAY, CTS_WEEK_WEDNESDAY, CTS_WEEK_THURSDAT, CTS_WEEK_FRIDAY, CTS_WEEK_SATURDAY, CTS_WEEK_SUNDAY }
| Current Time Day of week. More...
enum | cts_dst_offset_t { CTS_DST_OFFSET_STANDAR_TIME = 0x00, CTS_DST_OFFSET_HALF_HOUR = 0x02, CTS_DST_OFFSET_DAYLIGHT_TIME = 0x04, CTS_DST_OFFSET_DOUB_DAYLIGHT_TIME = 0x08 }
| Local time information:Daylight Saving Time Offset. More...
enum | cts_ref_time_source_t { CTS_REF_TIME_SRC_UNKNOWN, CTS_REF_TIME_SRC_NET_TIME_PROTOCOL, CTS_REF_TIME_SRC_GPS, CTS_REF_TIME_SRC_RADIO_TIME_SIGNAL, CTS_REF_TIME_SRC_MANUAL, CTS_REF_TIME_SRC_ATOMIC_CLOCK, CTS_REF_TIME_SRC_CELLUAR_NET }
| Reference time information:Time Source. More...
enum | cts_evt_type_t { CTS_EVT_INVALID = 0x00, CTS_EVT_CUR_TIME_NOTIFICATION_ENABLED, CTS_EVT_CUR_TIME_NOTIFICATION_DISABLED, CTS_EVT_CUR_TIME_SET_BY_PEER, CTS_EVT_LOC_TIME_INFO_SET_BY_PEER }
| Current Time Service event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ cts_dst_offset_t

enum cts_dst_offset_t

Local time information:Daylight Saving Time Offset.

Enumerator
CTS_DST_OFFSET_STANDAR_TIME | Standard Time.
CTS_DST_OFFSET_HALF_HOUR | Half An Hour Daylight Time (+0.5h).
CTS_DST_OFFSET_DAYLIGHT_TIME | Daylight Time (+1h).
CTS_DST_OFFSET_DOUB_DAYLIGHT_TIME | Double Daylight Time (+2h).

## ◆ cts_evt_type_t

enum cts_evt_type_t

Current Time Service event type.

Enumerator
CTS_EVT_INVALID | Invalid event.
CTS_EVT_CUR_TIME_NOTIFICATION_ENABLED | Current Time Notification is enabled.
CTS_EVT_CUR_TIME_NOTIFICATION_DISABLED | Current Time Notification is disabled.
CTS_EVT_CUR_TIME_SET_BY_PEER | Current Time has been set by peer.
CTS_EVT_LOC_TIME_INFO_SET_BY_PEER | Local Time information has been set by peer.

## ◆ cts_ref_time_source_t

enum cts_ref_time_source_t

Reference time information:Time Source.

Enumerator
CTS_REF_TIME_SRC_UNKNOWN | Unknown.
CTS_REF_TIME_SRC_NET_TIME_PROTOCOL | Network Time Protocol.
CTS_REF_TIME_SRC_GPS | GPS.
CTS_REF_TIME_SRC_RADIO_TIME_SIGNAL | Radio Time Signal.
CTS_REF_TIME_SRC_MANUAL | Manual.
CTS_REF_TIME_SRC_ATOMIC_CLOCK | Atomic Clock.
CTS_REF_TIME_SRC_CELLUAR_NET | Cellular Network.

## ◆ cts_week_day_t

enum cts_week_day_t

Current Time Day of week.

Enumerator
CTS_WEEK_UNKNOWN_DAY | Day of week is not known.
CTS_WEEK_MONDAY | Monday.
CTS_WEEK_TUSEDAY | Tuesday.
CTS_WEEK_WEDNESDAY | Wednesday.
CTS_WEEK_THURSDAT | Thursday.
CTS_WEEK_FRIDAY | Friday.
CTS_WEEK_SATURDAY | Saturday.
CTS_WEEK_SUNDAY | Sunday.