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

Pulse Oximeter profile sensor. More...

#include "app_hw.h"
Include dependency graph for plxps_api.h:

Go to the source code of this file.

Data Structures

struct  plxpsCfg_t
 Configurable parameters. More...
 

Typedefs

typedef appPlxCm_t plxpCm_t
 Pulse Oximeter continuous measurement structure.
 
typedef appPlxScm_t plxpScm_t
 Pulse Oximeter spot check measurement structure.
 

Functions

void PlxpsInit (wsfHandlerId_t handlerId, plxpsCfg_t *pCfg)
 Initialize the Pulse Oximeter profile sensor. More...
 
void PlxpsProcMsg (wsfMsgHdr_t *pMsg)
 This function is called by the application when a message that requires processing by the pulse oximeter profile sensor is received. More...
 
void PlxpsBtn (dmConnId_t connId, uint8_t btn)
 Handle a button press. More...
 
uint8_t PlxpsWriteCback (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 pulse oximeter service. More...
 
void PlxpsSetFeature (uint16_t feature, uint16_t measStatus, uint32_t sensorStatus)
 Set the supported features of the pulse oximeter sensor. More...
 
void PlxpsSetCccIdx (uint8_t plxscCccIdx, uint8_t plxcCccIdx, uint8_t racpCccIdx)
 Set the CCCD index used by the application for pulse oximeter service characteristics. More...
 
void PlxpsMeasStart (dmConnId_t connId, uint8_t timerEvt, uint8_t plxmCccIdx)
 Start periodic pulse oximeter measurement. This function starts a timer to perform periodic measurements. More...
 
void PlxpsMeasStop (void)
 Stop periodic pulse oximeter measurement. More...
 
void plxpsSendSpotCheckMeas (dmConnId_t connId, plxpScm_t *pMeas)
 Send a spot check measurement indication. More...
 
void plxpsSendContinuousMeas (dmConnId_t connId, plxpCm_t *pMeas)
 Send a Continuous measurement notification. More...
 

Description

Pulse Oximeter profile sensor.

Copyright (c) 2012-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 plxps_api.h.