|
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...
|
|
service_generic_attribute.h
service_generic_attribute.h provides an easy way to implement generic attribute service.
◆ GATT_init()
void GATT_init |
( |
bool |
support_service_changed | ) |
|
Initialization function of generic attribute service.
- Parameters
-
support_service_changed | 1: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_handle | Start of Affected Attribute Handle Range |
end_handle | End of Affected Attribute Handle Range |
- Returns
- None.