From d77869e3960ad299a7a85cd6848b14464d32c257 Mon Sep 17 00:00:00 2001 From: Simon Ottenhaus <simon.ottenhaus@kit.edu> Date: Wed, 2 Jul 2014 12:04:41 +0200 Subject: [PATCH] removed obsolete file --- source/RobotAPI/drivers/Types.h | 49 --------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 source/RobotAPI/drivers/Types.h diff --git a/source/RobotAPI/drivers/Types.h b/source/RobotAPI/drivers/Types.h deleted file mode 100644 index 1b3690f88..000000000 --- a/source/RobotAPI/drivers/Types.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef TYPES_H -#define TYPES_H - -typedef struct -{ - unsigned char id; - unsigned int len; - unsigned char *data; -} msg_t; - - -typedef enum { - E_SUCCESS = 0, // No error - E_NOT_AVAILABLE, // Device, service or data is not available - E_NO_SENSOR, // No sensor connected - E_NOT_INITIALIZED, // The device is not initialized - E_ALREADY_RUNNING, // Service is already running - E_FEATURE_NOT_SUPPORTED, // The asked feature is not supported - E_INCONSISTENT_DATA, // One or more dependent parameters mismatch - E_TIMEOUT, // Timeout error - E_READ_ERROR, // Error while reading from a device - E_WRITE_ERROR, // Error while writing to a device - E_INSUFFICIENT_RESOURCES, // No memory available - E_CHECKSUM_ERROR, // Checksum error - E_NO_PARAM_EXPECTED, // No parameters expected - E_NOT_ENOUGH_PARAMS, // Not enough parameters - E_CMD_UNKNOWN, // Unknown command - E_CMD_FORMAT_ERROR, // Command format error - E_ACCESS_DENIED, // Access denied - E_ALREADY_OPEN, // The interface is already open - E_CMD_FAILED, // Command failed - E_CMD_ABORTED, // Command aborted - E_INVALID_HANDLE, // invalid handle - E_NOT_FOUND, // device not found - E_NOT_OPEN, // device not open - E_IO_ERROR, // I/O error - E_INVALID_PARAMETER, // invalid parameter - E_INDEX_OUT_OF_BOUNDS, // index out of bounds - E_CMD_PENDING, // Command was received correctly, but the execution needs more time. If the command was completely processed, another status message is returned indicating the command's result - E_OVERRUN, // Data overrun - E_RANGE_ERROR, // Range error - E_AXIS_BLOCKED, // Axis is blocked - E_FILE_EXISTS // File already exists -} status_t; - - -//const char* status_to_str( status_t status ); - -#endif // TYPES_H -- GitLab