Convert advertising HAL from struct into class (1/3)
Bug: 30622771
Test: all related tests were updated
Change-Id: I61381cc57a9c8cd725478ad4e52abce9f857a373
diff --git a/include/hardware/bt_gatt.h b/include/hardware/bt_gatt.h
index 343e5fa..5d59f96 100644
--- a/include/hardware/bt_gatt.h
+++ b/include/hardware/bt_gatt.h
@@ -35,9 +35,6 @@
/** 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. */
@@ -60,7 +57,7 @@
const btgatt_server_interface_t* server;
/** Pointer to the advertiser interface methods.*/
- const ble_advertiser_interface_t* advertiser;
+ BleAdvertiserInterface* advertiser;
} btgatt_interface_t;
__END_DECLS