Cordio Stack and Cordio Profiles  r2p3-02rel0
Gyroscope Service Profile

Functions

void GyroStart (wsfHandlerId_t handlerId, uint8_t timerEvt)
 Start service. More...
 
void GyroStop (void)
 Stop service. More...
 
void GyroMeasStop (void)
 Measurement stop handler. More...
 
void GyroMeasStart (void)
 Measurement start handler. More...
 
void GyroMeasComplete (dmConnId_t connId, int16_t x, int16_t y, int16_t z)
 Measurement complete handler. More...
 

Description

Function Documentation

void GyroStart ( wsfHandlerId_t  handlerId,
uint8_t  timerEvt 
)

Start service.

Parameters
handlerIdHandler ID.
timerEvtTimer message event.
Returns
None.
void GyroStop ( void  )

Stop service.

Returns
None.
void GyroMeasStop ( void  )

Measurement stop handler.

Returns
None.
void GyroMeasStart ( void  )

Measurement start handler.

Returns
None.
void GyroMeasComplete ( dmConnId_t  connId,
int16_t  x,
int16_t  y,
int16_t  z 
)

Measurement complete handler.

Parameters
connIdConnection ID.
xGyroscope x-axis reading.
yGyroscope y-axis reading.
zGyroscope z-axis reading.
Returns
None.