Cordio Stack and Cordio Profiles  r2p3-02rel0

Functions

void SvcWpAddGroup (void)
 Add the services to the attribute server. More...
 
void SvcWpRemoveGroup (void)
 Remove the services from the attribute server. More...
 
void SvcWpCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback)
 Register callbacks for the service. More...
 

Arm Ltd. Proprietary Service Handles

enum  {
  WP_SVC_HDL = WP_START_HDL,
  WP_DAT_CH_HDL,
  WP_DAT_HDL,
  WP_DAT_CH_CCC_HDL,
  WP_MAX_HDL
}
 Proprietary Service Handles. More...
 
#define WP_START_HDL   0x200
 Proprietary Service. More...
 
#define WP_END_HDL   (WP_MAX_HDL - 1)
 End handle.
 

Description

Macro Definition Documentation

#define WP_START_HDL   0x200

Proprietary Service.

Start handle.

Definition at line 43 of file svc_wp.h.

Enumeration Type Documentation

anonymous enum

Proprietary Service Handles.

Enumerator
WP_SVC_HDL 

Proprietary service declaration.

WP_DAT_CH_HDL 

Proprietary data characteristic.

WP_DAT_HDL 

Proprietary data.

WP_DAT_CH_CCC_HDL 

Proprietary data client characteristic configuration.

WP_MAX_HDL 

Maximum handle.

Definition at line 51 of file svc_wp.h.

52 {
53  WP_SVC_HDL = WP_START_HDL, /*!< \brief Proprietary service declaration */
54  WP_DAT_CH_HDL, /*!< \brief Proprietary data characteristic */
55  WP_DAT_HDL, /*!< \brief Proprietary data */
56  WP_DAT_CH_CCC_HDL, /*!< \brief Proprietary data client characteristic configuration */
57  WP_MAX_HDL /*!< \brief Maximum handle. */
58 };
Proprietary data client characteristic configuration.
Definition: svc_wp.h:56
Proprietary service declaration.
Definition: svc_wp.h:53
#define WP_START_HDL
Proprietary Service.
Definition: svc_wp.h:43
Maximum handle.
Definition: svc_wp.h:57
Proprietary data characteristic.
Definition: svc_wp.h:54
Proprietary data.
Definition: svc_wp.h:55

Function Documentation

void SvcWpAddGroup ( void  )

Add the services to the attribute server.

Returns
None.
void SvcWpRemoveGroup ( void  )

Remove the services from the attribute server.

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

Register callbacks for the service.

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