Cordio Stack and Cordio Profiles  r2p3-02rel0
Device Information Service

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

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...
 
#define DIS_START_HDL   0x30
 Device Information Service. More...
 
#define DIS_END_HDL   (DIS_MAX_HDL - 1)
 End handle.
 

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.
 

Description

Macro Definition Documentation

#define DIS_START_HDL   0x30

Device Information Service.

Start handle.

Definition at line 39 of file svc_dis.h.

Enumeration Type Documentation

anonymous enum

Device Information Service Handles.

Enumerator
DIS_SVC_HDL 

Information service declaration.

DIS_MFR_CH_HDL 

Manufacturer name string characteristic.

DIS_MFR_HDL 

Manufacturer name string.

DIS_SID_CH_HDL 

System ID characteristic.

DIS_SID_HDL 

System ID.

DIS_MN_CH_HDL 

Model number string characteristic.

DIS_MN_HDL 

Model number string.

DIS_SN_CH_HDL 

Serial number string characteristic.

DIS_SN_HDL 

Serial number string.

DIS_FWR_CH_HDL 

Firmware revision string characteristic.

DIS_FWR_HDL 

Firmware revision string.

DIS_HWR_CH_HDL 

Hardware revision string characteristic.

DIS_HWR_HDL 

Hardware revision string.

DIS_SWR_CH_HDL 

Software revision string characteristic.

DIS_SWR_HDL 

Software revision string.

DIS_RCD_CH_HDL 

Registration certificate data characteristic.

DIS_RCD_HDL 

Registration certificate data.

DIS_MAX_HDL 

Maximum handle.

Definition at line 47 of file svc_dis.h.

48 {
49  DIS_SVC_HDL = DIS_START_HDL, /*!< \brief Information service declaration */
50  DIS_MFR_CH_HDL, /*!< \brief Manufacturer name string characteristic */
51  DIS_MFR_HDL, /*!< \brief Manufacturer name string */
52  DIS_SID_CH_HDL, /*!< \brief System ID characteristic */
53  DIS_SID_HDL, /*!< \brief System ID */
54  DIS_MN_CH_HDL, /*!< \brief Model number string characteristic */
55  DIS_MN_HDL, /*!< \brief Model number string */
56  DIS_SN_CH_HDL, /*!< \brief Serial number string characteristic */
57  DIS_SN_HDL, /*!< \brief Serial number string */
58  DIS_FWR_CH_HDL, /*!< \brief Firmware revision string characteristic */
59  DIS_FWR_HDL, /*!< \brief Firmware revision string */
60  DIS_HWR_CH_HDL, /*!< \brief Hardware revision string characteristic */
61  DIS_HWR_HDL, /*!< \brief Hardware revision string */
62  DIS_SWR_CH_HDL, /*!< \brief Software revision string characteristic */
63  DIS_SWR_HDL, /*!< \brief Software revision string */
64  DIS_RCD_CH_HDL, /*!< \brief Registration certificate data characteristic */
65  DIS_RCD_HDL, /*!< \brief Registration certificate data */
66  DIS_MAX_HDL /*!< \brief Maximum handle. */
67 };
Hardware revision string.
Definition: svc_dis.h:61
Firmware revision string.
Definition: svc_dis.h:59
System ID.
Definition: svc_dis.h:53
Maximum handle.
Definition: svc_dis.h:66
Firmware revision string characteristic.
Definition: svc_dis.h:58
Hardware revision string characteristic.
Definition: svc_dis.h:60
Model number string.
Definition: svc_dis.h:55
Model number string characteristic.
Definition: svc_dis.h:54
Manufacturer name string.
Definition: svc_dis.h:51
#define DIS_START_HDL
Device Information Service.
Definition: svc_dis.h:39
Registration certificate data characteristic.
Definition: svc_dis.h:64
Serial number string characteristic.
Definition: svc_dis.h:56
Information service declaration.
Definition: svc_dis.h:49
Software revision string characteristic.
Definition: svc_dis.h:62
Registration certificate data.
Definition: svc_dis.h:65
Software revision string.
Definition: svc_dis.h:63
Serial number string.
Definition: svc_dis.h:57
Manufacturer name string characteristic.
Definition: svc_dis.h:50
System ID characteristic.
Definition: svc_dis.h:52

Function Documentation

void SvcDisAddGroup ( void  )

Add the services to the attribute server.

Returns
None.
void SvcDisRemoveGroup ( void  )

Remove the services from the attribute server.

Returns
None.