2015-09-14 23:48:26 +08:00
|
|
|
/** @file
|
|
|
|
* @brief Internal API for Generic Attribute Profile handling.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2016-06-10 17:10:18 +08:00
|
|
|
* Copyright (c) 2015-2016 Intel Corporation
|
2015-09-14 23:48:26 +08:00
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-09-14 23:48:26 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
void bt_gatt_connected(struct bt_conn *conn);
|
|
|
|
void bt_gatt_disconnected(struct bt_conn *conn);
|
2015-09-08 18:47:33 +08:00
|
|
|
|
|
|
|
#if defined(CONFIG_BLUETOOTH_GATT_CLIENT)
|
2015-09-14 23:48:26 +08:00
|
|
|
void bt_gatt_notification(struct bt_conn *conn, uint16_t handle,
|
|
|
|
const void *data, uint16_t length);
|
2015-09-08 18:47:33 +08:00
|
|
|
#else
|
|
|
|
static inline void bt_gatt_notification(struct bt_conn *conn, uint16_t handle,
|
|
|
|
const void *data, uint16_t length)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif /* CONFIG_BLUETOOTH_GATT_CLIENT */
|