![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Example Heart Rate service implementation. More...
Go to the source code of this file.
Macros | |
Heart Rate Error Codes | |
#define | HRS_ERR_CP_NOT_SUP 0x80 |
Control Point value not supported. | |
Functions | |
void | SvcHrsAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcHrsRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcHrsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
Heart Rate Service Handles | |
#define | HRS_START_HDL 0x20 |
Start handle. | |
#define | HRS_END_HDL (HRS_MAX_HDL - 1) |
End handle. | |
enum | { HRS_SVC_HDL = HRS_START_HDL, HRS_HRM_CH_HDL, HRS_HRM_HDL, HRS_HRM_CH_CCC_HDL, HRS_SL_CH_HDL, HRS_SL_HDL, HRS_CP_CH_HDL, HRS_CP_HDL, HRS_MAX_HDL } |
Heart Rate Service Handles. More... | |
Example Heart Rate service implementation.
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 svc_hrs.h.