![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Example Running Speed and Cadence Service Server implementation. More...
#include "att_api.h"
Go to the source code of this file.
Macros | |
RSC Feature Bits | |
Running Speed and Cadence Feature Bits of the Feature Characteristic | |
#define | RSCS_ISLMS_FEATURE_BIT (1<<0) |
Instantaneous Stride Length Measurement Supported Feature Mask Bit. | |
#define | RSCS_TDMS_FEATURE_BIT (1<<1) |
Total Distance Measurement Supported Feature Mask Bit. | |
#define | RSCS_WRSS_FEATURE_BIT (1<<2) |
Walking or Running Status Supported Feature Mask Bit. | |
#define | RSCS_CPS_FEATURE_BIT (1<<3) |
Calibration Procedure Supported Feature Mask Bit. | |
#define | RSCS_MSLS_FEATURE_BIT (1<<4) |
Multiple Sensor Locations Supporte Feature Mask Bit. | |
#define | RSCS_ALL_FEATURES (0x7) |
TODO: Set to all supported features. More... | |
Functions | |
void | SvcRscsAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcRscsRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcRscsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
Running Speed and Cadence Service Handles | |
#define | RSCS_START_HDL 0x04A0 |
Start handle. | |
#define | RSCS_END_HDL (RSCS_MAX_HDL - 1) |
End handle. | |
enum | { RSCS_SVC_HDL = RSCS_START_HDL, RSCS_RSF_CH_HDL, RSCS_RSF_HDL, RSCS_RSM_CH_HDL, RSCS_RSM_HDL, RSCS_RSM_CH_CCC_HDL, RSCS_SL_CH_HDL, RSCS_SL_HDL, RSCS_MAX_HDL } |
Running Speed Service Handles. More... | |
Example Running Speed and Cadence Service Server implementation.
Copyright (c) 2016-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 svc_rscs.h.