MPX 250 API Reference Guide
Overview
This article provides a comprehensive reference for the SSH API commands available on the EasyConnect MPX 250. The MPX 250 supports secure shell (SSH) connectivity, allowing system integrators and administrators to remotely configure, monitor, and manage the device via a command line interface and control systems.
By establishing an SSH session with the MPX 250, you can execute API commands to query system information, modify network parameters, manage configuration settings, and troubleshoot device behavior without needing a graphical user interface.
To connect to the MPX 250 command line interface, ensure you have:
- An SSH client (such as PuTTY, Terminal, or control system).
- The IP address of the MPX 250 (accessible via the local network).
- Valid administrator credentials.
SSH command syntax and usage
The following sections detail the command syntax, descriptions, and expected input/output examples for all supported API commands.
| Description | Command | Example |
|---|---|---|
|
Help interface Get information about commands and how to use the interface.
|
|
system: Get complete system information |
|
User information Get/Set information about the logged in user. |
|
|
|
System information Get complete system information. Includes serial numbers, product and firmware version. |
|
{"sn":"10031225310002466","hwId":"O4E8408F63F942","product":"O-PC-4","firmwareversion":"1.3.1.0"} |
|
Config management Get and set the hub configuration. Default should be config values in text. If no argument is supplied, help information is printed. See more information about the specific settings in the Configuration Parameters below. Note that currently the booleans are 0/1 values, and the strings are enums. |
|
|
|
Network information Get and set current network information.
If no argument is supplied, help information is printed. |
|
|
|
Port state and actions Get and set port information. If no argument is supplied, help information is printed. The port state shows active port (0 = no active port) and mode, also connected ports where in = port 1-4 (front) and out = port 5-8 (back). |
|
|
|
Reboot Reboot the hub. The connection will be closed.
|
|
|
|
Events subscription Subscribe to hub events. The subscriptions will create printouts when an event occurs. If no argument is supplied, help information is printed. |
|
|
Configuration Parameters
This section details the configurable parameters and properties available via the API. These parameters allow administrators to customize system behavior, define switching policies, and manage external peripheral integration. Each entry includes the data type, accepted value ranges, and operational descriptions.
| Name | Type | Range | Description |
|---|---|---|---|
adminalwaysoff |
Boolean |
Set to disable admin mode from being activated. |
|
autoswitchconnect |
String |
‘off’ | ‘on’ | ‘always’ |
Enables automatic video/USB switching when connecting device. on means the switching will happen only when nothing else is active.always means the switching will always happen on a new connect. |
|
|
|
|
Enables automatic video/USB switching when disconnecting device. |
|
|
|
|
Controls which ports that trigger automatic switching. |
|
|
|
|
Disable buttons from use. |
|
|
|
|
Disables buttons from use when there is nothing connected to them. |
|
|
|
|
Disables buttons from use when there is nothing connected to them. |
|
|
|
|
Enable to change to default port, instead of no port, when deactivating a port with a button. |
|
|
|
|
Set what charging protocols that should be enabled. |
|
|
|
|
The initial port when booting system. This is also used by other settings: It is the port to change to when triggering auto switch disconnect, it may be the port a button moves to when deactivating a port. It is used in daisy-chain when a downstream hub tells the hub to activate a port. |
|
|
|
|
Disable USB3 and video on ports that are not configured for Windows UC. |
|
|
|
|
Disable all LEDs on the hub hardware. |
|
|
|
|
Enable/disable specific upstream ports. |
|
|
|
|
Enables HDMI CEC toggle. |
|
|
|
|
Time to keep in reset for the HDMI 5V. |
|
|
|
|
Time to keep in reset for the HPD. |
|
|
|
|
Disable the port when it is inactive. |
|
|
|
|
Lock active port so it's not possible to switch away. |
|
|
|
|
Enables resetting UC mode memory when disconnecting devices. |
|
|
|
|
Enables device buttons to cycle between UC/BYOD mode on all buttons. |
|
|
|
|
The default UC mode of individual ports, a set bit means UC mode |
|
|
|
|
Which USB to disable when in UC mode. |
|
|
|
|
If UC mode should be kept even during no active port. |
|
|
|
|
Enables long press to switch UC modes. Value is duration for trigger. |
|
|
|
|
Sets if a manual port change should inherit UC mode. |
|
|
|
|
If UC mode should be remembered after no active port. |
|
|
|
|
Sets if the UC is placed on the extension USB-C port. |
|
|
|
|
The port that has an UC connected. |
|
|
|
|
Disable downstream ports with peripherals when no port is active. |
|
|
|
|
Set the power distribution/balancing mode. |
|
|
|
|
Static power allocation per port. Sets the max allowed power per port. |
|
|
|
|
Enables network sharing through the USB cable to the user laptop. |
|
|
|
|
Protocol for network sharing ( |
|
|
|
|
Enable to allow Touch Controller IO on port 7 (USB-A 1). |
|
|
|
|
Enable to allow Touch Controller IO on port 8 (USB-A 2). |
|
|
|
|
Default UFP port role for upstream ports. Only applicable if |
|
|
|
|
UFP port role for upstream ports. |
|
|
|
|
Set the power distribution/balancing mode. |
|
|
|
|
Time to keep in reset for USB passthrough VBUS DET. |
|
|
|
|
Time to keep in reset for VBUS of the USB-C passthrough ports. |
|
|
|
|
Time to keep in reset for VBUS of the USB-A passthrough ports. |
|
|
|
'off' | 'port' | 'disable |
Enables UC configuration, see other UC settings ("mtr..."). |
