Handle GATT client app's termination
[platform/core/connectivity/bluetooth-frwk.git] / include / bt-internal-types.h
index 39a2da1..c055ded 100644 (file)
@@ -42,6 +42,8 @@ typedef struct {
        bt_battery_app_data app_data[NUM_APP_MAX];
 } bt_battery_dbus_data_t;
 
+typedef void (*bt_adapter_disable_bm_data_cb)(bt_battery_data *data);
+
 typedef enum {
        BT_NO_SERVER,
        BT_NATIVE_SERVER,
@@ -186,6 +188,7 @@ typedef enum {
        BT_GET_RSSI,
        BT_IS_CONNECTABLE,
        BT_SET_CONNECTABLE,
+       BT_GET_CONNECTABLE,
        BT_GET_BONDED_DEVICES,
        BT_RESET_ADAPTER,
        BT_SET_ADVERTISING,
@@ -209,8 +212,6 @@ typedef enum {
        BT_REMOVE_WHITE_LIST,
        BT_CLEAR_WHITE_LIST,
        BT_REGISTER_SCAN_FILTER,
-       BT_UNREGISTER_SCAN_FILTER,
-       BT_UNREGISTER_ALL_SCAN_FILTERS,
        BT_IS_SCAN_FILTER_SUPPORTED,
        BT_GET_PROFILE_CONNECTED_DEVICES,
        BT_ENABLE_FORCE_HCI_DUMP,
@@ -525,6 +526,7 @@ typedef struct {
 
 #define BT_ENABLED "Enabled"
 #define BT_DISABLED "Disabled"
+#define BT_DISABLED_BATTERY_DATA "AdapterDisabledBatteryData"
 #define BT_LE_ENABLED "LeEnabled"
 #define BT_LE_DISABLED "LeDisabled"
 #define BT_DISCOVERABLE_MODE_CHANGED "DiscoverableModeChanged"
@@ -645,6 +647,7 @@ typedef struct {
 #define BT_GATT_CLIENT_WRITE_CHAR "GattWriteCharValue"
 #define BT_GATT_CLIENT_READ_DESC "GattReadDescriptor"
 #define BT_GATT_CLIENT_WRITE_DESC "GattWriteDescriptor"
+#define BT_GATT_CLIENT_SERVICE_CHANGED "GattServiceChanged"
 #endif
 
 #define BT_GATT_REQ_ATT_MTU_CHANGED "GattReqAttMtuChanged"