© MuxLab Inc.
Audio 8x8 Matrix Switch Installation Guide
Page 43
4. GET Commands
URL
Response
/var/conn.json
Array of 4 integers.
Contains 4 items for the 4 displays. Each number is the source connected to the associated display. 0 means a display
is disconnected. In the example below, Display 1 is disconnected, Display 2 is connected to Source 3, etc.
Example: [0,3,2,4]
/var/pre1.json
/var/pre2.json
/var/pre3.json
/var/pre4.json
/var/pre5.json
/var/pre6.json
/var/pre7.json
/var/pre8.json
Array of 4 integers.
Provide the connections state of the corresponding preset.
Contains 4 items for the 4 displays. Each number is the source connected to the associated display. 0 means a display
is disconnected. In the example below, Display 1 is disconnected; Display 2 is connected to Source 3, etc.
Example: [0,3,2,4]
/var/boxname.json
Array of a single string.
Contains the name of the box.
Example: [“Classroom B Matrix”]
/var/sources.json
Array of 4 strings.
Contains the names of all 4 input ports.
Example: [“Cable Box”, “Satellite Receiver”, “Demo Reel”, …]
/var/displays.json
Array of 4 strings.
Contains the names of all 4 output ports.
Example: [“Conference Room”, “Cafeteria”, …]
/var/presetnames.json
Array of 8 strings.
Contains the names of all 8 presets
Example: [“Preset 1”, “Preset 2”, “week end”, …]
/var/dhcp.json
Array of a single integer.
Indicate if dhcp is ON ([1]) or OFF ([0])
Example: [1]
/var/auth.json
Array of a single integer.
Contains an integer representing the current user level, from 0 to 2.
Example: [2]
/var/session.json
Array of a single integer.
Represents a new session ID
Example: [3847534]
/var/logout.json
None.
Destroys current session.
/var/mon_status.json
Array of a single integer.
Represents the matrix status. 0 => Ok; 1 => fault; 2 => critical
Example: [1]
/var/serial.json
Array of 4 integers.
Contains the current serial port settings: baud rate, data bits(7 or 8), parity (0=>Even; 1=>Odd; 4=>None) ,stop bits
(0=>1 stop bit; 2=>2 stop bits)
Example: [9600,8,4,0]
/var/ip.json
Array of 4 integers.
Contains the saved IP address (Not the current IP address being used)
Example: [10,0,101,96]
/var/netmask.json
Array of 4 integers.
Contains the saved mask address (Not the current mask address being used)
Example: [255,255,0,0]
/var/router.json
Array of 4 integers.
Contains the saved gateway address (Not the current one being used)
Example: [10,0,1,1]
/var/fwVersion.json
Array of 2 strings.
Contains master firmware version
Example: [“1.0.0”, “0”]