device_opcode_mgr_update

Back to SOAP Architecture Method Reference

Description

The device_opcode_mgr_update method updates a specific device control (for example, volume adjustment) in a display unit on your domain.

Parameters

Parameter Description Type Required (R) or Optional (O)
action_on_error Specifies the action to perform if an error occurs:
  • 0 = Nothing
  • 1 = Stop playback
  • 2 = Decrement screen count
bstypes:ActionOnError R
active Indicates whether or not the resource is active. boolean R
device_opcode_type_id The unique ID# of the device control type. bstypes:ResourceId R
device_type The device type:
  • 0 = Serial
  • 1 = TCP (defined)
  • 2 = TCP (specific)
  • 65535 = Unknown
bstypes:DeviceType R
domain_id The unique ID# of your domain. bstypes:ResourceId R
end_time The end time of the device control time span. bstypes:SimpleTime R
id The unique ID# of the device control. bstypes:ResourceId R
name The name of the device control. string R
playback_state The playback state:
  • 0 = Undefined
  • 1 = Started
  • 2 = Stopped
bstypes:PlaybackState R
retries The number of retries if an error occurs on an action attempt. unsignedInt R
start_time The start time of the device control time span. bstypes:SimpleTime R
value The value, if applicable, of the device control, for example, volume = "77". string R
attributes The attributes of the device control. string O
com_port_id The unique ID# of the communication port. bstypes:ResourceId O
drain_bytes Some displays will periodically fill an RS-232 command buffer with unwanted garbage bytes that need to be cleaned out. By specifying a certain amount of bytes to drain, BroadSign Player will read up to that many bytes from the screen and discard the result, creating a clean command buffer to retry the operation. bstypes:NullableInt O
frequency The value of the device control frequency. bstypes:NullableInt O
on_error_device_opcode_id The unique ID# of the device control that executes as a corrective measure if the original device control fails. bstypes:ResourceId O
quiet_time If applicable, the scheduled quiet time of the device control. bstypes:NullableInt O
tcp_host The TCP host information. string O
tcp_port The TCP communication port. int O

Return Values

Value Description Type Required (R) or Optional (O)
id The unique ID# of the updated device control. bstypes:ResourceId R