
7. LW3 Programmer's Reference
HDMI-3D-OPT series – User's Manual
63
7.7.
Audio Port Settings
INFO: Audio port numbering can be found in the
section.
7.7.1. Query the Status of Source Ports
Command format
:
GET
●
/MEDIA/AUDIO/XP.SourcePortStatus
Response format
:
pr
●
/MEDIA/AUDIO/XP.SourcePortStatus=[<I
1
>;<I
2
>;...;< I
n
>]
The response contains 5 ASCII characters for each port. The first character indicates the mute/lock state,
the next four characters represent a 2-byte HEX code showing the current state of the input ports.
Example:
˃
GET /MEDIA/AUDIO/XP.SourcePortStatus
˂
pr /MEDIA/AUDIO/XP.SourcePortStatus=T000F;M000B;T000A;T000A;T000F;T000F
Legend:
Example and Explanation (for input 2, M000B):
M
0
0
0
B
Unlocked,
Muted
0 0
0 0
0 0
0 0
0 0
0 0
1 0
1 1
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
No signal
Connected
Letter (Character 1)
Mute state
Lock state
T
Unmuted
Unlocked
L
Unmuted
Locked
M
Muted
Unlocked
U
Muted
Locked
Byte 1
Byte 2
Character 2
Character 3
Character 4
Character 5
BIT 7-6
BIT 5-4
BIT 3-2
BIT 1-0
BIT 7-6
BIT 5-4
BIT 3-2
BIT 1-0
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Signal
present
status
Connection
status
0 0
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Unknown
0 1
Reserved
1 0
No signal
Not
connected
1 1
Signal
presents
Connected
T 0 0 0 F
Mute / Lock status
Reserved character, always 0.
Reserved character, always 0.
Reserved character, always 0.
Signal present / Connection status
Letter
Byte 1
Byte 2
The Most Common Received Port Status Responses
T000A
T
0
0
0
A
Unlocked,
Unmuted
0 0
0 0
0 0
0 0
0 0
0 0
1 0
1 0
Reserved Reserved Reserved Reserved Reserved Reserved
No signal
Not connected
T000B
T
0
0
0
B
Unlocked,
Unmuted
0 0
0 0
0 0
0 0
0 0
0 0
1 0
1 1
Reserved Reserved Reserved Reserved Reserved Reserved
No signal
Connected
T000F
T
0
0
0
F
Unlocked,
Unmuted
0 0
0 0
0 0
0 0
0 0
0 0
1 1
1 1
Reserved Reserved Reserved Reserved Reserved Reserved
Signal presents
Connected
Only for Phoenix audio port:
Character 5 is C (11 00) which means signal is present but the cable connection
status is unknown. The explanation is Phoenix connector has no pin which can indicate the connection
status so this is always unknown.
T000C
T
0
0
0
C
Unlocked,
Unmuted
0 0
0 0
0 0
0 0
0 0
0 0
1 1
0 0
Reserved Reserved Reserved Reserved Reserved Reserved
Signal presents
Unknown
7.7.2. Query the Status of Destination Port
Command format
:
GET
●
/MEDIA/AUDIO/XP.DestinationPortStatus
Response format
:
pr
●
/MEDIA/AUDIO/XP.DestinationPortStatus=[<O
n
>]
The response contains 5 ASCII characters for each port. The first character indicates the mute/lock state,
the next 2-byte long HEX code showing the current state of the output ports.
Example:
˃
GET /MEDIA/AUDIO/XP.DestinationPortStatus
˂
pr /MEDIA/AUDIO/XP.DestinationPortStatus=T000F;T000A
Legend:
See at previous section.
Example and Explanation (for output 1, T000F):
T
0
0
0
F
Unlocked,
Unmuted
0 0
0 0
0 0
0 0
0 0
0 0
1 1
1 1
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Signal
presents
Connected