Airoha M0 BLE API  1.0.5.4
service_generic_attribute.h

Functions

void GATT_init (bool support_service_changed)
 Initialization function of generic attribute service. More...
 
void GATT_service_changed (uint16_t start_handle, uint16_t end_handle)
 Indicate GATT client that GATT database has been changed. More...
 

Detailed Description

service_generic_attribute.h

service_generic_attribute.h provides an easy way to implement generic attribute service.

Function Documentation

◆ GATT_init()

void GATT_init ( bool  support_service_changed)

Initialization function of generic attribute service.

Parameters
support_service_changed1:support/0:not support.
Returns
None.

◆ GATT_service_changed()

void GATT_service_changed ( uint16_t  start_handle,
uint16_t  end_handle 
)

Indicate GATT client that GATT database has been changed.

Parameters
start_handleStart of Affected Attribute Handle Range
end_handleEnd of Affected Attribute Handle Range
Returns
None.