Changes

Jump to navigation Jump to search
→‎Network protocols: Add a summary of the ports
Line 81: Line 81:  
== Network protocols ==
 
== Network protocols ==
 
Once the kart connects to the "game" network hosted by ''Home Circuit'', it requests an IP address via DHCP, then connects to the Switch via standard TCP/IP to announce its presence. A series of TCP and UDP connections are established to exchange information, stream video, transmit control signals, monitor kart telemetry, etc.
 
Once the kart connects to the "game" network hosted by ''Home Circuit'', it requests an IP address via DHCP, then connects to the Switch via standard TCP/IP to announce its presence. A series of TCP and UDP connections are established to exchange information, stream video, transmit control signals, monitor kart telemetry, etc.
 +
 +
{| class="wikitable" border="1"
 +
|+ Summary of ports
 +
|-
 +
! Protocol
 +
! Endpoint
 +
! Port
 +
! Description
 +
! [[RCD]] service ID
 +
|-
 +
!colspan="5"| Management
 +
|-
 +
|rowspan="5"| TCP
 +
|rowspan="2"| Switch
 +
| 5201
 +
| [[RCD#Handshake protocol|RCD handshake]] service (pairing only)
 +
| 0x0001
 +
|-
 +
| 5202
 +
| RCD handshake service (non-pairing only)
 +
| 0x0001
 +
|-
 +
|rowspan="3"| Kart
 +
| 5103
 +
| "Fuji Control" RCD service
 +
| 0x0100
 +
|-
 +
| 5106
 +
| "Fuji Pairing" RCD service (pairing only)
 +
| 0x0102
 +
|-
 +
| 5107
 +
| "Fuji Update" RCD service
 +
| 0x0103
 +
|-
 +
| UDP
 +
| Kart
 +
| 5004
 +
| Time synchronization
 +
| N/A
 +
|-
 +
!colspan="5"| Video
 +
|-
 +
| UDP
 +
|rowspan="2"| Switch
 +
| 5016+kartid
 +
| "LSP" video streaming
 +
| N/A
 +
|-
 +
| TCP
 +
| 5032+kartid
 +
| "LSP" control channel
 +
| N/A (non-RCD)
 +
|-
 +
!colspan="5"| Control
 +
|-
 +
|rowspan="2"| UDP
 +
| Kart
 +
| 5102
 +
| Teleoperation (throttle, steering, tail light control)
 +
| N/A
 +
|-
 +
| Switch
 +
| 5116+kartid
 +
| Telemetry
 +
| N/A
 +
|}
 +
 +
Note: The ports determined by the kart ID are actually assigned by the Switch and configured via the "Fuji Control" service. The kart itself will actually use any port it is told to use; shown above are how ''Home Circuit'' calculates the port numbers.
    
= Versions =
 
= Versions =
30

edits

Navigation menu