You are on page 1of 14

Remote control and

instrumentation of
Android devices using
TestelDroid
Almudena Díaz Zayas
TestelDroid: Introduction (I)
 Current features offered by TesTelDroid are as follows:
 Network information: Current operator, RAT (Radio Access Technology), cell
identity, LAC (Location Area Code), RSSI (Radio Signal Strength Indicator), PSC
(Primary Scrambling Code).
 Neighboring cell information: PSC, RSSI and type of network (not available for
Samsung based phones, such as Samsung Galaxy S or Nexus S).
 Battery information: Battery level, temperature, voltage and current
consumption. Current consumption isn’t available on Samsung based phones
either, and its refresh interval is dependent on the battery driver.

 GPS information: Longitude, latitude, altitude and speed.


 Traffic: Network traffic (monitoring mode displays only some information of the
packet, such as protocol, IP source/destination or ports involved), using tcpdump

 Besides monitoring and logging, TestelDroid allows:


 Connectivity test: In order to diagnostic connectivity issues
 Ping a host (ping options are configurable)
 Test if a port is open on a specified host
 Traffic test: Server-Client model, allows the transfer of an auto-generated file (size
can be specified) between two devices. Speed is monitored on the server side and
an average size is provided upon completion of the file transfer

2
TestelDroid: Introduction (II)
 Available at Google Play
An implementation for
TestelDroid: Android smartphones
TestelDroid features
Measurements classification
 Support to the field test campaigns
 Measurements are correlated and classified using a timestamps
SCPI based interface
 Standard SCPI port
 Accessible also via ADB
 su – c am broadcast –a com.ad.testel.COMMAND –e
com.ad.testel.EXTRA_COMMAND SET:MEAS:STA
SCPI (Standard Commands for
Programmable Instruments)
 Commands based on the sintaxis defined by IEEE-488.2
Example: Running TestelDroid
to monitor traffic and network
Measurement files
 All the collected data can be logged using highly analyzable
plain text files (except for traffic capture, stored on pcap
format). The parameters to be logged (network, neighbor
cells, battery, GPS, traffic) are configurable.
 Files generated are storage in a folder. The folder name is the
instant of time in which the capture began.
Network_timestamp.log
 Format file
<timestamp> <RAT> <Cell ID> <LAC> <RSSI> <MCC+MNC> <PSC>

Timestamp: “DD/MM/YYYYHH:mm:ss,SSSS”
RAT: GSM, UMTS, HSDPA, LTE
Cell ID: Cell Identifier.
LAC: Location Area Code
RSSI: Radio Signal Strenght IndicatorIntensidad de la señal recibida por el
dispositivo.
MCC+MNC:
PSC: Primary Scrambling Code
GPS_timestamp.log
 Format file
<timestamp> <latitude> <longitude> <speed>

Timestamp: “DD/MM/YYYYHH:mm:ss,SSSS”
Latitude
Longitude
Speed
BATTERY_timestamp.log
 Format file
<timestamp> <power>

Timestamp: “DD/MM/YYYYHH:mm:ss,SSSS”
Power (μW)
NEIGHBOUR_timestamp.log
 Format file
<timestamp> <PSC> <RSSI> <RAT>

Timestamp:
PSC: Primary Scrambling Code
RSSI: Radio Signal Stregth Indicator
RAT