© MuxLab Inc.
ProDigital Network Controller (MNC)
Page 223
5.3.2
Get all presets
Description:
The system will retrieve all the preset ID and name
Command:
{"p_targetId":
<systemID>
,"p_cmd":"
get_presets
","p_userName":"
<MNC
User Name >
","p_password":"
<MNC password>
"}
Response:
{"p_targetId":
<systemID>
,"p_cmd":"
get_
presets
","p_rspStatus:"
SUCSES
S
","p_msg":"
<a_message>
","p_data":
[{"presetId":"<value>","presetIdv":"<v
alue>","presetName":"<value>"},{ … }, …]}
5.3.3
Connect/disconnect device
Description:
Perform a connect/disconnect
Command:
{"p_targetId":
<systemID>
,"p_cmd":"
connection
","p_userName":"
<MNC
User Name>
","p_password":"
<MNC password>
"
,"p_data":[{"portOut":"<output
#>","portIn":"<input #>"}, {…}, …]}
- To disconnect, set input # = "0”
Response:
{"p_targetId":
<systemID>
,"p_cmd":"
connection
","p_rspStatus":"
SUCCS
ESS
","p_msg":"
<a message>
","p_data":
[{
"portOut":"<output #>","portIn":"<input
#>"
,"rspStatus ":"SUCCESS or FAILED","msg":""}, …]}
5.3.4
Update some ports attributes
Description:
The system will update the ports specified with the new attributes provided.
Command:
{"p_targetId":
<systemID>
,"p_cmd":"
update_devices
","p_userName":"
<M
NC User Name>
","p_password":"
<MNC password>
"
,"p_data":[{"<port to
update>":"<port #>",
<attribute name>:<attribute value>
,…"}, {"<port to
update>":"<port #>",
<attribute name>:<attribute value>
,…},…]}
Values of
<port to update>
:
"portIn"
or
"portOut
"
List of attribute names that can be modified: