When using Android Phones as your Robot Controller and Driver Station devices, there are several steps you need to take in order to get the phones up and running. This section will go through the process of installing a Driver Station and Robot Controller application onto a phone using the REV Hardware Client, as well as the process for renaming your Wi-Fi direct network.
For information on how to pair a configured Android phone with a Control Hub please see our Driver Station Pairing to Control Hub article in the Getting Started with Control Hub section.
In order to install the Driver Station Application onto and Android phone, the phone's developer settings and USB debugging options need to be turned on.
The developer options on Android Devices are hidden within the phone as a default. Different phone manufactures have different ways of accessing the developer options. However, once the developer options are available in the phone's settings, the steps for activating USB debugging and development settings are similar.
Before moving forward it is advised to look up where the developer options on your Android Device are located. For Motorola users, the Motorola Support Page has information on how to unlock the developer options.
Open the Android Devices settings
Scroll to the bottom of the settings, where the unlocked developer options are available. Open the developer options
At the top of the developer options page is an on/off switch. Turn the developer options on.
The device will open a confirmation message. Select 'OK.'
Scroll through the developer options until you find the Debugging section. Turn USB Debugging on.
Another confirmation message will appear, click 'OK.'
USB debugging is now on! You can move on to the steps for installing the application.
The following steps will go through how to install the Driver Station Application via the REV Hardware Client. It is possible to install the application via the app store or via the FTC GitHub repository as well.
Connect the Android Device to a PC with the REV Hardware Client installed.
Startup the REV Hardware Client. Once the Android Device is fully connected it will show up on the front page of the UI under the Hardware Tab. Select the Android Device.
After selecting the Connected Hardware the Update tab will pop up. Under Driver Station App select Download.
Once the Driver Station App has downloaded, select Install.
When the application installation has completed the status for the Driver Station App will change to "Up-to-Date."
Part of the process for configuring your Android Device is changing the Wi-Fi Direct network. The intent of this process is to give your Robot Controller and Driver Station phones an identifiable and unique network name. This is a general best practice when working with networks, but is also a requirement for FIRST programs.
FIRST has specific naming convention requirements for Robot Controllers and Driver Stations. Please check your programs game manual for more information on what you need to name your devices.
Before moving forward it is advised to look up where the Wi-Fi direct options on your Android Device are located. This guide goes over where to make this change on the Moto E5.
Locate settings in the application list for your Android Device. Select the settings application
In the settings application, look for the Wi-Fi or Network & Internet settings and select it.
Note: the naming convention for the network settings will vary depending on device model and manufacturer
In the network settings on Moto E5, scroll to the bottom and look for Wi-Fi preferences. Select Wi-Fi preferences.
Note: on other phone models Wi-Fi Direct settings will likley be found in a different place. Please look up the Wi-Fi direct information for your phone model.
In Wi-Fi preferences select Advanced.
Select Wi-Fi Direct.
In the Wi-Fi Direct settings select the three vertical dots in the upper right hand corner.
Select Configure device.
Change the name of your device to something unique and identifiable. For this example the device has been renamed to REVDemo_DS. It is also good to check the Wi-Fi Direct Inactivity timeout and confirm it is set to Never disconnect. Hit 'save' to confirm your changes.
Note: If you are competing in robotics competitions you may need to follow a Wi-Fi Direct naming convention set by the competition rules. Check any relative documentation to confirm that you are following the correct naming convention.