Enumerations
Enumerations
BLE Services » Reference Time Update Service (RTUS)

## Enumerations
enum | rtus_ctrl_pt_t { RTUS_CTRL_PT_GET_UPDATE = 0x01, RTUS_CTRL_PT_CANCEL_UPDATE }
| RTUS Time Update Control Point. More...
enum | rtus_cur_state_t { RTUS_CUR_STATE_IDLE, RTUS_CUR_STATE_PENDING }
| RTUS Current State. More...
enum | rtus_update_result_t { RTUS_UPDATE_RESULT_SCCESSFUL, RTUS_UPDATE_RESULT_CANCELED, RTUS_UPDATE_RESULT_NO_CONN_TO_REF, RTUS_UPDATE_RESULT_REP_ERROR, RTUS_UPDATE_RESULT_TIMEOUT, RTUS_UPDATE_RESULT_NO_ATTEMPTED }
| RTUS Time Update Result. More...
enum | rtus_evt_type_t { RTUS_EVT_INVALID, RTUS_EVT_GET_UPDATE, RTUS_EVT_CANCEL_UPDATE }
| RTUS Event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ rtus_ctrl_pt_t

enum rtus_ctrl_pt_t

RTUS Time Update Control Point.

Enumerator
RTUS_CTRL_PT_GET_UPDATE | Get reference update.
RTUS_CTRL_PT_CANCEL_UPDATE | Cancel reference update.

Definition at line 81 of file rtus.h.

## ◆ rtus_cur_state_t

enum rtus_cur_state_t

RTUS Current State.

Enumerator
RTUS_CUR_STATE_IDLE | Idle update state.
RTUS_CUR_STATE_PENDING | Update pending state.

Definition at line 88 of file rtus.h.

## ◆ rtus_evt_type_t

enum rtus_evt_type_t

RTUS Event type.

Enumerator
RTUS_EVT_INVALID | Invalid event.
RTUS_EVT_GET_UPDATE | Get reference update.
RTUS_EVT_CANCEL_UPDATE | Cancel reference update.

Definition at line 106 of file rtus.h.

## ◆ rtus_update_result_t

enum rtus_update_result_t

RTUS Time Update Result.

Enumerator
RTUS_UPDATE_RESULT_SCCESSFUL | Time update successful.
RTUS_UPDATE_RESULT_CANCELED | Time update canceled.
RTUS_UPDATE_RESULT_NO_CONN_TO_REF | No Connection To Reference.
RTUS_UPDATE_RESULT_REP_ERROR | Reference responded with an error.
RTUS_UPDATE_RESULT_TIMEOUT | Update timeout.
RTUS_UPDATE_RESULT_NO_ATTEMPTED | Update not attempted after reset.

Definition at line 95 of file rtus.h.