Mistake on this page?
Report an issue in GitHub or email us
Functions
GATT_AND_GAP_SERVICE

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...
 
void SvcCoreGattSetSsf (uint8_t value)
 Set the Server Supported Features (SSF) bitmask. More...
 

GAP Service Handles

#define GAP_START_HDL   0x01
 GAP start handle. More...
 
#define GAP_END_HDL   (GAP_MAX_HDL - 3)
 GAP end handle. More...
 

GATT Service Handles

#define GATT_START_HDL   0x10
 GATT start handle. More...
 
#define GATT_END_HDL   (GATT_MAX_HDL - 1)
 GATT end handle. More...
 

Detailed Description

Macro Definition Documentation

#define GAP_END_HDL   (GAP_MAX_HDL - 3)

GAP end handle.

Definition at line 44 of file svc_core.h.

#define GAP_START_HDL   0x01

GAP start handle.

Definition at line 43 of file svc_core.h.

#define GATT_END_HDL   (GATT_MAX_HDL - 1)

GATT end handle.

Definition at line 52 of file svc_core.h.

#define GATT_START_HDL   0x10

GATT start handle.

Definition at line 51 of file svc_core.h.

Enumeration Type Documentation

anonymous enum

GAP service handle.

Enumerator
GAP_SVC_HDL 

GAP start handle.

GAP service declaration

GAP_DN_CH_HDL 

Device name characteristic.

GAP_DN_HDL 

Device name.

GAP_AP_CH_HDL 

Appearance characteristic.

GAP_AP_HDL 

Appearance.

GAP_CAR_CH_HDL 

Central address resolution characteristic.

GAP_CAR_HDL 

Central address resolution.

GAP_RPAO_CH_HDL 

Resolvable private address only characteristic.

GAP_RPAO_HDL 

Resolvable private address only.

GAP_MAX_HDL 

GAP maximum handle.

Definition at line 64 of file svc_core.h.

anonymous enum

GATT service handles.

Enumerator
GATT_SVC_HDL 

GATT start handle.

GATT service declaration

GATT_SC_CH_HDL 

Service changed characteristic.

GATT_SC_HDL 

Service changed.

GATT_SC_CH_CCC_HDL 

Service changed client characteristic configuration descriptor.

GATT_CSF_CH_HDL 

Client supported features characteristic.

GATT_CSF_HDL 

Client supported features.

GATT_DBH_CH_HDL 

Database hash characteristic.

GATT_DBH_HDL 

Database hash.

GATT_SSF_CH_HDL 

Server supported features characteristic.

GATT_SSF_HDL 

Server supported features.

GATT_MAX_HDL 

GATT maximum handle.

Definition at line 84 of file svc_core.h.

Function Documentation

void SvcCoreAddGroup ( void  )

Add the services to the attribute server.

Returns
None.
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.

Returns
None.
void SvcCoreGapCbackRegister ( attsReadCback_t  readCback,
attsWriteCback_t  writeCback 
)

Register callbacks for the service.

Parameters
readCbackRead callback function.
writeCbackWrite callback function.
Returns
None.
void SvcCoreGapCentAddrResUpdate ( bool_t  value)

Update the central address resolution attribute value.

Parameters
valueNew value.
Returns
None.
void SvcCoreGattCbackRegister ( attsReadCback_t  readCback,
attsWriteCback_t  writeCback 
)

Register callbacks for the service.

Parameters
readCbackRead callback function.
writeCbackWrite callback function.
Returns
None.
void SvcCoreGattSetSsf ( uint8_t  value)

Set the Server Supported Features (SSF) bitmask.

Parameters
valueNew value.
Returns
None.
void SvcCoreRemoveGroup ( void  )

Remove the services from the attribute server.

Returns
None.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.