![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Example GATT and GAP service implementations. More...
Go to the source code of this file.
Functions | |
void | SvcCoreAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcCoreRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcCoreGattCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
void | SvcCoreGapCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
void | SvcCoreGapCentAddrResUpdate (bool_t value) |
Update the central address resolution attribute value. More... | |
void | SvcCoreGapAddRpaoCh (void) |
Add the Resolvable Private Address Only (RPAO) characteristic to the GAP service. The RPAO characteristic should be added only when DM Privacy is enabled. More... | |
GAP Service Handles | |
#define | GAP_START_HDL 0x01 |
GAP start handle. | |
#define | GAP_END_HDL (GAP_MAX_HDL - 3) |
GAP end handle. | |
enum | { GAP_SVC_HDL = GAP_START_HDL, GAP_DN_CH_HDL, GAP_DN_HDL, GAP_AP_CH_HDL, GAP_AP_HDL, GAP_CAR_CH_HDL, GAP_CAR_HDL, GAP_RPAO_CH_HDL, GAP_RPAO_HDL, GAP_MAX_HDL } |
GAP service handle. More... | |
GATT Service Handles | |
#define | GATT_START_HDL 0x10 |
GATT start handle. | |
#define | GATT_END_HDL (GATT_MAX_HDL - 1) |
GATT end handle. | |
enum | { GATT_SVC_HDL = GATT_START_HDL, GATT_SC_CH_HDL, GATT_SC_HDL, GATT_SC_CH_CCC_HDL, GATT_MAX_HDL } |
GATT service handles. More... | |
Example GATT and GAP service implementations.
Copyright (c) 2009-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_core.h.