diff --git a/doc/advertising-api.txt b/doc/advertising-api.txt
index 7a29b70..4daa30b 100644
--- a/doc/advertising-api.txt
+++ b/doc/advertising-api.txt
Possible errors: org.bluez.Error.InvalidArguments
org.bluez.Error.DoesNotExist
-Properties byte AdvertisementInstaces
+Properties byte SupportedInstances
- Number of available advertisement instances.
+ Number of available advertising instances.
diff --git a/src/advertising.c b/src/advertising.c
index 64d5a27..f92d5d3 100644
--- a/src/advertising.c
+++ b/src/advertising.c
g_dbus_emit_property_changed(btd_get_dbus_connection(),
adapter_get_path(client->manager->adapter),
- LE_ADVERTISING_MGR_IFACE,
- "AdvertisementInstances");
+ LE_ADVERTISING_MGR_IFACE, "SupportedInstances");
}
static void client_disconnect_cb(DBusConnection *conn, void *user_data)
g_dbus_emit_property_changed(btd_get_dbus_connection(),
adapter_get_path(client->manager->adapter),
- LE_ADVERTISING_MGR_IFACE,
- "AdvertisementInstances");
+ LE_ADVERTISING_MGR_IFACE, "SupportedInstances");
done:
add_client_complete(client, status);
}
static const GDBusPropertyTable properties[] = {
- { "AdvertisementInstances", "y", get_instances },
+ { "SupportedInstances", "y", get_instances, NULL, NULL,
+ G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
};
static const GDBusMethodTable methods[] = {