aboutsummaryrefslogtreecommitdiffstats
path: root/docs/ANDROID-QEMUD.TXT
diff options
context:
space:
mode:
authorDavid Turner <>2009-04-14 14:46:08 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-14 14:46:08 -0700
commit94088e208d1cf4bb62e63ec64bf562c07847ef75 (patch)
treeb9bf7585de87708a175f1753dc455b97cc434581 /docs/ANDROID-QEMUD.TXT
parent7d9a2705e7ae6d8c4b1d9d5b4e2a67ab88c19044 (diff)
downloadexternal_qemu-94088e208d1cf4bb62e63ec64bf562c07847ef75.zip
external_qemu-94088e208d1cf4bb62e63ec64bf562c07847ef75.tar.gz
external_qemu-94088e208d1cf4bb62e63ec64bf562c07847ef75.tar.bz2
AI 146184: am: CL 145976 am: CL 145806 Add qemud-version auto-detection logic to android/hw-qemud.c
Document the supported QEMUD services in known Android systems Print "Press F6 to exit trackball mode..." in the window title bar when one activates the persistent trackball mode. The actual text depends on your key binding configuration. Refine the skin directory auto-search paths when an AVD name is not given on the command line. This makes the following work correctly: tools/emulator -sysdir platforms/android-1.5/images -data foo.img Original author: digit Merged from: //branches/cupcake/... Original author: android-build Automated import of CL 146184
Diffstat (limited to 'docs/ANDROID-QEMUD.TXT')
-rw-r--r--docs/ANDROID-QEMUD.TXT18
1 files changed, 14 insertions, 4 deletions
diff --git a/docs/ANDROID-QEMUD.TXT b/docs/ANDROID-QEMUD.TXT
index 6415a47..1364553 100644
--- a/docs/ANDROID-QEMUD.TXT
+++ b/docs/ANDROID-QEMUD.TXT
@@ -92,7 +92,7 @@ Since the "cupcake" platform, this works as follows:
connect:<service>:<id>
- where <service> is the service name, and <id> is a 4-hexchar string
+ where <service> is the service name, and <id> is a 2-hexchar string
giving the allocated channel index for the client.
@@ -181,9 +181,19 @@ This is documented here since this explains some subtleties in the
implementation code of android/hw-qemud.c
The old scheme also used a serial port to allow the daemon and the emulator
-to communicate. Besides, the same multiplexing protocol was used to pass
-messages through multiple channels. However, several other differences
-exist, best illustrated by the following graphics:
+to communicate. However, the multiplexing protocol swaps the position of
+'channel' and 'length' in the header:
+
+ offset size description
+
+ 0 4 4-char hex string giving the payload size
+
+ 4 2 2-char hex string giving the destination or
+ source channel
+
+ 6 n the message payload
+
+Several other differences, best illustrated by the following graphics:
emulator <==serial==> qemud <-+--> /dev/socket/qemud_gsm <--> GSM client
|