{ "options", "a{sv}" }),
NULL,
characteristic_write_value) },
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
{ GDBUS_ASYNC_METHOD("WriteValuebyType",
GDBUS_ARGS({ "type", "y" }, { "value", "ay" },
{ "options", "a{sv}" }),
NULL,
characteristic_write_value_by_type) },
+#endif
{ GDBUS_ASYNC_METHOD("StartNotify", NULL, NULL,
characteristic_start_notify) },
{ GDBUS_METHOD("StopNotify", NULL, NULL,
return;
}
-#endif
static void notify_chrcs(struct service *service)
{
g_dbus_emit_property_changed(btd_get_dbus_connection(), service->path,
GATT_SERVICE_IFACE,
"Characteristics");
-#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
if (service->primary == true) {
DBG("Notify Service Added");
notify_service_added(service);
}
-#endif
}
+#endif
struct export_data {
void *root;
return true;
}
-
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
static gboolean set_chrcs_ready(gpointer user_data)
{
struct service *service = user_data;
return FALSE;
}
-
+#endif
static void export_service(struct gatt_db_attribute *attr, void *user_data)
{
struct btd_gatt_client *client = user_data;
static struct pending_op *send_read(struct btd_device *device,
struct gatt_db_attribute *attrib,
GDBusProxy *proxy,
- struct queue *owner_queue
+ struct queue *owner_queue,
unsigned int id)
#endif
{