To get the serial number of the currently connected device.
Command:
DEVICE get serialNumber
Expected return:
+OK "value":"05507793"
To get the firmware version of the currently connected device.
Command:
DEVICE get version
Expected return:
+OK "value":"1.2.0.4"
To reboot the device.
Command:
DEVICE reboot
Expected return:
+OK
To initiate a factory reset of the device.
Command:
DEVICE resetToFactoryDefaults
Expected return:
+OK
A peripheral switch that can switch HDMI and/or USB. This switch is a 3:1 switch, with inputs connected to:
Command:
hostSwitch get input
Expected return:
+OK "value":0
The return value will be a single digit which can be decoded below:
0: UC Input
1: BYOM Input
2: Maintenance Mode
NOTE: ONLY AVAILALBE WHEN “MANUAL HOST SWITCH CONTROL” IS ENABLED
Note: there is no specific getter for maintenance mode – use the get input command instead.
Command:
hostSwitch set maintenance true
hostSwitch set maintenance false
Expected return:
+OK
NOTE: ONLY AVAILALBE WHEN “MANUAL HOST SWITCH CONTROL” IS ENABLED
hostSwitch set input <input – 0 or 1>
The <input> uses the same decoding that the get command uses detailed above – noting that you can only set 0 or 1 for this command and must use the maintenance command above to enable/disable maintenance mode.
Example command:
hostSwitch set input 1
Expected return:
+OK