Cordio Stack and Cordio Profiles  r2p3-02rel0
hrps_api.h File Reference

Heart Rate profile sensor. More...

#include "wsf_timer.h"
#include "att_api.h"
Include dependency graph for hrps_api.h:

Go to the source code of this file.

Data Structures

struct  hrpsCfg_t
 Configurable parameters. More...
 

Functions

void HrpsInit (wsfHandlerId_t handlerId, hrpsCfg_t *pCfg)
 Initialize the Heart Rate profile sensor. More...
 
void HrpsMeasStart (dmConnId_t connId, uint8_t timerEvt, uint8_t hrmCccIdx)
 Start periodic heart rate measurement. This function starts a timer to perform periodic measurements. More...
 
void HrpsMeasStop (dmConnId_t connId)
 Stop periodic heart rate measurement. More...
 
void HrpsProcMsg (wsfMsgHdr_t *pMsg)
 Process received WSF message. More...
 
uint8_t HrpsWriteCback (dmConnId_t connId, uint16_t handle, uint8_t operation, uint16_t offset, uint16_t len, uint8_t *pValue, attsAttr_t *pAttr)
 ATTS write callback for heart rate service Use this function as a parameter to SvcHrsCbackRegister(). More...
 
void HrpsSetFlags (uint8_t flags)
 Set the heart rate measurement flags. More...
 

Description

Heart Rate profile sensor.

Copyright (c) 2011-2018 Arm Ltd. All Rights Reserved. ARM Ltd. confidential and proprietary.

IMPORTANT. Your use of this file is governed by a Software License Agreement ("Agreement") that must be accepted in order to download or otherwise receive a copy of this file. You may not use or copy this file for any purpose other than as described in the Agreement. If you do not agree to all of the terms of the Agreement do not use this file and delete all copies in your possession or control; if you do not have a copy of the Agreement, you must contact ARM Ltd. prior to any use, copying or further distribution of this software.

Definition in file hrps_api.h.