![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Example Battery service implementation. More...
Go to the source code of this file.
Functions | |
void | SvcBattAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcBattRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcBattCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
void * | SvcBattAddGroupDyn (void) |
Add the battery service using the dynamic attribute subsystem. More... | |
Battery Service Handles | |
#define | BATT_START_HDL 0x60 |
Service start handle. | |
#define | BATT_END_HDL (BATT_MAX_HDL - 1) |
Service end handle. | |
enum | { BATT_SVC_HDL = BATT_START_HDL, BATT_LVL_CH_HDL, BATT_LVL_HDL, BATT_LVL_CH_CCC_HDL, BATT_MAX_HDL } |
Battery Service Handles. More... | |
Example Battery 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_batt.h.