7. Lightware REST API Reference
UCX series – User's Manual
88
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
7.10.9.
Change the USB Port Priority
DIFFERENCE:
This command is available only from FW package 1.1.0b7.
Request and Response
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/USB/AUTOSELECT/H1/
<host>
/Priority·HTTP/1.1
ɯ
body:
<prio_num>
ɮ
header:
200 OK
ɮ
body:
<prio_num>
Parameters
Parameter
Parameter description
Values
Value description
<host>
USB Host
U1-U4
USB-C and USB-B port number
<prio_num>
Priority number from 1 to 100, equal
numbers are allowed.
1-100
1: the highest priority
100: the lowest priority
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/USB/AUTOSELECT/H1/U1/Priority HTTP/1.1
ɯ
body: 51
ɮ
header:
200 OK
ɮ
body: 51
7.11.
USB Port Settings - USB-C Related Commands
7.11.1.
Set USB-C Power
Request and Response
#power
ɯ
header:
POST·http://
<ip>
/api/V1/SYS/MB/USBCPOWER/PowerLimit·HTTP/1.1
ɯ
body:
<power>
ɮ
header:
200 OK
ɮ
body:
<power>
Parameters
Parameter
Parameter description
Values
Value description
<power>
Power limit to the USB-C ports
0
1
2
Equal output power on the two ports (30W each)
Port1 maximum, Port2 minimum (60W for U1)
Port1 minimum, Port2 maximum (60W for U2)
Example
ɯ
header:
POST http://192.168.0.50/api/V1/SYS/MB/USBCPOWER/PowerLimit HTTP/1.1
ɯ
body: 2
ɮ
header:
200 OK
ɮ
body: 2
7.11.2.
Set Displayport Alternate Mode Policy
Request and Response
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/USB/
<usb-c_port>
/DpAltModePolicy·HTTP/1.1
ɯ
body:
<dp_policy>
ɮ
header:
200 OK
ɮ
body:
<dp_policy>
Parameters
Parameter
Parameter description
Values
Value description
<usb-c_port>
USB-C port number
U1-U2
USB-C port number
<dp_policy>
The preferred
video or USB data
transmission
Auto
Force C
Force D
Auto:
Taurus offers both operation modes described
below. BYOD device can choose between the two.
Neither USB3, nor 4 lane DP Alt mode operation
(4K@60) is guaranteed. BYOD devices supporting
USB3.x usually choose shared mode: USB3.1 and 2
lane DP.
Prefer video
: all the four lanes reserved for video
transmission, USB 3.1 data transmission does not
operate.
Prefer USB 3.1:
2 lanes are reserved for USB 3.1,
2 lanes for video.
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/USB/U2/DpAltModePolicy HTTP/1.1
ɯ
body: Auto
ɮ
header:
200 OK
ɮ
body: Auto
ATTENTION!
Changing DpAltModePolicy is recommended before connecting a computer to the input.