Cordio Stack and Cordio Profiles  r2p3-02rel0
Scan Parameter Profile

Typedefs

typedef void ScppsAppCback_t(dmConnId_t connId, uint16_t interval, uint16_t window)
 Application interval window callback.
 

Functions

void ScppsRegisterCback (ScppsAppCback_t *cback)
 Called to register an application scan interval window callback function. More...
 
uint8_t ScppsAttsWriteCback (dmConnId_t connId, uint16_t handle, uint8_t operation, uint16_t offset, uint16_t len, uint8_t *pValue, attsAttr_t *pAttr)
 Called when the peer writes to SCPPS attributes. More...
 

Description

Function Documentation

void ScppsRegisterCback ( ScppsAppCback_t cback)

Called to register an application scan interval window callback function.

Parameters
cbackApplication interval window callback
Returns
Status
uint8_t ScppsAttsWriteCback ( dmConnId_t  connId,
uint16_t  handle,
uint8_t  operation,
uint16_t  offset,
uint16_t  len,
uint8_t pValue,
attsAttr_t pAttr 
)

Called when the peer writes to SCPPS attributes.

Parameters
connIdDM connection identifier.
handleATT handle.
operationATT operation.
offsetWrite offset.
lenWrite length.
pValueValue to write.
pAttrAttribute to write.
Returns
Status