6.LW2Programmer'sReference
HDMI-TPS-TX200series–User'sManual
74
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
6.4.11.
Change Audio Input Priority
Thesettingsoftheaudioinputprioritycanbechangedasfollows.
Command and Response
{PRIO_A
<out>
=
<in1_prio>
;
<in2_prio>
;
<in3_prio>
;
<in4_prio>
;
<in5_prio>
}
(PRIO_A
<out>
=
<in1_prio>
;
<in2_prio>
;
<in3_prio>
;
<in4_prio>
;
<in5_prio>
)CrLf
Parameters
Seetheprevioussection.
Example
{as_a1=1;0;2;3;4}
(AS_A1=1;0;2;3;4)
Input2hasthehighestpriority(0),Input1hasthesecondhighest(1).Input5hasthelowestpriority(4).
ATTENTION!
Alwayssetallthepriorityoftheportswhenchanging,otherwise,thechangewillnotbe
executedandtheresponsewillbethecurrentsetting(likequeryingtheprioritysetting).
INFO:
Inthiscase,theoutputsarelinked;thechangewillaffectbothlocalandTPSoutputports.
INFO:
Theaudioprioritiescanbequeriedbytypingthe{prio_a
<out>
=?}command.
6.5. GPIO Configuration
6.5.1.
Set Level and Direction for Each Pins
GPIO pins can be configured as follows. See more details about GPIO connector in the
section and about the interface in the
Command and Response
{GPIO<
pin_nr
>=<
dir
>;<
level
>}
(GPIO<
pin_nr
>=<
dir
>;<
level
>)CrLf
Parameters
Identifier
Parameterdescription
Parametervalues
<pin_nr>
GPIOpinnumber
0 - 7
<dir>
The direction of the communication
I:
input;
O:
output
<level>
The level of the pin
L:
low;
H:
high;
T:
toggle
Example
{gpio1=O;H}
(GPIO1=O;H)
GPIOpin1issettooutputwithhighlevel.
INFO:
ThecurrentGPIOpinconfigurationcanbequeriedbytypingthe{GPIO<pin_nr>=?}command.
6.6. Network Configuration
6.6.1. Query the Current IP Status
IPaddresssettingscanbequeriedasfollows.
#dhcp #ipaddress
#network
Command and Response
{IP_STAT=?}
(IP_STAT=
<type>
;
<ip_address>
;
<subnet_mask>
;
<gateway_addr>
)CrLf
Parameters
Identifier
Parameterdescription
Parametervalues
<type>
AssignmentoftheIPaddress
0:
static
1:
dynamic(DHCP)
<ip_addr>
IPaddress
(four decimal octets separated by dots)
<subnet_mask>
Subnetmask
(four decimal octets separated by dots)
<gateway_addr>
Gateway address
(four decimal octets separated by dots)
Example
{ip_stat=?}
(IP_STAT=0;192.168.0.100;255.255.255.0;192.168.0.1)
Thedevicehasastatic(fix)IPaddress:192.168.0.100;thesubnetmaskis255.255.255.0,thegateway
addressis192.168.0.1.
6.6.2.
Set the IP Address
IPaddresscanbesetasfollows.
Command and Response
{IP_ADDRESS=
<type>
;
<ip_address>
}
(IP_ADDRESS=
<type>
;
<ip_address>
)CrLf
Parameters
Seetheprevioussection.
Example
{ip_address=0;192.168.0.110}
(IP_ADDRESS=0;192.168.0.110)
INFO:
TheIPaddresscanbequeriedbytypingthe“ip_address=?”command.Theresponsecontainsthe
fixIPaddressthatisstoredinthedeviceevenifDHCPisenabled;inthiscase,thisIPaddressisnotvalid.