Cordio Stack and Cordio Profiles  r2p3-02rel0

Enumerations

enum  { TIME_CTS_CT_CH_CCC_IDX }
 Indexes of CCC descriptor handle table entries. More...
 

Functions

void SvcTimeAddGroup (void)
 Add the services to the attribute server. More...
 
void SvcTimeRemoveGroup (void)
 Remove the services from the attribute server. More...
 

Time Service Handles

enum  {
  TIME_CTS_SVC_HDL = TIME_START_HDL,
  TIME_CTS_CT_CH_HDL,
  TIME_CTS_CT_HDL,
  TIME_CTS_CT_CH_CCC_HDL,
  TIME_CTS_LOC_CH_HDL,
  TIME_CTS_LOC_HDL,
  TIME_CTS_REF_CH_HDL,
  TIME_CTS_REF_HDL,
  TIME_DST_SVC_HDL,
  TIME_DST_WDST_CH_HDL,
  TIME_DST_WDST_HDL,
  TIME_RTU_SVC_HDL,
  TIME_RTU_CP_CH_HDL,
  TIME_RTU_CP_HDL,
  TIME_RTU_STATE_CH_HDL,
  TIME_RTU_STATE_HDL,
  TIME_MAX_HDL
}
 Time-Related Service Handles. More...
 
#define TIME_START_HDL   0xC0
 Start handle.
 
#define TIME_END_HDL   (TIME_MAX_HDL - 1)
 End handle.
 

Description

Enumeration Type Documentation

anonymous enum

Time-Related Service Handles.

Enumerator
TIME_CTS_SVC_HDL 

Current time service declaration.

TIME_CTS_CT_CH_HDL 

CT time characteristic.

TIME_CTS_CT_HDL 

CT time.

TIME_CTS_CT_CH_CCC_HDL 

CT time client characteristic configuration.

TIME_CTS_LOC_CH_HDL 

Local time information characteristic.

TIME_CTS_LOC_HDL 

Local time information.

TIME_CTS_REF_CH_HDL 

Reference time information characteristic.

TIME_CTS_REF_HDL 

Reference time information.

TIME_DST_SVC_HDL 

DST change service declaration.

TIME_DST_WDST_CH_HDL 

Time with DST characteristic.

TIME_DST_WDST_HDL 

Time with DST.

TIME_RTU_SVC_HDL 

Reference time update service declaration.

TIME_RTU_CP_CH_HDL 

Time update control point characteristic.

TIME_RTU_CP_HDL 

Time update control point.

TIME_RTU_STATE_CH_HDL 

Time update state characteristic.

TIME_RTU_STATE_HDL 

Time update state.

TIME_MAX_HDL 

Maximum handle.

Definition at line 47 of file svc_time.h.

48 {
49  TIME_CTS_SVC_HDL = TIME_START_HDL, /*!< \brief Current time service declaration */
50  TIME_CTS_CT_CH_HDL, /*!< \brief CT time characteristic */
51  TIME_CTS_CT_HDL, /*!< \brief CT time */
52  TIME_CTS_CT_CH_CCC_HDL, /*!< \brief CT time client characteristic configuration */
53  TIME_CTS_LOC_CH_HDL, /*!< \brief Local time information characteristic */
54  TIME_CTS_LOC_HDL, /*!< \brief Local time information */
55  TIME_CTS_REF_CH_HDL, /*!< \brief Reference time information characteristic */
56  TIME_CTS_REF_HDL, /*!< \brief Reference time information */
57 
58  TIME_DST_SVC_HDL, /*!< \brief DST change service declaration */
59  TIME_DST_WDST_CH_HDL, /*!< \brief Time with DST characteristic */
60  TIME_DST_WDST_HDL, /*!< \brief Time with DST */
61 
62  TIME_RTU_SVC_HDL, /*!< \brief Reference time update service declaration */
63  TIME_RTU_CP_CH_HDL, /*!< \brief Time update control point characteristic */
64  TIME_RTU_CP_HDL, /*!< \brief Time update control point */
65  TIME_RTU_STATE_CH_HDL, /*!< \brief Time update state characteristic */
66  TIME_RTU_STATE_HDL, /*!< \brief Time update state */
67 
68  TIME_MAX_HDL /*!< \brief Maximum handle. */
69 };
#define TIME_START_HDL
Start handle.
Definition: svc_time.h:39
CT time characteristic.
Definition: svc_time.h:50
Time update state.
Definition: svc_time.h:66
Reference time information.
Definition: svc_time.h:56
Local time information characteristic.
Definition: svc_time.h:53
Maximum handle.
Definition: svc_time.h:68
Time update state characteristic.
Definition: svc_time.h:65
Time with DST.
Definition: svc_time.h:60
Reference time update service declaration.
Definition: svc_time.h:62
Time with DST characteristic.
Definition: svc_time.h:59
Time update control point.
Definition: svc_time.h:64
CT time client characteristic configuration.
Definition: svc_time.h:52
Current time service declaration.
Definition: svc_time.h:49
Reference time information characteristic.
Definition: svc_time.h:55
DST change service declaration.
Definition: svc_time.h:58
Local time information.
Definition: svc_time.h:54
Time update control point characteristic.
Definition: svc_time.h:63
CT time.
Definition: svc_time.h:51
anonymous enum

Indexes of CCC descriptor handle table entries.

Enumerator
TIME_CTS_CT_CH_CCC_IDX 

CT time CCCD index.

Definition at line 73 of file svc_time.h.

74 {
75  TIME_CTS_CT_CH_CCC_IDX /*!< \brief CT time CCCD index. */
76 };
CT time CCCD index.
Definition: svc_time.h:75

Function Documentation

void SvcTimeAddGroup ( void  )

Add the services to the attribute server.

Returns
None.
void SvcTimeRemoveGroup ( void  )

Remove the services from the attribute server.

Returns
None.