From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Santiago Carot-Nemesio To: linux-bluetooth@vger.kernel.org Cc: Santiago Carot-Nemesio Subject: [PATCH 9/9] Set Intermediate property if intermediate temp. characteristic is supported Date: Mon, 19 Sep 2011 10:52:39 +0200 Message-Id: <1316422359-16167-10-git-send-email-sancane@gmail.com> In-Reply-To: <1316422359-16167-9-git-send-email-sancane@gmail.com> References: <1316422359-16167-1-git-send-email-sancane@gmail.com> <1316422359-16167-2-git-send-email-sancane@gmail.com> <1316422359-16167-3-git-send-email-sancane@gmail.com> <1316422359-16167-4-git-send-email-sancane@gmail.com> <1316422359-16167-5-git-send-email-sancane@gmail.com> <1316422359-16167-6-git-send-email-sancane@gmail.com> <1316422359-16167-7-git-send-email-sancane@gmail.com> <1316422359-16167-8-git-send-email-sancane@gmail.com> <1316422359-16167-9-git-send-email-sancane@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: --- thermometer/thermometer.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/thermometer/thermometer.c b/thermometer/thermometer.c index 0178e99..fdf459e 100644 --- a/thermometer/thermometer.c +++ b/thermometer/thermometer.c @@ -258,7 +258,8 @@ static void process_thermometer_char(struct characteristic *ch) GAttribResultFunc func; if (g_strcmp0(ch->attr.uuid, INTERMEDIATE_TEMPERATURE_UUID) == 0) { - /* TODO: Change intermediate property and emit signal */ + gboolean intermediate = TRUE; + change_property(ch->t, "Intermediate", &intermediate); return; } else if (g_strcmp0(ch->attr.uuid, TEMPERATURE_TYPE_UUID) == 0) func = read_temp_type_cb; -- 1.7.6.1