Description:
This command sets the decoded audio pid per audio decoder.
Form:
Command Handler: DCMD
DECODEAUDIOPID|DAP|DA [INDEX [PID]]
[INDEX]: This is the audio decoder index that the pid should be applied to
0= channels 1,2
1= channels 3,4
2= channels 5,6
3= channels 7,8
4= channels 9,10
5= channels 11,12
6= channels 13,14
7= channels 15,16
[PID]: Pid value to assign to the given index. This value can be entered as
hex (base 16) or decimal (base 10). If entered as hex then the value must
be prefixed with "0x" so for example "0x1E2" is valid while "1E2" is not.
Valid pid ranges (inclusive):
0x20 - 0x1FFF valid range as hex
32 - 8191 valid range as decimal
0 used to disable an audio decoder
0xFFFF used to set the next available pid in numerical order
Response:
DECODEAUDIOPID RESPONSE
Verbose- "OK\r\n" to acknowledge receipt of command, or
"ERROR- [Description]\r\n" if error, ending command
Terse- "0\r\n" to acknowledge receipt of command, or
"[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
"\r\n" concludes modify responses (empty line)
Examples:
Disable the audio decoder at index 0:
*.DCMD DAP 0 0
OK
Get the configured pid values:
*.DCMD DAP
OK
AudPID12= 0x0 0
AudPID34= 0xffff 65535
AudPID56= 0xffff 65535
AudPID78= 0xffff 65535
AudPID910= 0xffff 65535
AudPID1112= 0xffff 65535
Assign pid to pair index:
*.DCMD DAP 1 0x1e2
OK
Get pid for specific pair index:
*.DCMD DAP 1
OK
AudPID34= 0x1e2 482
Notes:
Setting a value of 0xFFFF(65535) to a PID will set the next available pid in numerical order. If all
pids are set to 0xFFFF(65535) then all the pids will be set to the audio decoder in numerical order.