Hub Connect Over Wi-Fi#

This is somewhat of a complex process and will require a lot of steps:

  • Make sure ADB is installed on your computer

  • Open Android Studio Settings

  • Open up the external tools portion

screenshot

  • Hit the + button to add an external tool

  • Fill out the description and activities for the tool

    • Name: HUB connect over Wi-Fi direct

    • Program: $ModuleSdkPath$/platform-tools/adb

    • Arguments: connect 192.168.43.1:5555

    • Working Directory: $ProjectFileDir$

  • Then hit OK and Apply and then you can close the settings

Now we will add this tool to your toolbar for ease of use:

  • Right-click on your toolbar

  • Click customize toolbar

  • Click + and “add action…”

  • Select the external tool we just made and choose the icon you want

  • Hit OK and move it to where you want it to be ordered in your toolbar

  • Simply connect to your robot’s Wi-Fi and hit the button to connect to it wireless!