
Net-2000™ Voice Codec Unit
User’s Manual
Page 51
Section 3 – Net-2000™ VCU Control
DVSI Confidential Proprietary
The ws element of the packet would contain the number of samples that were generated by the
decoder. The format element of the packet contains the format of the voice data that was generated.
See Table 19 tone.idx, Table 20 tone.amp -- Channel-Parameter and Table 21 ws -- Channel
Parameter for more information on the tone.idx, tone.amp, ws, and format parameters for the Voice
response packet. Each sample of voice data generated by the decoder is contained in one 16-bit
element of the voice[] array. A-law and µ-law values should be put in the lower eight bits of the voice[]
array.
Nack Packet
The Nack packet is used to respond to badly formatted or unrecognized packets.
Nack Packet
Bytes
(msb-lsb)
Bit
7 6 5 4 3 2 1 0
Bit
7 6 5 4 3 2 1 0
Parameter Name
0 – 1
0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0
len
2 – 3
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1
type
Header
4 – 5
x x x x x x x x
x x x x x x x x
seq
6 – 7
X x x x x x x x
x x x x x x x x
cmd
8 – 9
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
reason
Table 49 Nack Packet