Artemis Teensy Flight Software
The software on the Teensy in the Artemis cubesat.
cosmos-errno.h File Reference

COSMOS Error Codes. More...

#include "support/configCosmosKernel.h"
#include <errno.h>

Go to the source code of this file.

Macros

#define GS232B_ERROR_OPEN   -201
 
#define GS232B_ERROR_CLOSED   -202
 
#define GS232B_ERROR_OUTOFRANGE   -203
 
#define GS232B_ERROR_SEND   -204
 
#define MICROSTRAIN_ERROR_OPEN   -211
 Error opening MicroStrain device.
 
#define MICROSTRAIN_ERROR_CLOSED   -212
 
#define MICROSTRAIN_ERROR_OUTOFRANGE   -213
 
#define MICROSTRAIN_ERROR_FAILED   -214
 
#define MICROSTRAIN_ERROR_TOOMANY   -215
 
#define MICROSTRAIN_ERROR_FUNCTION   -216
 
#define MICROSTRAIN_ERROR_SEND   -217
 
#define SINCLAIR_ERROR_OPEN   -221
 
#define SINCLAIR_ERROR_CLOSED   -222
 
#define SINCLAIR_ERROR_OUTOFRANGE   -223
 
#define SINCLAIR_ERROR_FAILED   -224
 
#define SINCLAIR_ERROR_TOOMANY   -225
 
#define NSP_ERROR_CRC   -226
 
#define NSP_ERROR_SIZE   -227
 
#define NSP_ERROR_NACK   -228
 
#define TS2000_ERROR_OPEN   -231
 
#define TS2000_ERROR_CLOSED   -232
 
#define TS2000_ERROR_OUTOFRANGE   -233
 
#define VMT35_ERROR_RODNUM   -241
 
#define VMT35_ERROR_BYTE   -242
 
#define VMT35_ERROR_OUTOFRANGE   -243
 
#define VMT35_ERROR_OPENED   -244
 
#define VMT35_ERROR_CLOSED   -245
 
#define VMT35_ERROR_NACK   -246
 
#define VMT35_ERROR_CRC   -247
 
#define VMT35_ERROR_DEVNAME   -248
 
#define JSON_ERROR_NAME_LENGTH   -251
 
#define JSON_ERROR_DATA_LENGTH   -252
 
#define JSON_ERROR_INDEX_SIZE   -253
 
#define JSON_ERROR_NOJMAP   -254
 
#define JSON_ERROR_NOENTRY   -255
 
#define JSON_ERROR_EOS   -256
 
#define JSON_ERROR_SCAN   -257
 
#define JSON_ERROR_JSTRING   -258
 
#define JSON_ERROR_NAN   -259
 
#define SLIP_ERROR_CRC   -261
 
#define SLIP_ERROR_PACKING   -262
 
#define SLIP_ERROR_BUFFER   -263
 
#define AGENT_ERROR_SERVER_RUNNING   -270
 
#define AGENT_ERROR_JSON_CREATE   -271
 
#define AGENT_ERROR_REQ_COUNT   -272
 
#define AGENT_ERROR_MEMORY   -273
 
#define AGENT_ERROR_SOCKET   -274
 
#define AGENT_ERROR_CHANNEL   -275
 
#define AGENT_ERROR_BUFLEN   -276
 
#define AGENT_ERROR_NULL   -277
 
#define AGENT_ERROR_DISCOVERY   -278
 
#define AGENT_ERROR_REQUEST   -279
 
#define MATH_ERROR_GJ_UNDEFINED   -281
 
#define MATH_ERROR_GJ_OUTOFRANGE   -282
 
#define AGENT_ERROR_LCM_CREATE   -291
 
#define AGENT_ERROR_LCM_SUBSCRIBE   -292
 
#define AGENT_ERROR_LCM_TIMEOUT   -293
 
#define RW_ERROR_OPEN   -301
 
#define RW_ERROR_CLOSED   -302
 
#define RW_ERROR_OUTOFRANGE   -303
 
#define RW_ERROR_FAILED   -304
 
#define RW_ERROR_TOOMANY   -305
 
#define RW_ERROR_SEND   -306
 
#define STK_ERROR_LOWINDEX   -311
 
#define STK_ERROR_HIGHINDEX   -312
 
#define STK_ERROR_OUTOFRANGE   -313
 
#define STK_ERROR_NOTFOUND   -314
 
#define DEM_ERROR_SEMINIT   -321
 
#define DEM_ERROR_OPEN   -322
 
#define DEM_ERROR_INSUFFICIENT_MEMORY   -323
 
#define DEM_ERROR_NOTFOUND   -324
 
#define TLE_ERROR_OUTOFRANGE   -331
 
#define ORBIT_ERROR_NOTSUPPORTED   -332
 
#define TLE_ERROR_NOTFOUND   -334
 
#define NODE_ERROR_NODE   -341
 
#define NODE_ERROR_GROUNDSTATION   -342
 
#define NODE_ERROR_ROOTDIR   -343
 
#define MOST_USER_CANCELLED   -351
 
#define DATA_ERROR_ARCHIVE   -361
 
#define DATA_ERROR_SIZE_MISMATCH   -362
 
#define DATA_ERROR_CRC   -363
 
#define DATA_ERROR_FORMAT   -364
 
#define DATA_ERROR_RESOURCES_FOLDER   -365
 
#define DATA_ERROR_NODES_FOLDER   -366
 
#define DATA_ERROR_ROOT_FOLDER   -367
 
#define GIGE_ERROR_NACK   -371
 
#define CSSL_ERROR_BASE   -380
 
#define CSSL_ERROR_CHECKSUM   -381
 
#define CSSL_ERROR_READ   -382
 
#define CSSL_ERROR_TIMEOUT   -383
 
#define CSSL_ERROR_EOT   -384
 
#define CSSL_ERROR_SLIPIN   -385
 
#define CSSL_ERROR_SLIPOUT   -386
 
#define CSSL_ERROR_BUFFER_SIZE_EXCEEDED   -387
 
#define CSSL_ERROR_BAD_ESCAPE   -388
 
#define SERIAL_ERROR_CHECKSUM   -381
 
#define SERIAL_ERROR_READ   -382
 
#define SERIAL_ERROR_TIMEOUT   -383
 
#define SERIAL_ERROR_EOT   -384
 
#define SERIAL_ERROR_SLIPIN   -385
 
#define SERIAL_ERROR_SLIPOUT   -386
 
#define SERIAL_ERROR_BUFFER_SIZE_EXCEEDED   -387
 
#define SERIAL_ERROR_BAD_ESCAPE   -388
 
#define SERIAL_ERROR_OPEN   -389
 
#define IC9100_ERROR_OPEN   -391
 
#define IC9100_ERROR_CLOSED   -392
 
#define IC9100_ERROR_OUTOFRANGE   -393
 
#define IC9100_ERROR_WRITE   -394
 
#define IC9100_ERROR_NG   -395
 
#define IC9100_ERROR_READ   -396
 
#define IC9100_ERROR_ADDR   -397
 
#define GPS_ERROR_OPEN   -401
 
#define GPS_ERROR_CLOSED   -402
 
#define OEMV_ERROR_OPEN   -411
 
#define OEMV_ERROR_CLOSED   -412
 
#define OEMV_ERROR_CRC   -413
 
#define OEMV_ERROR_RESPONSE   -414
 
#define PIC_ERROR_OPEN   -421
 
#define PIC_ERROR_CLOSED   -422
 
#define PIC_ERROR_PORT   -423
 
#define PIC_ERROR_NACK   -424
 
#define PIC_ERROR_SIZE   -425
 
#define PIC_ERROR_ERR   -426
 
#define PIC_ERROR_TYPE   -427
 
#define ASTRODEV_ERROR_HEADER_CS   -431
 
#define ASTRODEV_ERROR_SYNC0   -432
 
#define ASTRODEV_ERROR_NACK   -433
 
#define ASTRODEV_ERROR_PAYLOAD_CS   -434
 
#define ASTRODEV_ERROR_SYNC1   -435
 
#define ASTRODEV_ERROR_HEADER   -436
 
#define ASTRODEV_ERROR_PAYLOAD   -437
 
#define SUCHI_ERROR_CLOSED   -441
 
#define VN100_ERROR_OPEN   -451
 
#define VN100_ERROR_NACK   -452
 
#define VN100_ERROR_SCAN   -453
 
#define ISC_ERROR_CLOSED   -461
 
#define TRANSFER_ERROR_MATCH   -471
 
#define TRANSFER_ERROR_QUEUEFULL   -472
 
#define TRANSFER_ERROR_INDEX   -473
 
#define TRANSFER_ERROR_NODE   -474
 
#define TRANSFER_ERROR_FILENAME   -475
 
#define TRANSFER_ERROR_DUPLICATE   -476
 
#define TRANSFER_ERROR_FILESIZE   -477
 
#define TRANSFER_ERROR_FILEZERO   -478
 
#define TRANSFER_ERROR_VERSION   -479
 
#define SOCKET_ERROR_CS   -481
 
#define SOCKET_ERROR_PROTOCOL   -482
 
#define SOCKET_READ_TIMEOUT   -483
 
#define SOCKET_ERROR_OPEN   -484
 
#define SOCKET_ERROR_OPEN_RECEIVE   -485
 
#define SOCKET_ERROR_OPEN_TRANSMIT   -486
 
#define SOCKET_ERROR_OPEN_CONNECT   -487
 
#define SOCKET_ERROR_CLOSE   -488
 
#define TRIMBLE_ERROR_CS   -491
 
#define JPLEPHEM_ERROR_NOTFOUND   -501
 
#define JPLEPHEM_ERROR_INSUFFICIENT_MEMORY   -502
 
#define JPLEPHEM_ERROR_OUTOFRANGE   -503
 
#define JPLEPHEM_ERROR_NUTATIONS   -504
 
#define JPLEPHEM_ERROR_LIBRATIONS   -505
 
#define GEOMAG_ERROR_NOTFOUND   -511
 
#define GEOMAG_ERROR_OUTOFRANGE   -512
 
#define PRKX2SU_ERROR_OPEN   -521
 
#define PRKX2SU_ERROR_CLOSED   -522
 
#define PRKX2SU_ERROR_OUTOFRANGE   -523
 
#define PRKX2SU_ERROR_SEND   -524
 
#define CONVERT_ERROR_UTC   -531
 
#define CUBEADCS_SERIALCOMM_RESPONSE   -601
 
#define CUBEADCS_INVALID_RESPONSE   -602
 
#define CUBEADCS_NOT_CONNECTED   -603
 
#define CUBEADCS_SERIAL_PROTOCOL   -604
 
#define CLYDE_EPS_NOT_CONNECTED   -611
 
#define CLYDE_BATTERY_NOT_CONNECTED   -612
 
#define CLYDE_GENERAL_BAD_ADDRESS   -613
 
#define MEADE_MOUNT_ERROR_NOT_CONNECTED   -620
 
#define MEADE_MOUNT_ERROR_BAD_RESPONSE   -621
 
#define MEADE_MOUNT_ERROR_VALUE_INVALID   -622
 
#define MEADE_MOUNT_ERROR_OUTSIDE_LIMITS   -623
 
#define SCPI_ERROR_NOT_CONNECTED   -630
 
#define SCPI_ERROR_BAD_RESPONSE   -631
 
#define SCPI_ERROR_VALUE_INVALID   -632
 
#define SCPI_ERROR_OUTSIDE_LIMITS   -633
 
#define SCPI_ERROR_OUTSIDE_RANGE   -634
 
#define GENERAL_OK   0 /* everything is all right */
 
#define GENERAL_ERROR_NO_SIGNAL   -2001 /* there's no free signal */
 
#define GENERAL_ERROR_NOTSTARTED   -2002 /* uninitialized error */
 
#define GENERAL_ERROR_NULLPOINTER   -2003 /* you gave a null pointer to the function */
 
#define GENERAL_ERROR_OOPS   -2004 /* internal error, something's erong */
 
#define GENERAL_ERROR_MEMORY   -2005 /* there's no memory for more of something */
 
#define GENERAL_ERROR_OPEN   -2006 /* file doesnt exist or you aren't good user */
 
#define GENERAL_ERROR_CRC   -2007 /* crc error */
 
#define GENERAL_ERROR_OVERSIZE   -2008 /* input was too large */
 
#define GENERAL_ERROR_ZEROSIZE   -2009 /* input cannot be zero size */
 
#define GENERAL_ERROR_UNIMPLEMENTED   -2010 /* command is not implemented */
 
#define GENERAL_ERROR_EMPTY   -2011 /* usually indicates that a buffer was empty */
 
#define GENERAL_ERROR_UNHANDLED_ERR   -2012 /* error that is not currently handled */
 
#define GENERAL_ERROR_UNDERSIZE   -2013 /* packet is smaller than expected size */
 
#define GENERAL_ERROR_BAD_SIZE   -2014 /* packet is an invalid size */
 
#define GENERAL_ERROR_TIMEOUT   -2015 /* a timer expired */
 
#define GENERAL_ERROR_INPUT   -2016 /* invalid input was provided */
 
#define GENERAL_ERROR_OUTPUT   -2017 /* output from a routine returned bad output, possibly related to bad input */
 
#define GENERAL_ERROR_UNDEFINED   -2018
 
#define GENERAL_ERROR_OUTOFRANGE   -2019
 
#define GENERAL_ERROR_NOTREADY   -2020
 
#define GENERAL_ERROR_BUSY   -2021
 
#define GENERAL_ERROR_NO_CARRIER   -2022
 
#define GENERAL_ERROR_NO_DIALTONE   -2023
 
#define GENERAL_ERROR_NO_ANSWER   -2024
 
#define GENERAL_ERROR_DUPLICATE   -2025
 
#define GENERAL_ERROR_MISMATCH   -2026
 
#define GENERAL_ERROR_ERROR   -2027
 
#define GENERAL_ERROR_ARGS   -2028
 
#define GENERAL_ERROR_TOO_LOW   -2029
 
#define GENERAL_ERROR_POSITION   -2030
 
#define GENERAL_ERROR_ATTITUDE   -2031
 
#define GENERAL_ERROR_NAME   -2032
 
#define GENERAL_ERROR_BAD_FD   -2033
 
#define GENERAL_ERROR_BAD_ACK   -2034
 
#define GENERAL_ERROR_EOF   -2035
 
#define GENERAL_ERROR_BAD_DIR   -2036
 
#define GPHOTO2_ERROR   -3000
 

Enumerations

enum  ErrorNumbers : int16_t {
  COSMOS_ERROR_BASE = -200 , COSMOS_GS232B_ERROR_OPEN = -201 , COSMOS_GS232B_ERROR_CLOSED = -202 , COSMOS_GS232B_ERROR_OUTOFRANGE = -203 ,
  COSMOS_GS232B_ERROR_SEND = -204 , COSMOS_MICROSTRAIN_ERROR_OPEN = -211 , COSMOS_MICROSTRAIN_ERROR_CLOSED = -212 , COSMOS_MICROSTRAIN_ERROR_OUTOFRANGE = -213 ,
  COSMOS_MICROSTRAIN_ERROR_FAILED = -214 , COSMOS_MICROSTRAIN_ERROR_TOOMANY = -215 , COSMOS_MICROSTRAIN_ERROR_FUNCTION = -216 , COSMOS_MICROSTRAIN_ERROR_SEND = -217 ,
  COSMOS_SINCLAIR_ERROR_OPEN = -221 , COSMOS_SINCLAIR_ERROR_CLOSED = -222 , COSMOS_SINCLAIR_ERROR_OUTOFRANGE = -223 , COSMOS_SINCLAIR_ERROR_FAILED = -224 ,
  COSMOS_SINCLAIR_ERROR_TOOMANY = -225 , COSMOS_NSP_ERROR_CRC = -226 , COSMOS_NSP_ERROR_SIZE = -227 , COSMOS_NSP_ERROR_NACK = -228 ,
  COSMOS_TS2000_ERROR_OPEN = -231 , COSMOS_TS2000_ERROR_CLOSED = -232 , COSMOS_TS2000_ERROR_OUTOFRANGE = -233 , COSMOS_VMT35_ERROR_RODNUM = -241 ,
  COSMOS_VMT35_ERROR_BYTE = -242 , COSMOS_VMT35_ERROR_OUTOFRANGE = -243 , COSMOS_VMT35_ERROR_OPENED = -244 , COSMOS_VMT35_ERROR_CLOSED = -245 ,
  COSMOS_VMT35_ERROR_NACK = -246 , COSMOS_VMT35_ERROR_CRC = -247 , COSMOS_VMT35_ERROR_DEVNAME = -248 , COSMOS_JSON_ERROR_NAME_LENGTH = -251 ,
  COSMOS_JSON_ERROR_DATA_LENGTH = -252 , COSMOS_JSON_ERROR_INDEX_SIZE = -253 , COSMOS_JSON_ERROR_NOJMAP = -254 , COSMOS_JSON_ERROR_NOENTRY = -255 ,
  COSMOS_JSON_ERROR_EOS = -256 , COSMOS_JSON_ERROR_SCAN = -257 , COSMOS_JSON_ERROR_JSTRING = -258 , COSMOS_JSON_ERROR_NAN = -259 ,
  COSMOS_SLIP_ERROR_CRC = -261 , COSMOS_SLIP_ERROR_PACKING = -262 , COSMOS_SLIP_ERROR_BUFFER = -263 , COSMOS_AGENT_ERROR_SERVER_RUNNING = -270 ,
  COSMOS_AGENT_ERROR_JSON_CREATE = -271 , COSMOS_AGENT_ERROR_REQ_COUNT = -272 , COSMOS_AGENT_ERROR_MEMORY = -273 , COSMOS_AGENT_ERROR_SOCKET = -274 ,
  COSMOS_AGENT_ERROR_CHANNEL = -275 , COSMOS_AGENT_ERROR_BUFLEN = -276 , COSMOS_AGENT_ERROR_NULL = -277 , COSMOS_AGENT_ERROR_DISCOVERY = -278 ,
  COSMOS_AGENT_ERROR_REQUEST = -279 , COSMOS_MATH_ERROR_GJ_UNDEFINED = -281 , COSMOS_MATH_ERROR_GJ_OUTOFRANGE = -282 , COSMOS_AGENT_ERROR_LCM_CREATE = -291 ,
  COSMOS_AGENT_ERROR_LCM_SUBSCRIBE = -292 , COSMOS_AGENT_ERROR_LCM_TIMEOUT = -293 , COSMOS_RW_ERROR_OPEN = -301 , COSMOS_RW_ERROR_CLOSED = -302 ,
  COSMOS_RW_ERROR_OUTOFRANGE = -303 , COSMOS_RW_ERROR_FAILED = -304 , COSMOS_RW_ERROR_TOOMANY = -305 , COSMOS_RW_ERROR_SEND = -306 ,
  COSMOS_STK_ERROR_LOWINDEX = -311 , COSMOS_STK_ERROR_HIGHINDEX = -312 , COSMOS_STK_ERROR_OUTOFRANGE = -313 , COSMOS_STK_ERROR_NOTFOUND = -314 ,
  COSMOS_DEM_ERROR_SEMINIT = -321 , COSMOS_DEM_ERROR_OPEN = -322 , COSMOS_DEM_ERROR_INSUFFICIENT_MEMORY = -323 , COSMOS_DEM_ERROR_NOTFOUND = -324 ,
  COSMOS_TLE_ERROR_OUTOFRANGE = -331 , COSMOS_ORBIT_ERROR_NOTSUPPORTED = -332 , COSMOS_TLE_ERROR_NOTFOUND = -334 , COSMOS_NODE_ERROR_NODE = -341 ,
  COSMOS_NODE_ERROR_GROUNDSTATION = -342 , COSMOS_NODE_ERROR_ROOTDIR = -343 , COSMOS_MOST_USER_CANCELLED = -351 , COSMOS_DATA_ERROR_ARCHIVE = -361 ,
  COSMOS_DATA_ERROR_SIZE_MISMATCH = -362 , COSMOS_DATA_ERROR_CRC = -363 , COSMOS_DATA_ERROR_FORMAT = -364 , COSMOS_DATA_ERROR_RESOURCES_FOLDER = -365 ,
  COSMOS_DATA_ERROR_NODES_FOLDER = -366 , COSMOS_DATA_ERROR_ROOT_FOLDER = -367 , COSMOS_GIGE_ERROR_NACK = -371 , COSMOS_CSSL_ERROR_BASE = -380 ,
  COSMOS_CSSL_ERROR_CHECKSUM = -381 , COSMOS_CSSL_ERROR_READ = -382 , COSMOS_CSSL_ERROR_TIMEOUT = -383 , COSMOS_CSSL_ERROR_EOT = -384 ,
  COSMOS_CSSL_ERROR_SLIPIN = -385 , COSMOS_CSSL_ERROR_SLIPOUT = -386 , COSMOS_CSSL_ERROR_BUFFER_SIZE_EXCEEDED = -387 , COSMOS_CSSL_ERROR_BAD_ESCAPE = -388 ,
  COSMOS_SERIAL_ERROR_CHECKSUM = -381 , COSMOS_SERIAL_ERROR_READ = -382 , COSMOS_SERIAL_ERROR_TIMEOUT = -383 , COSMOS_SERIAL_ERROR_EOT = -384 ,
  COSMOS_SERIAL_ERROR_SLIPIN = -385 , COSMOS_SERIAL_ERROR_SLIPOUT = -386 , COSMOS_SERIAL_ERROR_BUFFER_SIZE_EXCEEDED = -387 , COSMOS_SERIAL_ERROR_BAD_ESCAPE = -388 ,
  COSMOS_SERIAL_ERROR_OPEN = -389 , COSMOS_IC9100_ERROR_OPEN = -391 , COSMOS_IC9100_ERROR_CLOSED = -392 , COSMOS_IC9100_ERROR_OUTOFRANGE = -393 ,
  COSMOS_IC9100_ERROR_WRITE = -394 , COSMOS_IC9100_ERROR_NG = -395 , COSMOS_IC9100_ERROR_READ = -396 , COSMOS_IC9100_ERROR_ADDR = -397 ,
  COSMOS_GPS_ERROR_OPEN = -401 , COSMOS_GPS_ERROR_CLOSED = -402 , COSMOS_OEMV_ERROR_OPEN = -411 , COSMOS_OEMV_ERROR_CLOSED = -412 ,
  COSMOS_OEMV_ERROR_CRC = -413 , COSMOS_OEMV_ERROR_RESPONSE = -414 , COSMOS_PIC_ERROR_OPEN = -421 , COSMOS_PIC_ERROR_CLOSED = -422 ,
  COSMOS_PIC_ERROR_PORT = -423 , COSMOS_PIC_ERROR_NACK = -424 , COSMOS_PIC_ERROR_SIZE = -425 , COSMOS_PIC_ERROR_ERR = -426 ,
  COSMOS_PIC_ERROR_TYPE = -427 , COSMOS_ASTRODEV_ERROR_HEADER_CS = -431 , COSMOS_ASTRODEV_ERROR_SYNC0 = -432 , COSMOS_ASTRODEV_ERROR_NACK = -433 ,
  COSMOS_ASTRODEV_ERROR_PAYLOAD_CS = -434 , COSMOS_ASTRODEV_ERROR_SYNC1 = -435 , COSMOS_ASTRODEV_ERROR_HEADER = -436 , COSMOS_ASTRODEV_ERROR_PAYLOAD = -437 ,
  COSMOS_SUCHI_ERROR_CLOSED = -441 , COSMOS_VN100_ERROR_OPEN = -451 , COSMOS_VN100_ERROR_NACK = -452 , COSMOS_VN100_ERROR_SCAN = -453 ,
  COSMOS_ISC_ERROR_CLOSED = -461 , COSMOS_TRANSFER_ERROR_MATCH = -471 , COSMOS_TRANSFER_ERROR_QUEUEFULL = -472 , COSMOS_TRANSFER_ERROR_INDEX = -473 ,
  COSMOS_TRANSFER_ERROR_NODE = -474 , COSMOS_TRANSFER_ERROR_FILENAME = -475 , COSMOS_TRANSFER_ERROR_DUPLICATE = -476 , COSMOS_TRANSFER_ERROR_FILESIZE = -477 ,
  COSMOS_TRANSFER_ERROR_FILEZERO = -478 , COSMOS_TRANSFER_ERROR_VERSION = -479 , COSMOS_SOCKET_ERROR_CS = -481 , COSMOS_SOCKET_ERROR_PROTOCOL = -482 ,
  COSMOS_SOCKET_READ_TIMEOUT = -483 , COSMOS_SOCKET_ERROR_OPEN = -484 , COSMOS_SOCKET_ERROR_OPEN_RECEIVE = -485 , COSMOS_SOCKET_ERROR_OPEN_TRANSMIT = -486 ,
  COSMOS_SOCKET_ERROR_OPEN_CONNECT = -487 , COSMOS_SOCKET_ERROR_CLOSE = -488 , COSMOS_TRIMBLE_ERROR_CS = -491 , COSMOS_JPLEPHEM_ERROR_NOTFOUND = -501 ,
  COSMOS_JPLEPHEM_ERROR_INSUFFICIENT_MEMORY = -502 , COSMOS_JPLEPHEM_ERROR_OUTOFRANGE = -503 , COSMOS_JPLEPHEM_ERROR_NUTATIONS = -504 , COSMOS_JPLEPHEM_ERROR_LIBRATIONS = -505 ,
  COSMOS_GEOMAG_ERROR_NOTFOUND = -511 , COSMOS_GEOMAG_ERROR_OUTOFRANGE = -512 , COSMOS_PRKX2SU_ERROR_OPEN = -521 , COSMOS_PRKX2SU_ERROR_CLOSED = -522 ,
  COSMOS_PRKX2SU_ERROR_OUTOFRANGE = -523 , COSMOS_PRKX2SU_ERROR_SEND = -524 , COSMOS_CONVERT_ERROR_UTC = -531 , COSMOS_CUBEADCS_SERIALCOMM_RESPONSE = -601 ,
  COSMOS_CUBEADCS_INVALID_RESPONSE = -602 , COSMOS_CUBEADCS_NOT_CONNECTED = -603 , COSMOS_CUBEADCS_SERIAL_PROTOCOL = -604 , COSMOS_CLYDE_EPS_NOT_CONNECTED = -611 ,
  COSMOS_CLYDE_BATTERY_NOT_CONNECTED = -612 , COSMOS_CLYDE_GENERAL_BAD_ADDRESS = -613 , COSMOS_MEADE_MOUNT_ERROR_NOT_CONNECTED = -620 , COSMOS_MEADE_MOUNT_ERROR_BAD_RESPONSE = -621 ,
  COSMOS_MEADE_MOUNT_ERROR_VALUE_INVALID = -622 , COSMOS_MEADE_MOUNT_ERROR_OUTSIDE_LIMITS = -623 , COSMOS_SCPI_ERROR_NOT_CONNECTED = -630 , COSMOS_SCPI_ERROR_BAD_RESPONSE = -631 ,
  COSMOS_SCPI_ERROR_VALUE_INVALID = -632 , COSMOS_SCPI_ERROR_OUTSIDE_LIMITS = -633 , COSMOS_SCPI_ERROR_OUTSIDE_RANGE = -634 , COSMOS_ISIS_CMD_REJECTED = -640 ,
  COSMOS_ISIS_INVALID_COMMAND_CODE = -641 , COSMOS_ISIS_PARAM_MISSING = -642 , COSMOS_ISIS_PARAM_INVALID = -643 , COSMOS_ISIS_UNAVAILABLE_IN_CURRENT_MODE = -644 ,
  COSMOS_ISIS_INVALID_SYSTYPE_OR_IVID_OR_BID = -645 , COSMOS_ISIS_INTERNAL_ERROR = -646 , COSMOS_PACKET_TYPE_MISMATCH = -651 , COSMOS_GENERAL_OK = -0 ,
  COSMOS_GENERAL_ERROR_NO_SIGNAL = -2001 , COSMOS_GENERAL_ERROR_NOTSTARTED = -2002 , COSMOS_GENERAL_ERROR_NULLPOINTER = -2003 , COSMOS_GENERAL_ERROR_OOPS = -2004 ,
  COSMOS_GENERAL_ERROR_MEMORY = -2005 , COSMOS_GENERAL_ERROR_OPEN = -2006 , COSMOS_GENERAL_ERROR_CRC = -2007 , COSMOS_GENERAL_ERROR_OVERSIZE = -2008 ,
  COSMOS_GENERAL_ERROR_ZEROSIZE = -2009 , COSMOS_GENERAL_ERROR_UNIMPLEMENTED = -2010 , COSMOS_GENERAL_ERROR_EMPTY = -2011 , COSMOS_GENERAL_ERROR_UNHANDLED_ERR = -2012 ,
  COSMOS_GENERAL_ERROR_UNDERSIZE = -2013 , COSMOS_GENERAL_ERROR_BAD_SIZE = -2014 , COSMOS_GENERAL_ERROR_TIMEOUT = -2015 , COSMOS_GENERAL_ERROR_INPUT = -2016 ,
  COSMOS_GENERAL_ERROR_OUTPUT = -2017 , COSMOS_GENERAL_ERROR_UNDEFINED = -2018 , COSMOS_GENERAL_ERROR_OUTOFRANGE = -2019 , COSMOS_GENERAL_ERROR_NOTREADY = -2020 ,
  COSMOS_GENERAL_ERROR_BUSY = -2021 , COSMOS_GENERAL_ERROR_NO_CARRIER = -2022 , COSMOS_GENERAL_ERROR_NO_DIALTONE = -2023 , COSMOS_GENERAL_ERROR_NO_ANSWER = -2024 ,
  COSMOS_GENERAL_ERROR_DUPLICATE = -2025 , COSMOS_GENERAL_ERROR_MISMATCH = -2026 , COSMOS_GENERAL_ERROR_ERROR = -2027 , COSMOS_GENERAL_ERROR_ARGS = -2028 ,
  COSMOS_GENERAL_ERROR_TOO_LOW = -2029 , COSMOS_GENERAL_ERROR_POSITION = -2030 , COSMOS_GENERAL_ERROR_ATTITUDE = -2031 , COSMOS_GENERAL_ERROR_NAME = -2032 ,
  COSMOS_GENERAL_ERROR_BAD_FD = -2033 , COSMOS_GENERAL_ERROR_BAD_ACK = -2034 , COSMOS_GPHOTO2_ERROR = -3000 , COSMOS_ERROR_END = -3001
}
 

Detailed Description

COSMOS Error Codes.