OpenETS Plugin Reference/en
Version vom 21. September 2018, 16:50 Uhr von Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Protocol == Expecco connects to the client which listens on its OpenETS port. The default port is 8866. Every request packet is surrounded by SOF (Start o…“)
Protocol[Bearbeiten]
Expecco connects to the client which listens on its OpenETS port. The default port is 8866.
Every request packet is surrounded by SOF (Start of Frame) and EOF (End of Frame) bytes. SOF is 0x00 / EOF is 0xFF.
Requst Packet Format (Expecco -> Application)[Bearbeiten]
0x00 <id> 8 bytes of unique ID <requestID> 4 bytes request-Nr (sequential nr, MSB) <xPathLen> 4 bytes of length of path, MSB) <reqTypeLen> 4 bytes of length of request type, MSB) <argsLen> 4 bytes of length of arguments, MSB) <xPath> xPathLen bytes <reqType> reqTypeLen bytes <args> argsLen bytes 0xFF