mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 16:54:38 +08:00
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:
parent
e4481c09c4
commit
cb91573bfd
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user