Watchers don't need to reply for characteristic value updates

Value method call doesn't need confirmation. Minor optimization to
not sending method return or error replies.
This commit is contained in:
Claudio Takahasi 2010-08-25 09:53:40 -03:00 committed by Johan Hedberg
parent e4481c09c4
commit cb91573bfd

View File

@ -266,6 +266,7 @@ static void update_watchers(struct primary *prim, struct characteristic *chr)
DBUS_TYPE_ARRAY, DBUS_TYPE_BYTE,
&chr->value, chr->vlen, DBUS_TYPE_INVALID);
dbus_message_set_no_reply(msg, TRUE);
g_dbus_send_message(connection, msg);
}
}