DIMAX804KC User’s Manual
DEXON Systems
53
7 PROGRAMMING SAMPLES
The first steps should be the following:
Log in with username and password into 6464 port (WS: 6466):
<setup version="1">
<username>Administrator</username>
<password> f24850daaaca9ec1e55e43fa50d006e3</password>
</setup>
The reply message will describe the permissions for the user:
<setup standalone="Yes” admin="Yes">
<permissions>
<config_input>Yes</config_input>
<config_output>Yes</config_output>
<custom_output_timing>Yes</custom_output_timing>
<video_control>Yes</video_control>
<audio_control>Yes</audio_control>
<modify_layout>Yes</modify_layout>
<run_layout>Yes</run_layout>
</permissions>
</setup>
Note
: When the socket is closed the authenticated connection is terminated, therefore you have
to keep the socket interface open while you would like to control the Device. If the authentication
is terminated you will get this error message: Client is not authenticated!
7.1
Programming Samples for Matrix Switcher Subsystem
The reply message of the <query_device_info /> request will be like this:
<device_info>
<type>DIMAX804K</type>
<sw_label>DX20170915</sw_label>
<state>Ready</state>
<num_layouts>32</num_layouts>
<num_inputs>4</num_inputs>
<num_outputs>4</num_outputs>
<num_overlays>1</num_overlays>
<transition_effect>Cut</transition_effect>
<transition_effect>Fade</transition_effect>
<input id="1">
<decoder>D4IN-HA4</decoder>
<port>HDMI</port>
<audio_port>Embedded</audio_port>
<audio_port>Analogue</audio_port>
<preview />
<hdcp_config />
<edid_config />
</input>
…
<output id="1">
<background_image_cap>No</background_image_cap>