Return-Path: From: Andrzej Kaczmarek To: CC: Andrzej Kaczmarek Subject: [PATCH v3 10/15] thermometer: Add constant definition for watcher interface name Date: Tue, 9 Oct 2012 13:19:53 +0200 Message-ID: <1349781598-22580-11-git-send-email-andrzej.kaczmarek@tieto.com> In-Reply-To: <1349781598-22580-1-git-send-email-andrzej.kaczmarek@tieto.com> References: <1349781598-22580-1-git-send-email-andrzej.kaczmarek@tieto.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-bluetooth-owner@vger.kernel.org List-ID: --- profiles/thermometer/thermometer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/thermometer/thermometer.c b/profiles/thermometer/thermometer.c index dc716b4..b39fd9b 100644 --- a/profiles/thermometer/thermometer.c +++ b/profiles/thermometer/thermometer.c @@ -44,6 +44,7 @@ #define THERMOMETER_INTERFACE "org.bluez.Thermometer" #define THERMOMETER_MANAGER_INTERFACE "org.bluez.ThermometerManager" +#define THERMOMETER_WATCHER_INTERFACE "org.bluez.ThermometerWatcher" /* Temperature measurement flag fields */ #define TEMP_UNITS 0x01 @@ -1034,7 +1035,7 @@ static void update_watcher(gpointer data, gpointer user_data) DBusMessage *msg; msg = dbus_message_new_method_call(w->srv, w->path, - "org.bluez.ThermometerWatcher", + THERMOMETER_WATCHER_INTERFACE, "MeasurementReceived"); if (msg == NULL) return; -- 1.7.11.3