summaryrefslogtreecommitdiffstats
path: root/adb/protocol.txt
diff options
context:
space:
mode:
authorScott Anderson <saa@android.com>2012-05-25 14:10:02 -0700
committerScott Anderson <saa@android.com>2012-06-05 11:04:55 -0700
commite82c2db05cae70a0490a1f84b7211ef42c329671 (patch)
tree73c3f21c27e31a900c7e7c24722dd03f4698e2fe /adb/protocol.txt
parent3608d832425ca3a6d00c4040f3bb979c5aa49899 (diff)
downloadsystem_core-e82c2db05cae70a0490a1f84b7211ef42c329671.tar.gz
system_core-e82c2db05cae70a0490a1f84b7211ef42c329671.tar.bz2
system_core-e82c2db05cae70a0490a1f84b7211ef42c329671.zip
adb: Transmit key properties in banner of connect message
protocol.txt says that the connect message should have three fields: <systemtype>:<serialno>:<banner> In reality, what is transmitted is simply: <systemtype>:: 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 <banner> 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=<prd>;ro.product.model=<mdl>;ro.product.device=<dev>; 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 <saa@android.com>
Diffstat (limited to 'adb/protocol.txt')
-rw-r--r--adb/protocol.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/protocol.txt b/adb/protocol.txt
index 398d042f1..abd63f90a 100644
--- a/adb/protocol.txt
+++ b/adb/protocol.txt
@@ -72,7 +72,7 @@ large maxdata value, the connection with the other side must be closed.
The system identity string should be "<systemtype>:<serialno>:<banner>"
where systemtype is "bootloader", "device", or "host", serialno is some
kind of unique ID (or empty), and banner is a human-readable version
-or identifier string (informational only).
+or identifier string. The banner is used to transmit useful properties.
--- OPEN(local-id, 0, "destination") -----------------------------------