Cordio Stack and Cordio Profiles  r2p3-02rel0
Health Thermometer Service

Functions

void SvcHtsAddGroup (void)
 Add the services to the attribute server. More...
 
void SvcHtsRemoveGroup (void)
 Remove the services from the attribute server. More...
 
void SvcHtsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback)
 Register callbacks for the service. More...
 

Health Thermometer Service Handles

enum  {
  HTS_SVC_HDL = HTS_START_HDL,
  HTS_TM_CH_HDL,
  HTS_TM_HDL,
  HTS_TM_CH_CCC_HDL,
  HTS_IT_CH_HDL,
  HTS_IT_HDL,
  HTS_IT_CH_CCC_HDL,
  HTS_TT_CH_HDL,
  HTS_TT_HDL,
  HTS_MAX_HDL
}
 Health Thermometer Service Handles. More...
 
#define HTS_START_HDL   0x0120
 Start handle.
 
#define HTS_END_HDL   (HTS_MAX_HDL - 1)
 End handle.
 

Description

Enumeration Type Documentation

anonymous enum

Health Thermometer Service Handles.

Enumerator
HTS_SVC_HDL 

Health thermometer service declaration.

HTS_TM_CH_HDL 

Temperature measurement characteristic.

HTS_TM_HDL 

Temperature measurement.

HTS_TM_CH_CCC_HDL 

Temperature measurement client characteristic configuration.

HTS_IT_CH_HDL 

Intermediate temperature characteristic.

HTS_IT_HDL 

Intermediate temperature.

HTS_IT_CH_CCC_HDL 

Intermediate temperature client characteristic configuration.

HTS_TT_CH_HDL 

Temperature type characteristic.

HTS_TT_HDL 

Temperature type.

HTS_MAX_HDL 

Maximum handle.

Definition at line 46 of file svc_hts.h.

47 {
48  HTS_SVC_HDL = HTS_START_HDL, /*!< \brief Health thermometer service declaration */
49  HTS_TM_CH_HDL, /*!< \brief Temperature measurement characteristic */
50  HTS_TM_HDL, /*!< \brief Temperature measurement */
51  HTS_TM_CH_CCC_HDL, /*!< \brief Temperature measurement client characteristic configuration */
52  HTS_IT_CH_HDL, /*!< \brief Intermediate temperature characteristic */
53  HTS_IT_HDL, /*!< \brief Intermediate temperature */
54  HTS_IT_CH_CCC_HDL, /*!< \brief Intermediate temperature client characteristic configuration */
55  HTS_TT_CH_HDL, /*!< \brief Temperature type characteristic */
56  HTS_TT_HDL, /*!< \brief Temperature type */
57  HTS_MAX_HDL /*!< \brief Maximum handle. */
58 };
Temperature measurement client characteristic configuration.
Definition: svc_hts.h:51
Temperature measurement characteristic.
Definition: svc_hts.h:49
#define HTS_START_HDL
Start handle.
Definition: svc_hts.h:38
Temperature type.
Definition: svc_hts.h:56
Intermediate temperature client characteristic configuration.
Definition: svc_hts.h:54
Maximum handle.
Definition: svc_hts.h:57
Temperature type characteristic.
Definition: svc_hts.h:55
Intermediate temperature characteristic.
Definition: svc_hts.h:52
Health thermometer service declaration.
Definition: svc_hts.h:48
Temperature measurement.
Definition: svc_hts.h:50
Intermediate temperature.
Definition: svc_hts.h:53

Function Documentation

void SvcHtsAddGroup ( void  )

Add the services to the attribute server.

Returns
None.
void SvcHtsRemoveGroup ( void  )

Remove the services from the attribute server.

Returns
None.
void SvcHtsCbackRegister ( attsReadCback_t  readCback,
attsWriteCback_t  writeCback 
)

Register callbacks for the service.

Parameters
readCbackRead callback function.
writeCbackWrite callback function.
Returns
None.