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

Example Device Information Service implementation. More...

Go to the source code of this file.

Macros

Size of Attributes
#define DIS_MAXSIZE_MFR_ATT   20
 Size of manufacturer name string attribute.
 
#define DIS_MAXSIZE_MN_ATT   20
 Size of model number string attribute.
 
#define DIS_MAXSIZE_SN_ATT   20
 Size of serial number string attribute.
 
#define DIS_MAXSIZE_FWR_ATT   16
 Size of firmware revision string attribute.
 
#define DIS_MAXSIZE_HWR_ATT   16
 Size of hardware revision string attribute.
 
#define DIS_MAXSIZE_SWR_ATT   16
 Size of software revision string attribute.
 
#define DIS_SIZE_SID_ATT   8
 Size of system id attribute.
 
#define DIS_SIZE_RCD_ATT   6
 Size of registration certificate data attribute.
 

Functions

void SvcDisAddGroup (void)
 Add the services to the attribute server. More...
 
void SvcDisRemoveGroup (void)
 Remove the services from the attribute server. More...
 

Device Information Service Handles

#define DIS_START_HDL   0x30
 Device Information Service. More...
 
#define DIS_END_HDL   (DIS_MAX_HDL - 1)
 End handle.
 
enum  {
  DIS_SVC_HDL = DIS_START_HDL,
  DIS_MFR_CH_HDL,
  DIS_MFR_HDL,
  DIS_SID_CH_HDL,
  DIS_SID_HDL,
  DIS_MN_CH_HDL,
  DIS_MN_HDL,
  DIS_SN_CH_HDL,
  DIS_SN_HDL,
  DIS_FWR_CH_HDL,
  DIS_FWR_HDL,
  DIS_HWR_CH_HDL,
  DIS_HWR_HDL,
  DIS_SWR_CH_HDL,
  DIS_SWR_HDL,
  DIS_RCD_CH_HDL,
  DIS_RCD_HDL,
  DIS_MAX_HDL
}
 Device Information Service Handles. More...
 

Description

Example Device Information 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_dis.h.