Sound Control Protocol for SpeechLine Digital Wireless

Table Of Contents
SSC Developer‘s guide for SpeechLine Digital Wireless | 51/109
SSC Method List (SL Multi-Channel Receiver DW)
The error message MUST contain an integer numeric value, the error code. The error code SHOULD
be chosen from the SSC Error List detailed in chapter ""12. SSC Error List (SL Multi-Channel Receiver
DW)"".
Examples:
TX: {"out1":{"gain":10}}
RX: {"osc":{"error":[{"out1":[404,{"desc":
"Not found"}]}]}} <-- not found
TX: {"osc":{"version":"1.3"}}
RX: {"osc":{"error":[{"osc":{"version":[406,{"desc":"Not accepted",
"reason":"command is read-only"}]}}]}} <-- read only
TX: {"audio":{"rx1":{"gain":24}}}
RX: {"osc":{"error":[{"audio":{"rx1":{"gain":[406,{"desc":
"Not accepted","reason":"invalid value"}]}}}]}} <-- invalid value
not in range
TX: {"audio":{"out1":{"mixer":{"gain":"-24"}}}}
RX: {"osc":{"error":[{"audio":{"out1":{"mixer":{"gain":[406,
{"desc":"Not accepted","reason":
"integer expected"}]}}}}]}} <-- integer expected
11.5 /osc/schema
Parameter type: String
Permission: Read only
Pre-condition: N.A.
Post-condition: N.A.
Description: The /osc/schema method exists to allow clients to query servers about what address
schemes are available on a specific server. SSC clients MUST be able to understand both bundled
and unbundled replies. The responses are empty JSON objects if the address is an SSC container for
more addresses, JSON null if the address is an SSC method address.
The method /osc/schema may be called with a null parameter. This is equivalent to querying for the
root address schema.
Examples:
TX: {"osc":{"schema":null}}
RX: {"osc":{"schema":[{"audio":{},"device":{},"interface":{},"m":{},
"mates":{},"osc":{},"rx1":{},"rx2":{},"rx3":{},"rx4":{}}]}}
TX: {"osc":{"schema":[{"osc":null}]}}
RX: {"osc":{"schema":[{"osc":{"feature":{},"state":{},"error":null,
"limits":null,"ping":null,"schema":null,"version":null,"xid":null}}]}}
11.6 /osc/limits
Parameter type: String
Permission: Read/Write
Pre-condition: N.A.
Post-condition: N.A.
Description: The /osc/limits method allows clients to query what kind of values and what range are
accepted by the server in an SSC Method call as parameter values. The response of the request is
always a JSON array containing a JSON object describing properties of the addressed SSC Method.
The property list is extensible for application-specific features as well as for revised versions of this
specification.