Since commit 65eff5c2 ("client: Rename set-service to service"), data are appended in every run of advertise service with data arguments as below: [bluetooth]# service 1 1 2 [bluetooth]# service UUID: SDP(1) 01 02 .. [bluetooth]# service 1 1 2 3 [bluetooth]# service UUID: SDP(1) 01 02 01 02 03 ..... --- client/advertising.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/advertising.c b/client/advertising.c index e500a2e86..f1b08c0b6 100644 --- a/client/advertising.c +++ b/client/advertising.c @@ -549,6 +549,8 @@ void ad_advertise_service(DBusConnection *conn, int argc, char *argv[]) return; } + ad_clear_service(); + ad.service.uuid = g_strdup(argv[1]); data = &ad.service.data; -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html