Back to Program Loader Commands
CMD_PGM_STOP

Command:          CMD_PGM_STOP 
Destination:          SD_PGM
Destination Channel:  0

Description

Clients use this command to stop a program  running in the .  Only files uploaded with the CMD_PGM_UPLOAD command may be stop.


Command Data Format

 
Channel padding
1 byte 3 bytes
Channel
This is the channel returned by the CMD_PGM_START command used to start the program .   The CMD_PGM_STATUS command returns the channel number of a program given its name.
Response Data Format
none


Response Return Codes

 
RESP_OK Execution of the command was successful.
RESP_INVAL_PARAM The program is not running or it was not uploaded via CMD_PGM_UPLOAD.
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.