7. LW3 Programmers’ Reference
UCX series – User's Manual
119
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
8.10.3. Query the Connected Destinations
Command and Response
#autoselect
ç
GET
·/V1/MEDIA/USB/XP/
<host>
.ConnectedDestinations
æ
pr
·/
V1/MEDIA/USB/XP/
<host>
.ConnectedDestinations=H1
Parameters
Parameter
Parameter description
Values
Value description
<host>
USB Host
U1-U4
USB-C and USB-B port number
Example
ç
GET /V1/MEDIA/USB/XP/U3.ConnectedDestinations
æ
pr /V1/MEDIA/USB/XP/U3.ConnectedDestinations=H1
8.10.4.
Lock the USB Port
Command and Response
#lock
ç
SET
·
/V1/MEDIA/USB/XP/
<usb_port>
.Lock=
<locked_state>
æ
pw
·/V1/MEDIA/USB/XP/
<usb_port>
.Lock=
<locked_state>
Parameters
Parameter
Parameter description
Values
Value description
<usb_port>
USB Port
U1-U4
H1
USB-C and USB-B port number
USB hub
<locked_state>
Locked state
true
false
The port is locked
The port is unlocked
Example
ç
SET /V1/MEDIA/USB/XP/U2.Lock=false
æ
pw /V1/MEDIA/USB/XP/U2.Lock=false
8.10.5.
Setting the 5V Sending to the USB Peripherals
The 5V power towards the USB A-type ports can be enabled or disabled as follows:
Command and Response
ç
SET
·
/V1/MEDIA/USB/H1/
<device_id>
.Power5VMode=
<device_pwr>
æ
pw·/V1/MEDIA/USB/H1/
<device_id>
.Power5VMode=
<device_pwr>
Parameters
Parameter
Parameter description
Values
Value description
<device_id>
USB A-type port
D1-D4
Downstream port number
Auto
The host controls the 5V
power sending.
Off
Disable 5V power on USB
downstream port
Example
ç
SET /V1/MEDIA/USB/H1/D1.Power5VMode=Auto
æ
pw /V1/MEDIA/USB/H1/D1.Power5VMode=Auto