Build, switch Wi-Fi, and deploy
wifi_deploy_startBuild and deploy TeamCode to a REV Control Hub by automatically switching Wi-Fi, installing the APK, and restoring the original network after completion.
Instructions
Build TeamCode while internet is available, start a local background job that switches macOS or Windows to a saved Control Hub Wi-Fi profile, connects ADB, installs the APK, restarts Robot Controller, and restores the original Wi-Fi even after failure. Returns before the network switch so the AI can receive the job ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Run :TeamCode:clean before building | |
| dryRun | No | Preview the build, Wi-Fi, ADB, APK, and return-network plan without changing anything | |
| homeSsid | No | Saved internet Wi-Fi network to restore; defaults to the currently connected SSID | |
| platform | No | Preview override for dryRun; real jobs must match the host OS | |
| robotHost | No | Control Hub host; default 192.168.43.1 | |
| robotPort | No | ADB TCP port; default 5555 | |
| robotSsid | Yes | Saved Control Hub Wi-Fi network name. Connect to it manually once before using this tool | |
| stacktrace | No | Include Gradle stacktrace details on build failure | |
| projectPath | No | Path to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project. | |
| delaySeconds | No | Seconds before Wi-Fi switches, allowing the tool response to reach the AI; default 10 | |
| timeoutSeconds | No | Gradle build timeout; default 600 seconds |