• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1ANDROID EMULATOR TRANSPORT
2==========================
3
4The Android emulator transport either connects, as a host, to a "Root Canal" virtual controller
5("host" mode), or attaches a virtual controller to the Android Bluetooth host stack ("controller" mode).
6
7## Moniker
8The moniker syntax for an Android Emulator transport is: `android-emulator:[mode=<host|controller>][<hostname>:<port>]`, where
9the `mode` parameter can specify running as a host or a controller, and `<hostname>:<port>` can specify a host name (or IP address) and TCP port number on which to reach the gRPC server for the emulator.
10Both the `mode=<host|controller>` and `<hostname>:<port>` parameters are optional (so the moniker `android-emulator` by itself is a valid moniker, which will create a transport in `host` mode, connected to `localhost` on the default gRPC port for the emulator).
11
12!!! example Example
13    `android-emulator`
14    connect as a host to the emulator on localhost:8554
15
16!!! example Example
17    `android-emulator:mode=controller`
18    connect as a controller to the emulator on localhost:8554
19
20!!! example Example
21    `android-emulator:localhost:8555`
22    connect as a host to the emulator on localhost:8555
23