Supported Commands

 

Serial Number 

To get the serial number of the currently connected device. 

Command: 

DEVICE get serialNumber 

Expected return: 

+OK "value":"05507793" 

 

Firmware Version 

To get the firmware version of the currently connected device. 

Command: 

DEVICE get version 

Expected return: 

+OK "value":"1.2.0.4" 

 

Reboot Device 

To reboot the device. 

Command: 

DEVICE reboot 

Expected return: 

+OK 

 

Factory Reset Device 

To initiate a factory reset of the device. 

Command: 

DEVICE resetToFactoryDefaults 

Expected return: 

+OK 

 

HDMI/USB Host Switch Control 

A peripheral switch that can switch HDMI and/or USB. This switch is a 3:1 switch, with inputs connected to: 

 

Get the currently selected input: 

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 

 

Set 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 

 

Set the currently selected input: 

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