Extensions to the MyLaps Mutliloop protocol (MLP) have been added to preserve backward compatibility while supporting concepts not included in the original MLP specification. Notably, time zones, team driving, virtual loops and virtual sectors. The Websocket feed carries multiloop (parsed as JSON) plus additional messages.
- Multiloop: timing.usacnation.com:20837
- RMonitor: timing.usacnation.com:20854
- WS: wss://timing.usacnation.com/ws/psc
- Timing: https://timing.usacnation.com/live/?channel=psc
- GPS: https://timing.usacnation.com/gps/?channel=psc
Questions? timing@usacnation.com
- Multiloop: timing.usacnation.com:50003
- RMonitor: timing.usacnation.com:50000
- WS: wss://timing.usacnation.com/ws/sro
- Timing: https://timing.usacnation.com/live/?channel=sro
- GPS: https://timing.usacnation.com/gps/?channel=sro
Questions? srotiming@usacnation.com
- Fixed:
SF, SFPIT, POUT, PIN, IM1, IM2, VIN or VOUT (when used)
- Virtual:
IM(1-99)(a-z) IM1a or IM3c
- Sectors:
S1, S2, S3, PIT, VMAX (when used)
- Virtual:
S(1-99)(a...z) S1a or S3b
Due to the large volume of messages available, you may selectively subscribe to topics other than the defaults. The defaults preserve backwards compatiability but may not suit all use cases. When initially connecting, a "$USAC:SUBSCRIPTIONS" message is sent indicating which messages are subscribed to:
{"command":"$USAC:SUBSCRIPTIONS","subscriptions":["$USAC:STINT","$USAC:AVGPOS","$USAC:POINTS","$USAC:GPS","$USAC:ENTRY","$USAC:TZ","$USAC:WEATHER","$USAC:L","$USAC:S","$USAC:DRIVERID","$USAC:INTPOS","$T","$A","$H","$C","$S","$L","$I","$F","$N","$E","$R","$V","ping","$USAC:SUBSCRIPTIONS"]}
You may adjust this subscription list by issuing a "subscriptions" request. A $USAC:SUBSCRIPTIONS
response will be returned with the new set of subscribed topics.
{"subscriptions":["$H","$USAC:L"]}
'$USAC:STINTS', '$USAC:CAN', '$USAC:POS', '$USAC:STINT', '$USAC:GPS', '$USAC:ENTRY', '$USAC:TZ', '$USAC:WEATHER', '$USAC:L', '$USAC:S', '$USAC:DRIVERID', '$T', '$A', '$H', '$C', '$S', '$L', '$I', '$F', '$N', '$E', '$R', '$V'
Note: Some topics are excluded or rate limited from public endpoints. This is established by each series on a per series basis.
This message is emitted on detecting driver changes for an Entry ($E).
Fieldname | Data description | Comments |
---|---|---|
MLP Entry ID | 0 - 1024 | Entry ID from $E command |
Timestamp | 0-FFFFFFFF | Time in milliseconds (hex characters) |
Driver ID | 0-9 (string) | Driver ID selection for driver, provided by Driver ID hardware in use |
Driver Name | Michael Schumacher | Name of active driver |
Sent when a fixed or virtual sector is completed. Note that virtual sectors may not be included in the $T definition.
Fieldname | Data description | Comments |
---|---|---|
MLP Entry ID | 0 - 1024 | Entry ID from $E command |
Timestamp | 0-FFFFFFFF | Time in milliseconds (hex characters) |
Name | 0-FFFFFFFF | Name of section |
Elapsed time | 0-FFFFFFFF | Time in milliseconds (hex characters) |
The timezone and current timestamp of the on-site USAC data relay routing messages from the MLP and other sub systems.
Fieldname | Data description | Comments |
---|---|---|
Timezone | America/Los_Angeles | IANA Timezone |
Timestamp | 0-FFFFFFFF | Time in milliseconds (hex characters) |
Pro = White #FFFFFF
Pro-Am = Black #000000
Am = Red #E21F26
SRO3 = Red #E21F26
GT2 = Blue #1D3C6F
GT4 = Yellow #F7EC13
Silver = Grey #A3A3A3
Pro-Am = Black #000000
Am = Red #E21F26
TCX = Red #E21F26
TC = Blue #1D3C6F
TCA = Yellow #F7EC13
991 NA = #BF0D2B
991 UW = #BF0D2B
992 M NA = #006298
992 M UW = #006298
992 NA = #BCBCBC
992 UW = #BCBCBC
Cay M NA = #FFCD00
Cay NA = #FFFFFF
Cay UW = #FFFFFF
Cay M UW = #FFCD00
GT3 = #D5001C
Cay = #FFFFFF