R5905948 /12 Event Master Devices558
• Request:
- params: {"id":x },
“x” can be:
◦ –1: List all Presets.
◦ 0–999: list only that specific Preset.
• Response:
- response: Array of: [{"id": 0, "Name": "Preset3.00", "LockMode": 0, "presetSno":
3.00, "ScreenDest":[{"id": 0}, {"id": 3}],"AuxDest":[{"id": 0},
{"id": 1}]}]
◦ Response contains the array of Presets.
- success: (0=success, anything else is an error)
• Example:
- { "params":{"id": 0}, "method":"listDestinationsForPreset", "id":"1234",
"jsonrpc":"2.0"}
savePreset
• Definition:
- Creates a Preset on the Event Master processor.
• Request:
- params: {"presetName": "NewPreset", "ScreenDestination":[{"id": 2}, {"id": 3}],
"AuxDestination":[{"id": 1}, {"id": 2}]}
◦ “presetName”—Name of the Preset to save.
◦ ScreenDestinations—ScreenDest id for the Preset to be created.
◦ AuxDestinations—AuxDest id for the Preset to be created.
◦ ScreenDestination, AuxDestinations are optional parameters. If user didn’t provide it, Preset will be
saved for selected destinations.
• Response:
- response: null
- success: (0=success, anything else is an error)
• Example:
- {"params": {"presetName": "NewPreset"}, "method":"savePreset", "id":"1234",
"jsonrpc":"2.0"}
- {"params": {"presetName": "NewPreset", "ScreenDestination":
{"id": 0},"AuxDestination":{"id": 0}}, "method":"savePreset", "id":"1234",
"jsonrpc":"2.0"}
Key points regarding Preset, which are same for rename, activate, and delete:
- “id”—id of the preset.
- “presetSno”—preset serial number. User can provide floating point number if required. Eg. "presetSno":
1.01, "presetSno": 1.00, "presetSno": 1, "presetSno": 1.1, "presetSno": 1.10.
Kindly note that 1.1 and 1.10 or 1.00 and 1 are same.
- “presetName”—Name of the preset.
renamePreset
• Definition:
- Rename a Preset on the Event Master processor. User can rename Preset with id, Preset serial
number, or Preset name.
- Send any one of the parameters to rename Preset.
• Request params:
- params: {"id": x, "newPresetName": "NewPresetName"}
- params: {"presetSno": x.y, "newPresetName": "NewPresetName"}
- params: {"presetName": "OldPresetName", "newPresetName": "NewPresetName"}
◦ “newPresetName”—New Preset name to set.
• Response:
- response: null
Remote Control Protocol