This document outlines various features of DriverStation and its networking protocol

Using DriverStation

Comms Protocol

The “Secret DS protocol”

There is a protocol built into the driverstation that is used by gradleRIO and NetowrkTables to find the robot’s ip address. To read this data, open a TCP connection to localhost on port 1742 on a computer running driverstation. A JSON string will be returned containing the magical data!

This was found in the NetworkTables Native library