From a648e0b133a4e372544c1ddfe2e45084e2b2c50a Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 9 Dec 2013 05:17:38 +0100 Subject: client: also add DeviceID to main dictionary for Attached message --- src/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.c b/src/client.c index 65dc4ce..d902591 100644 --- a/src/client.c +++ b/src/client.c @@ -251,6 +251,7 @@ static int notify_device_add(struct mux_client *client, struct device_info *dev) uint32_t xmlsize = 0; plist_t dict = plist_new_dict(); plist_dict_insert_item(dict, "MessageType", plist_new_string("Attached")); + plist_dict_insert_item(dict, "DeviceID", plist_new_uint(dev->id)); plist_t props = plist_new_dict(); // TODO: get current usb speed plist_dict_insert_item(props, "ConnectionSpeed", plist_new_uint(480000000)); -- cgit v1.1-32-gdbae