
NO.:
W62410 API
VERSION:
A
PAGE
41
1.4 The ContPlaybackMessage_2 command.
Description:
This allows the host to actually start the playback of a message (ICM, memo or OGM) recorded
by the CHIPSET. The
ContPlaybackMessage_2
command also allows the host to move
inside a message in steps of up to 32 minutes, 46 seconds, with a granularity of 0.030 seconds,
forwards or backwards. Message playback has not to be stopped to perform this action! During
the playback of a message, this command can be sent continuously to keep skipping and to
monitor the state of the telephone line. This command can also be used when the message
playback is paused.
Command (first)
High Byte
ContPlaybackMessage_2
0
0
0
1
J
Remark:
J
= one bit indicating the direction of the skip.
0 = skip forward.
1 = skip backward.
Returned value
High Byte
Status
0
0
0
1
J
Command (second)
High Byte
ContPlaybackMessage_2
Remark:
skip
= 16 bits specifying an unsigned offset. This allows the user to skip up to 65536, 30 ms
frames forwards or backwards. This allows a maximum of 32 minutes, 46 seconds to be skipped at
once.
Returned value
High Byte
Status
V
p
K
0
I
F
Remark:
V
p
= Will be set high when a voice prompt is playing. It will be reset to zero when the voice
prompt has finished playing.
K
= 1 bit, when set high a DTMF detection is in progress.
I
= 1 bit indicating that CallerID information is present. If set to 1 then CallerID information
has been received and decoded and is ready to be sent to the host.
F
= 1 bit indicating that the data of the CallerID information could be corrupt because the
CRC checksums didn’t match.
E
= 1 bit specifying
EndOfMessage
flag (1 = end of message reached, playback is stopped
but line monitoring still continues).
V
= 1 bit indicating if a certain energy level has been exceeded during the last 30 ms. This can
be used as a VAD (Voice Activity detector).
C
=
1 bit specifying if a continues tone has been detected for at least 0.3 seconds (1 =
detected). This flag will be reset when the continuos tone disappears however.
P
= 1 bit specifying if a tone has been detected within the band pass frequency (1 = detected).
This flag is updated on a 30 ms timeframe basis.
D
= 1 bits specifying if there was a DTMF tone detected (1 = detected). This flag is only valid
during a 30 ms time frame after which it is reset to zero. The next time this flag will be set,
it will indicate that a new DTMF code has been detected.
DTMF
= 4 bits identifying the DTMF code. This code is only valid if the “D” flag is set to “1”.
The above information is the exclusive intellectual property of Winbond Electronics and shall not be
disclosed, or reproduced without permission from Winbond.
Low byte
0
0
0
0
0
0
0
0
1
0
0
Low byte
0
0
0
0
0
0
0
0
1
0
0
Low byte
skip
Low byte
0
E
V 0 C P D
DTMF