From e82c2db05cae70a0490a1f84b7211ef42c329671 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 25 May 2012 14:10:02 -0700 Subject: adb: Transmit key properties in banner of connect message protocol.txt says that the connect message should have three fields: :: In reality, what is transmitted is simply: :: The serialno is obtained via other means so doesn't really need to be a part of the connect message. This change puts the ro.product.name, ro.product.model and ro.product.device properties in the for devices. Each property is terminated by a semicolon (;) with the key and value separated by an equals sign (=). Example message: device::ro.product.name=;ro.product.model=;ro.product.device=; Making this change will enable the device list to provide more information to the user and to give the potential for being able to select which device to talk to with the -s option. Change-Id: I09200decde4facb8fc9b4056fdae910155f2bcb9 Signed-off-by: Scott Anderson --- adb/adb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'adb/adb.h') diff --git a/adb/adb.h b/adb/adb.h index b99d7ac8..e095d70a 100644 --- a/adb/adb.h +++ b/adb/adb.h @@ -185,6 +185,8 @@ struct atransport /* used to identify transports for clients */ char *serial; char *product; + char *model; + char *device; char *devpath; int adb_port; // Use for emulators (local transport) -- cgit v1.2.3