Ports that are guaranteed open on the field (from the manual):
Quote:
Once plugged in to the Field Management System via the Ethernet cable provided, the ports that the teams will be able to access on the playing field are as follows:
– TCP 1180: This port is typically used for camera data from the cRIO to the DS when the camera is connected to port 2 on the cRIO. This port is bidirectional on the field.
– TCP 1735: SmartDashboard, bidirectional
– UDP 1130: Dashboard-to-Robot control data, directional
– UDP 1140: Robot-to-Dashboard status data, directional
– HTTP 80: Camera connected via switch on the robot, bidirectional
– HTTP 443: Camera connected via switch on the robot, bidirectional
All these ports are open on the playing field, so a team can use them as they wish if they do not employ them as outlined above (i.e. TCP 1180 can be used to pass data back and forth between the robot and the DS if the team chooses not to use the camera on port 2).
|
If you're not planning to use this on the field, then you have a lot more choices. If you're operating in a closed system (with only things you control talking on the network, i.e. your robot), you can basically pick any UDP port you want. I like to use 1124 (for obvious reasons). The only ports where other things might be operating are TCP 80 (HTTP), TCP 21 (FTP), and 22 (SSH). Basically, you can use any port not already in use on the network (which very well may be any port you want).