
2-34
2—SOFTWARE
ISD-SR3000
Voice Solutions in Silicon
Example: Get the current message tag.
Example: Get the number of voicetags which have bit 0 cleared, and bit 1 set in their message
tags. The ISD-SR3000 processor responds there are five voicetags that satisfy the request.
Source
Byte Sequence
Code
GMT AA AA
Host Controller
04
AA
AA
ISD-SR3000
04
00
0E
GNM
Get Number of Messages
Opcode:
0x11
Syntax:
GNM Tag_Ref Tag_Mask [Num_Of_Messages] which are 2 bytes each
Type:
Synchronous
Description:
Returns the number of voicetags whose message tags match the
tag_ref
parameters. Only bits set in
tag_mask
are compared. A match is considered
successful if:
message tag
and
tag_mask
=
tag_ref
and
tag_mask
where “and” is a bitwise AND operation.
The
tag_ref
and
tag_mask
parameters are each two bytes. The return value is
also two bytes long.
If
tag_mask
= 0, the total number of all existing messages is returned, regardless
of the
tag_ref
value.
Parameters:
Tag_Ref, Tag_Mask and Num_Of_Messages are all two bytes each
Source
Byte Sequence
Code
GNM FF FE 00 03 AA AA
Host Controller
11
FF
FE
00
03
AA
AA
ISD-SR3000
11
FF
FE
00
03
00
05