Cordio Stack and Cordio Profiles  r2p3-02rel0

Functions

void SvcPxAddGroup (void)
 Add the services to the attribute server. More...
 
void SvcPxRemoveGroup (void)
 Remove the services from the attribute server. More...
 
void SvcPxCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback)
 Register callbacks for the service. More...
 

Proximity Service Handles

enum  {
  LLS_SVC_HDL = PX_START_HDL,
  LLS_AL_CH_HDL,
  LLS_AL_HDL,
  IAS_SVC_HDL,
  IAS_AL_CH_HDL,
  IAS_AL_HDL,
  TXS_SVC_HDL,
  TXS_TX_CH_HDL,
  TXS_TX_HDL,
  PX_MAX_HDL
}
 Service Handles. More...
 
#define PX_START_HDL   0x50
 Start handle.
 
#define PX_END_HDL   (PX_MAX_HDL - 1)
 End handle.
 

Description

Enumeration Type Documentation

anonymous enum

Service Handles.

Enumerator
LLS_SVC_HDL 

Link loss service declaration.

LLS_AL_CH_HDL 

Alert level characteristic.

LLS_AL_HDL 

Alert level.

IAS_SVC_HDL 

Immediate alert service declaration.

IAS_AL_CH_HDL 

Alert level characteristic.

IAS_AL_HDL 

Alert level.

TXS_SVC_HDL 

TX power service declaration.

TXS_TX_CH_HDL 

TX power level characteristic.

TXS_TX_HDL 

TX power level.

PX_MAX_HDL 

Maximum handle.

Definition at line 48 of file svc_px.h.

49 {
50  LLS_SVC_HDL = PX_START_HDL, /*!< \brief Link loss service declaration */
51  LLS_AL_CH_HDL, /*!< \brief Alert level characteristic */
52  LLS_AL_HDL, /*!< \brief Alert level */
53  IAS_SVC_HDL, /*!< \brief Immediate alert service declaration */
54  IAS_AL_CH_HDL, /*!< \brief Alert level characteristic */
55  IAS_AL_HDL, /*!< \brief Alert level */
56  TXS_SVC_HDL, /*!< \brief TX power service declaration */
57  TXS_TX_CH_HDL, /*!< \brief TX power level characteristic */
58  TXS_TX_HDL, /*!< \brief TX power level */
59  PX_MAX_HDL /*!< \brief Maximum handle. */
60 };
Maximum handle.
Definition: svc_px.h:59
Alert level characteristic.
Definition: svc_px.h:51
Immediate alert service declaration.
Definition: svc_px.h:53
#define PX_START_HDL
Start handle.
Definition: svc_px.h:40
Link loss service declaration.
Definition: svc_px.h:50
Alert level.
Definition: svc_px.h:52
Alert level.
Definition: svc_px.h:55
TX power service declaration.
Definition: svc_px.h:56
TX power level.
Definition: svc_px.h:58
Alert level characteristic.
Definition: svc_px.h:54
TX power level characteristic.
Definition: svc_px.h:57

Function Documentation

void SvcPxAddGroup ( void  )

Add the services to the attribute server.

Returns
None.
void SvcPxRemoveGroup ( void  )

Remove the services from the attribute server.

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

Register callbacks for the service.

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