To set protocol version used for this connection, the host sends
SETPROTOCOL;[<=]2.3<Version><CrLf>
where <Version> is the protocol version number. The version described in this document is 2.0.
Since protocol version 2.3 an optional <= can be specified to set the protocol version to the max. available version that is not greater than the given version.
The decoder responds with:
SETPROTOCOL;<VersionOrStatus>[;MinVersion;MaxVersion]2.3
Where <VersionOrStatus> is:
|
ERROR |
if the request could not be parsed |
|
UNKNOWN_VERSION |
if the requested version is unknown/not available |
|
<Version> |
otherwise |
and MinVersion and MaxVersion are the minimal respectively maximal supported protocol version.
Protocol version
Available since protocol version 1.1
Example
← SETPROTOCOL;1.4<CrLf> → SETPROTOCOL;1.4<CrLf>