Separate advertiser from GATT client (3/4)
Bug: 30622771
Change-Id: Ib9f9a27a2d1a7945b05a1c985cf78b46f4b97026
diff --git a/include/hardware/bt_gatt.h b/include/hardware/bt_gatt.h
index 42e14c2..343e5fa 100644
--- a/include/hardware/bt_gatt.h
+++ b/include/hardware/bt_gatt.h
@@ -19,6 +19,7 @@
#define ANDROID_INCLUDE_BT_GATT_H
#include <stdint.h>
+#include "ble_advertiser.h"
#include "bt_gatt_client.h"
#include "bt_gatt_server.h"
@@ -34,6 +35,9 @@
/** GATT Server callbacks */
const btgatt_server_callbacks_t* server;
+
+ /** Advertiser callbacks */
+ const ble_advertiser_callbacks_t* advertiser;
} btgatt_callbacks_t;
/** Represents the standard Bluetooth GATT interface. */
@@ -54,6 +58,9 @@
/** Pointer to the GATT server interface methods.*/
const btgatt_server_interface_t* server;
+
+ /** Pointer to the advertiser interface methods.*/
+ const ble_advertiser_interface_t* advertiser;
} btgatt_interface_t;
__END_DECLS