Enumerations
Enumerations
BLE Services » Device Synchronize Service (DSS)

## Enumerations
enum | dss_role_t { DSS_ROLE_SYNC_INVALID, DSS_ROLE_SYNC_SOURCE, DSS_ROLE_SYNC_DEVICE }
| Device Synchronize Service roles. More...
enum | dss_staus_t { DSS_STATUS_CFG_READY, DSS_STATUS_IN_ADV, DSS_STATUS_IN_SCAN, DSS_STATUS_IN_INITIATING }
| Device Synchronize Service status. More...
enum | dss_op_id_t { DSS_OP_ID_INVALID, DSS_OP_ID_ROLE_SET, DSS_OP_ID_SYNC_SRC_CREATE, DSS_OP_ID_SYNC, DSS_OP_ID_CANCEL_SYNC, DSS_OP_ID_LP_ENTER, DSS_OP_ID_SYNC_DESTROY, DSS_OP_ID_RSP = 0xff }
| Device Synchronize Service control point OP IDs. More...
enum | dss_rsp_id_t { DSS_RSP_ID_SUCCESS, DSS_RSP_ID_UNSUPPORT, DSS_RSP_ID_DISALLOWED, DSS_RSP_ID_STATUS_ERR, DSS_RSP_ID_PARAM_ERR, DSS_RSP_ID_ROLE_ERR, DSS_RSP_ID_NO_HANDLER, DSS_RSP_ID_ADV_START_FAIL, DSS_RSP_ID_ADV_TIMEOUT, DSS_RSP_ID_SCAN_START_FAIL, DSS_RSP_ID_SCAN_TIMEOUT, DSS_RSP_ID_CONN_EST_FAIL, DSS_RSP_ID_CREATE_SRC_FAIL, DSS_RSP_ID_DISTR_SRC_FAIL, DSS_RSP_ID_DESTROY_SRC_FAIL, DSS_RSP_ID_ENTER_LP_FAIL, DSS_RSP_ID_CANCEL_SYNC_FAIL }
| Device Synchronize Service control point response IDs. More...
enum | dss_evt_type_t { DSS_EVT_INVALID, DSS_EVT_SOURCE_ROLE_SET, DSS_EVT_DEVICE_ROLE_SET, DSS_EVT_SYNC_SRC_CREATE, DSS_EVT_SYNC_DESTROY, DSS_EVT_SYNC_OCCUR, DSS_EVT_SYNC_SELF_OR_PEER, DSS_EVT_SYNC_CANCEL, DSS_EVT_LP_ENTER }
| Device Synchronize Service event types. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ dss_evt_type_t

enum dss_evt_type_t

Device Synchronize Service event types.

Enumerator
DSS_EVT_INVALID | Invalid event.
DSS_EVT_SOURCE_ROLE_SET | Source Role set event.
DSS_EVT_DEVICE_ROLE_SET | Device Role set event.
DSS_EVT_SYNC_SRC_CREATE | Sync source create event.
DSS_EVT_SYNC_DESTROY | Destroy sync event.
DSS_EVT_SYNC_OCCUR | Sync occur event.
DSS_EVT_SYNC_SELF_OR_PEER | Synchronize self or peer event.
DSS_EVT_SYNC_CANCEL | Cancel Synchronization event.
DSS_EVT_LP_ENTER | Enter low power event.

Definition at line 142 of file dss.h.

## ◆ dss_op_id_t

enum dss_op_id_t

Device Synchronize Service control point OP IDs.

Enumerator
DSS_OP_ID_INVALID | Invalid op id.
DSS_OP_ID_ROLE_SET | Set role op id.
DSS_OP_ID_SYNC_SRC_CREATE | Create synchronize source op id.
DSS_OP_ID_SYNC | Synchronize self or peer op id.
DSS_OP_ID_CANCEL_SYNC | Cancel Synchronization op id.
DSS_OP_ID_LP_ENTER | Enter low power mode(Stop all ble activity).
DSS_OP_ID_SYNC_DESTROY | Destroy sync.
DSS_OP_ID_RSP | Response op id.

Definition at line 106 of file dss.h.

## ◆ dss_role_t

enum dss_role_t

Device Synchronize Service roles.

Enumerator
DSS_ROLE_SYNC_INVALID | Device synchronize invalid role.
DSS_ROLE_SYNC_SOURCE | Device synchronize source role (Create synchronize source and distribute).
DSS_ROLE_SYNC_DEVICE | Device synchronize deivce role.

Definition at line 89 of file dss.h.

## ◆ dss_rsp_id_t

enum dss_rsp_id_t

Device Synchronize Service control point response IDs.

Enumerator
DSS_RSP_ID_SUCCESS | Success.
DSS_RSP_ID_UNSUPPORT | Unsupport op.
DSS_RSP_ID_DISALLOWED | Disallowed op.
DSS_RSP_ID_STATUS_ERR | Status error.
DSS_RSP_ID_PARAM_ERR | Parameter error.
DSS_RSP_ID_ROLE_ERR | Role error.
DSS_RSP_ID_NO_HANDLER | No handler for op.
DSS_RSP_ID_ADV_START_FAIL | Advertising start fail.
DSS_RSP_ID_ADV_TIMEOUT | Advertising start timeout.
DSS_RSP_ID_SCAN_START_FAIL | Scan start fail.
DSS_RSP_ID_SCAN_TIMEOUT | Scan start timeout.
DSS_RSP_ID_CONN_EST_FAIL | Connection establish fail.
DSS_RSP_ID_CREATE_SRC_FAIL | Create source fail.
DSS_RSP_ID_DISTR_SRC_FAIL | Distribute source fail.
DSS_RSP_ID_DESTROY_SRC_FAIL | Destroy source fail.
DSS_RSP_ID_ENTER_LP_FAIL | Enter Low Power Mode fail.
DSS_RSP_ID_CANCEL_SYNC_FAIL | Cancel Synchronization fail.

Definition at line 119 of file dss.h.

## ◆ dss_staus_t

enum dss_staus_t

Device Synchronize Service status.

Enumerator
DSS_STATUS_CFG_READY | Device is ready for config,.
DSS_STATUS_IN_ADV | Device is in advertising.
DSS_STATUS_IN_SCAN | Device is in scanning.
DSS_STATUS_IN_INITIATING | Device is in initiating.

Definition at line 97 of file dss.h.