Cordio Stack and Cordio Profiles  r2p3-02rel0
svc_gls.h File Reference

Example Glucose service implementation. More...

Go to the source code of this file.

Macros

Error Codes
#define GLS_ERR_IN_PROGRESS   0x80
 Procedure already in progress.
 
#define GLS_ERR_CCCD   0x81
 CCCD improperly configured.
 

Functions

void SvcGlsAddGroup (void)
 Add the services to the attribute server. More...
 
void SvcGlsRemoveGroup (void)
 Remove the services from the attribute server. More...
 
void SvcGlsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback)
 Register callbacks for the service. More...
 

Glucose Service Handles

#define GLS_START_HDL   0xF0
 Start handle.
 
#define GLS_END_HDL   (GLS_MAX_HDL - 1)
 End handle.
 
enum  {
  GLS_SVC_HDL = GLS_START_HDL,
  GLS_GLM_CH_HDL,
  GLS_GLM_HDL,
  GLS_GLM_CH_CCC_HDL,
  GLS_GLMC_CH_HDL,
  GLS_GLMC_HDL,
  GLS_GLMC_CH_CCC_HDL,
  GLS_GLF_CH_HDL,
  GLS_GLF_HDL,
  GLS_RACP_CH_HDL,
  GLS_RACP_HDL,
  GLS_RACP_CH_CCC_HDL,
  GLS_MAX_HDL
}
 Glucose Service Handles. More...
 

Description

Example Glucose service implementation.

Copyright (c) 2012-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_gls.h.