This is an old revision of the document!
Free LapCounter Communication Protocol
Port settings | 19200,8,N,1 |
---|---|
Definitions | All commands start with symbol “%” and has a “&” symbol at the end Transponder number is a two digits hexadecimal code (00 to FF) Time uses hexadecimal notation and it is expressed in milliseconds |
Sender | Command | Code | Description |
---|---|---|---|
ZRound | Startup | %C& | ZRound tries to initialize the connection. It is used to verify the decoder is ready. The decoder must answer with an ACK within 500ms otherwise a timeout is fired and connection is discarded |
Ricino | Startup ACK | %A& | Acknowledge the %C& startup command within 500ms |
ZRound | Race start | %I& | ZRound ask to start the race (clock must be set to zero) |
ZRound | Race stopped | %F& | ZRound ask the bridge for stopping the race. No further detection should be sent |
Ricino | Clock | %Thhhhhh& | Clock signal used for sync PC and Decoder clocks. hhhhhh is time in milliseconds hexadecimal coded. Variable code length is allowed. All numbers from T to & is assumed to be the time info |
Ricino | Lap | %LTX[,]hhhhhh& | Lap detected TX=transponder number in hexadecimal * Two digits if “,” si ommited * Variable digit length if used “,” as separator symbol hhhhhh=race time in milliseconds (hexadecimal). Variable time length is valid, time info is coded after TX and before the finish symbol “&” |