Response Structure:
Upon receiving a command the soundbar will execute the command and send back a response.
The response starts with an "@" sign (ASCII 0x23), followed by the original command code and a
•
space (ASCII 0x20), and a result code, either "OK" or "ER".
If there are any parameters or additional messages, the parameters or messages are given in text
•
format, separated by a space (ASCII 0x20) from the result code.
•
The "@" character (ASCII 0x40) must never appear in the parameters or message.
A carriage return (ASCII 0x0d) indicates the end of response. Each response generally may not exceed
•
25 bytes including the start of response and the end of response bytes.
The illustration of the response structure is as follows.
•
<Response> = <Start of Response><Command Code><sp><Result Code>[<sp><Parameters>]<End of
Response>
<Start of Response> = @, ASCII 0x40
<Command Code> = <byte><byte><byte>
<Result Code> = OK|ER
<sp> = space, ASCII 0x20
<Parameters> = command-specific
<End of Response> = CR, ASCII 0x0d