diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt
index 792c899..351b17e 100644
--- a/doc/settings-storage.txt
+++ b/doc/settings-storage.txt
Blocked Boolean True if the remote device is blocked
- Profiles List of List of profiles advertised by remote,
- strings in 128-bits UUID format, separated by
- ";"
+ Services List of List of service UUIDs advertised by
+ strings remote in 128-bits UUID format,
+ separated by ";"
[DeviceID] group contains:
diff --git a/src/adapter.c b/src/adapter.c
index 20682cc..323ba47 100644
--- a/src/adapter.c
+++ b/src/adapter.c
static void convert_profiles_entry(GKeyFile *key_file, void *value)
{
g_strdelimit(value, " ", ';');
- g_key_file_set_string(key_file, "General", "Profiles", value);
+ g_key_file_set_string(key_file, "General", "Services", value);
}
static void convert_entry(char *key, char *value, void *user_data)
diff --git a/src/device.c b/src/device.c
index 96b226f..7bde970 100644
--- a/src/device.c
+++ b/src/device.c
uuids = g_new0(gchar *, g_slist_length(device->uuids) + 1);
for (i = 0, l = device->uuids; l; l = g_slist_next(l), i++)
uuids[i] = l->data;
- g_key_file_set_string_list(key_file, "General", "Profiles",
+ g_key_file_set_string_list(key_file, "General", "Services",
(const gchar **)uuids, i);
} else {
- g_key_file_remove_key(key_file, "General", "Profiles", NULL);
+ g_key_file_remove_key(key_file, "General", "Services", NULL);
}
if (device->vendor_src) {
device_block(device, FALSE);
/* Load device profile list */
- uuids = g_key_file_get_string_list(key_file, "General", "Profiles",
+ uuids = g_key_file_get_string_list(key_file, "General", "Services",
NULL, NULL);
if (uuids) {
gchar **uuid;