Cordio Stack and Cordio Profiles  r2p3-02rel0

Functions

void SvcWssAddGroup (void)
 Add the services to the attribute server. More...
 
void SvcWssRemoveGroup (void)
 Remove the services from the attribute server. More...
 
void SvcWssCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback)
 Register callbacks for the service. More...
 

Weight Scale Service Handles

enum  {
  WSS_SVC_HDL = WSS_START_HDL,
  WSS_WM_CH_HDL,
  WSS_WM_HDL,
  WSS_WM_CH_CCC_HDL,
  WSS_WSF_CH_HDL,
  WSS_WSF_HDL,
  WSS_MAX_HDL
}
 Weight Scale Service Handles. More...
 
#define WSS_START_HDL   0x0100
 Start handle.
 
#define WSS_END_HDL   (WSS_MAX_HDL - 1)
 End handle.
 

Description

Enumeration Type Documentation

anonymous enum

Weight Scale Service Handles.

Enumerator
WSS_SVC_HDL 

Weight scale service declaration.

WSS_WM_CH_HDL 

Weight measurement characteristic.

WSS_WM_HDL 

Weight measurement.

WSS_WM_CH_CCC_HDL 

Weight measurement client characteristic configuration.

WSS_WSF_CH_HDL 

Weight scale feature characteristic.

WSS_WSF_HDL 

Weight scale feature.

WSS_MAX_HDL 

Maximum handle.

Definition at line 46 of file svc_wss.h.

47 {
48  WSS_SVC_HDL = WSS_START_HDL, /*!< \brief Weight scale service declaration */
49  WSS_WM_CH_HDL, /*!< \brief Weight measurement characteristic */
50  WSS_WM_HDL, /*!< \brief Weight measurement */
51  WSS_WM_CH_CCC_HDL, /*!< \brief Weight measurement client characteristic configuration */
52  WSS_WSF_CH_HDL, /*!< \brief Weight scale feature characteristic */
53  WSS_WSF_HDL, /*!< \brief Weight scale feature */
54  WSS_MAX_HDL /*!< \brief Maximum handle. */
55 };
Weight measurement client characteristic configuration.
Definition: svc_wss.h:51
Weight measurement characteristic.
Definition: svc_wss.h:49
Weight scale service declaration.
Definition: svc_wss.h:48
Weight scale feature characteristic.
Definition: svc_wss.h:52
Weight measurement.
Definition: svc_wss.h:50
Maximum handle.
Definition: svc_wss.h:54
#define WSS_START_HDL
Start handle.
Definition: svc_wss.h:38
Weight scale feature.
Definition: svc_wss.h:53

Function Documentation

void SvcWssAddGroup ( void  )

Add the services to the attribute server.

Returns
None.
void SvcWssRemoveGroup ( void  )

Remove the services from the attribute server.

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

Register callbacks for the service.

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