How To | Formatting a QRC command
Learn how to properly format a QRC command for optimal results.
Procedure
Every QRC command must meet both of the following requirements:
- It must be a command from the supported commands listed in the help file.
- Each command must be terminated in a null.
For the first requirement, you can find the full list of supported QRC commands in the help file here.
For the second, a zero character following the escape character should be used for the null, as shown here:
\0
The following example shows a correctly formatted StatusGet command:
{"jsonrpc": "2.0", "method": "StatusGet", "id": 1234,"params": 0}\0
And this example shows a correctly formatted Control.Get command requesting the value of the named controls “Gain” and “Mute”:
{"jsonrpc": "2.0","id": 1234,"method": "Control.Get","params": ["Gain","Mute"]}\0