Back to Program Loader Commands
CMD_PGM_LIST

Command:             CMD_PGM_LIST
Destination:         SD_PGM
Destination Channel: 0

Description

Clients use this command to get a list of programs that have been uploaded to the .


Command Data Format

Block padding
1 byte 3 bytes

Block

A number to specify which block of 36 filenames to return. A value of 0 will return the first 36 names, 1 will return the second 36 names, etc..


Response Data Format

Number reserved Remaining Names Name Description ...
1 byte 1 byte 2 bytes 32 bytes 80 bytes ...
Data for one file (program)

Number

The number of filenames and descriptions in this response. Ranges from 0 through 36.
Remaining Names
Set to the number of filenames and descriptions that remain to be returned. Set to 0 if no other filenames and descriptions are left.
Name
The name of the program that was uploaded to the . If it is less than 32 bytes long, it will be null padded.


Description

The description of the program that was uploaded to the . If it is less than 80 bytes long, it will be null padded


Response Return Codes

RESP_OK Execution of the command was successful.
RESP_UNAVAILABLE Index file is not present on .
RESP_UNSUPPORTED This command is not supported on the specified channel.
RESP_UNREG The specified source channel is not registered with the server.
RESP_UNKNOWN_ERR An unknown error occurred.

|Top|