TReK C++  5.3.2
Telemetry/Command API
command_api_error_codes.h File Reference

Error codes for the Command API (starts at 11001). More...

#include "trek_cmd_user_api.h"

Macros

#define CMD_API_FILE_OPEN_ERR   11001
 Could not open a file needed to complete request.
 
#define CMD_API_MAX_LEN_ERROR   11002
 The length exceeds the maximum allowed.
 
#define CMD_API_MAX_NAME_LEN_ERROR   11003
 The length of the name exceeds the maximum allowed.
 
#define CMD_API_DOES_NOT_EXIST   11004
 Specified item does not exist.
 
#define CMD_API_NULL_POINTER   11005
 NULL pointer on input.
 
#define CMD_API_BAD_INDEX   11006
 Array index does not exist.
 
#define CMD_API_MISSING_XML_ITEM   11007
 There is a missing item in the XML. Most likely a TReK internal coding error unless an XML file was edited by hand.
 
#define CMD_API_ALREADY_EXISTS   11008
 Specified item already exists.
 
#define CMD_API_UNSUPPORTED_METHOD   11009
 The function is not allowed for this destination.
 
#define CMD_API_NO_USER_RQSTS   11010
 No user requests are available for this destination.
 
#define CMD_API_NO_STATUS_MESSAGES   11011
 No status messages are available for this destination.
 
#define CMD_API_NO_CONFIG_MESSAGES   11012
 No configuration messages are available for this destination.
 
#define CMD_API_BLANK_NAME   11013
 The name cannot be an empty string.
 
#define CMD_API_NO_CMD_RESPONSES   11014
 No responses are available for this destination.
 
#define CMD_API_ALREADY_REGISTERED   11015
 You are already registered for command track.
 
#define CMD_API_NOT_REGISTERED   11016
 You are not registered for command track.
 
#define CMD_API_NOT_A_SINGLE_FIELD   11017
 Function requires that data only have a single field. Check command definition.
 
#define CMD_API_SEM_OPEN_ERROR   11018
 Error registering for command track.
 
#define CMD_API_NO_CMDS   11019
 No commands are defined.
 
#define CMD_API_NOT_CLEAR_TO_SEND   11020
 The API is set to blocking and the destination is not ready to receive another command.
 
#define CMD_API_NO_COMMANDS   11021
 There are no commands for this destination.
 
#define CMD_API_EMPTY_FIELD_VALUE   11022
 One or more command fields do not have a value.
 
#define CMD_API_NO_MOD_FIELDS   11023
 No modifiable fields in the command.
 
#define CMD_API_MISSING_XML_VERSION   11024
 Version information was not available.
 
#define CMD_API_UNKNOWN_XML_VERSION   11025
 Unknown version (most like created with newer version of software)
 
#define CMD_API_ZERO_LENGTH   11026
 The data provided must have a non-zero length.
 

Detailed Description

Error codes for the Command API (starts at 11001).