7. LW3 Programmers’ Reference
MODEX-F15-OPTS, MODEX-F15-OPTM series – User's Manual
62
7.7.
Audio Port and Crosspoint Settings
7.7.1. Query the Status of Source Port
Command format
:
GET
●
/MEDIA/AUDIO/XP.SourcePortStatus
Response format
:
pr
●
/MEDIA/AUDIO/XP.SourcePortStatus=[<I
1
>;<I
2
>;...;<I
n
>]
The responses contain one letter and a 2-byte long HEX code showing the current state of the input ports.
Example:
˃
GET /MEDIA/AUDIO/XP.SourcePortStatus
˂
pr /MEDIA/AUDIO/XP.SourcePortStatus=T000F;M000B;T000C;T0008;T000C
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
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 responses contain one letter and a 2-byte long HEX code showing the current state of the output ports.
Example:
˃
GET /MEDIA/AUDIO/XP.DestinationPortStatus
˂
pr /MEDIA/AUDIO/XP.DestinationPortStatus=M000F;T000C;T0008;T000C
Legend:
See at previous section.
Example (for output 3, M000F):
M
0
0
0
F
unlocked,
muted
0 0 0 0
0 0 0 0
0 0
0 0
1 1
1 1
Explanation
: cable is connected to output 2, valid audio signal presents, no information about HDCP-
encryption and the audio embedding. The port is unlocked, but muted.