
3.0 Command Set
This section describes the CompactSPEECH commands,
their parameters and return values. The NSAM265SR and
NSAM265SF support the same command set. Some com-
mands,
however,
behave
AFLASH.
differently
for
ARAM
and
3.1 COMMANDS SUMMARY
The following table shows the CompactSPEECH com-
mands. These commands are described in greater detail in
the next section.
Notes:
The command type is shown in the column headed
Type S/A
,
where A indicates an Asynchronous command, and S indicates a
Synchronous Command.
The current message is not always defined (e.g., after execution of
the DMS command). The CompactSPEECH behavior while execut-
ing commands that operate on the current message when it is not
defined is unpredictable. Use the GTM command to set the current
message as required.
Mnemonic
Command Type
S/A
Description
Opcode
Hex
Command Parameters
Return Value
Description
Length
Bytes
Description
Length
Bytes
AMAP
S
Check and Map ARAM
06
ActionDNumber
1
Test Result
1
AMSG
A
Append to Current Message
27
None
None
CFG
S
Configure CompactSPEECH
01
ConfigDValue
2
None
CMT
S
Cut Message Tail
26
Length of Time
2
None
CVOC
S
Check Vocabulary
2B
None
Test Result
1
DM
S
Delete Message
0A
None
None
DMS
S
Delete Messages
0B
TagDRef, TagDMask
2
a
2
None
FR
A
Free Memory
08
None
None
GCFG
S
Get Configuration Value
02
None
Version, Config.DValue
2
GEW
S
Get Error Word
1B
None
Error Word
2
GI
S
Get Information Item
25
Index
1
Value
2
GL
S
Get Length
19
None
Message Length
2
GMS
S
Get Memory Status Type
12
Type
1
Recording Time Left
2
GMT
S
Get Message Tag
04
None
Message Tag
2
GNM
S
Get Number of Messages
11
TagDRef, TagDMask
2
a
2
Number of Messages
1
GSW
S
Get Status Word
14
None
Status Word
2
GT
A
Generate Tone Tone
0D
Tone or DTMF
1
None
GTD
S
Get Time and Day
0E
Time/Day Option
1
Time/Day
2
GTM
S
Get Tagged Message
09
TagDRef, TagDMask, Dir 2
a
2
a
1 Message Found
1
INIT
S
Initialize System
13
None
None
INJ
S
Inject IVS Data
29
N, Byte
1
. . . Byte
n
4
a
n
None
MR
S
Memory Reset
2A
None
None
P
A
Playback
03
None
None
PA
S
Pause
IC
None
None
PDM
S
Go to Power-Down Mode
1A
None
None
R
A
Record Message
0C
Message Tag
2
None
RDET
S
Reset Detectors
2C
Detectors Reset Mask
1
None
RES
S
Resume
1D
None
None
RRAM
S
Read RAM
18
None
Data
32
S
S
Stop
00
None
None
SAS
A
Say Argumented Sentence
1E
SentenceDn arg
1
1
a
1
None
SB
S
Skip Backward
23
Length of Time
2
None
20