Download Nexio AMP Protocol 7.5 Developers Guide

Transcript
Nexio AMP® Protocol
Mediabase Commands
A0 14
List First ID Handle
Syntax:
A0 14
Response:
88 14 ID
or
80 14
if none found
8-byte ID handle
ID:
Description:
This command returns the first existing ID handle in the server's disk database. This
command should be followed by a series of List Next ID Handle (A0 15) commands
to retrieve the rest of the list. If no IDs exist in the database, 80 14 is returned.
After receiving an ID Handle, a controller should use the Get Extended ID from ID
Handle (C8 C3) command to retrieve the ID’s proper name.
A0 15
List Next ID Handle
Syntax:
A0 15
Response:
88 14 ID
or
80 14
if at end of list
8-byte ID handle
ID:
Description:
This command will follow a List First ID Handle (A0 14) command or a previous List
Next ID Handle command. It returns the next existing ID handle in the server's disk
database. If no more IDs exist in the database, 80 14 is returned.
After receiving each ID Handle, a controller should use the Get Extended ID from ID
Handle (C8 C3) command to retrieve the ID’s proper name.
C1 4C
List First ID List
Syntax:
LIST:
C1 4C LIST
1-byte unsigned integer, based on table below
Response:
See table below
or
D0 4C
if none found
1-byte unsigned integer, indicating total byte count of the data to follow
8-byte ID handle
Extended ID, in Unicode format when enabled
BC:
ID:
XID:
Description:
This command returns the first existing ID of the specified list. To retrieve the
remaining IDs in the list, a controller should follow up this command with the List
Next ID List (C0 4D) command.
See the table below for the interpretation of the LIST data and the response syntax.
If no IDs are in the specified list, D0 4C is returned.
2014 Imagine Communications | All Rights Reserved
Page 69