![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Example Cycling Speed and Cadence Service Server implementation. More...
#include "att_api.h"
Go to the source code of this file.
Macros | |
CSC Feature Bits | |
Cycle Speed and Cadence Feature Bits of the Feature Characteristic. | |
#define | CSCS_WRDS_FEATURE_BIT (1<<0) |
Wheel Revolution Data Supported Feature Mask Bit. | |
#define | CSCS_CRDS_FEATURE_BIT (1<<1) |
Crank Revolution Data Supported Feature Mask Bit. | |
#define | CSCS_MSLS_FEATURE_BIT (1<<2) |
Multiple Sensor Locations Supporte Feature Mask Bit. | |
#define | CSCS_ALL_FEATURES (0x3) |
TODO: Set to all supported features. More... | |
Functions | |
void | SvcCscsAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcCscsRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcCscsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
Cycling Speed and Cadence Service Handles | |
#define | CSCS_START_HDL 0x0450 |
Start handle. | |
#define | CSCS_END_HDL (CSCS_MAX_HDL - 1) |
End handle. | |
enum | { CSCS_SVC_HDL = CSCS_START_HDL, CSCS_CSF_CH_HDL, CSCS_CSF_HDL, CSCS_CSM_CH_HDL, CSCS_CSM_HDL, CSCS_CSM_CH_CCC_HDL, CSCS_SL_CH_HDL, CSCS_SL_HDL, CSCS_MAX_HDL } |
Cycling Speed Service Handles. More... | |
Example Cycling 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_cscs.h.