| Airoha M0 BLE API 1.0.5.4

service_generic_attribute.h
1 /******************************************************************************
2 Copyright (c) Airoha 2016 - All rights reserved
3
4 FILE NAME
5 service_generic_attribute.h
6 DESCRIPTION
7 NOTES
8 ********************************************************************************/
9 #ifndef __GENERIC_ATTRIBUTE_SERVICE_H_
10 #define __GENERIC_ATTRIBUTE_SERVICE_H_
11
19 #include "ble_gatt_server.h"
20
26 void GATT_init(bool support_service_changed);
27
34 void GATT_service_changed(uint16_t start_handle, uint16_t end_handle);
35
39 #endif
GATT_service_changed
void GATT_service_changed(uint16_t start_handle, uint16_t end_handle)
Indicate GATT client that GATT database has been changed.
GATT_init
void GATT_init(bool support_service_changed)
Initialization function of generic attribute service.