49 #ifndef _COSMOS_ERROR_H
50 #define _COSMOS_ERROR_H 1
57 enum ErrorNumbers : int16_t
59 COSMOS_ERROR_BASE = -200,
61 COSMOS_GS232B_ERROR_OPEN = -201,
62 COSMOS_GS232B_ERROR_CLOSED = -202,
63 COSMOS_GS232B_ERROR_OUTOFRANGE = -203,
64 COSMOS_GS232B_ERROR_SEND = -204,
66 COSMOS_MICROSTRAIN_ERROR_OPEN = -211,
67 COSMOS_MICROSTRAIN_ERROR_CLOSED = -212,
68 COSMOS_MICROSTRAIN_ERROR_OUTOFRANGE = -213,
69 COSMOS_MICROSTRAIN_ERROR_FAILED = -214,
70 COSMOS_MICROSTRAIN_ERROR_TOOMANY = -215,
71 COSMOS_MICROSTRAIN_ERROR_FUNCTION = -216,
72 COSMOS_MICROSTRAIN_ERROR_SEND = -217,
74 COSMOS_SINCLAIR_ERROR_OPEN = -221,
75 COSMOS_SINCLAIR_ERROR_CLOSED = -222,
76 COSMOS_SINCLAIR_ERROR_OUTOFRANGE = -223,
77 COSMOS_SINCLAIR_ERROR_FAILED = -224,
78 COSMOS_SINCLAIR_ERROR_TOOMANY = -225,
80 COSMOS_NSP_ERROR_CRC = -226,
81 COSMOS_NSP_ERROR_SIZE = -227,
82 COSMOS_NSP_ERROR_NACK = -228,
84 COSMOS_TS2000_ERROR_OPEN = -231,
85 COSMOS_TS2000_ERROR_CLOSED = -232,
86 COSMOS_TS2000_ERROR_OUTOFRANGE = -233,
88 COSMOS_VMT35_ERROR_RODNUM = -241,
89 COSMOS_VMT35_ERROR_BYTE = -242,
90 COSMOS_VMT35_ERROR_OUTOFRANGE = -243,
91 COSMOS_VMT35_ERROR_OPENED = -244,
92 COSMOS_VMT35_ERROR_CLOSED = -245,
93 COSMOS_VMT35_ERROR_NACK = -246,
94 COSMOS_VMT35_ERROR_CRC = -247,
95 COSMOS_VMT35_ERROR_DEVNAME = -248,
97 COSMOS_JSON_ERROR_NAME_LENGTH = -251,
98 COSMOS_JSON_ERROR_DATA_LENGTH = -252,
99 COSMOS_JSON_ERROR_INDEX_SIZE = -253,
100 COSMOS_JSON_ERROR_NOJMAP = -254,
101 COSMOS_JSON_ERROR_NOENTRY = -255,
102 COSMOS_JSON_ERROR_EOS = -256,
103 COSMOS_JSON_ERROR_SCAN = -257,
104 COSMOS_JSON_ERROR_JSTRING = -258,
105 COSMOS_JSON_ERROR_NAN = -259,
107 COSMOS_SLIP_ERROR_CRC = -261,
108 COSMOS_SLIP_ERROR_PACKING = -262,
109 COSMOS_SLIP_ERROR_BUFFER = -263,
111 COSMOS_AGENT_ERROR_SERVER_RUNNING = -270,
112 COSMOS_AGENT_ERROR_JSON_CREATE = -271,
113 COSMOS_AGENT_ERROR_REQ_COUNT = -272,
114 COSMOS_AGENT_ERROR_MEMORY = -273,
115 COSMOS_AGENT_ERROR_SOCKET = -274,
116 COSMOS_AGENT_ERROR_CHANNEL = -275,
117 COSMOS_AGENT_ERROR_BUFLEN = -276,
118 COSMOS_AGENT_ERROR_NULL = -277,
119 COSMOS_AGENT_ERROR_DISCOVERY = -278,
120 COSMOS_AGENT_ERROR_REQUEST = -279,
122 COSMOS_MATH_ERROR_GJ_UNDEFINED = -281,
123 COSMOS_MATH_ERROR_GJ_OUTOFRANGE = -282,
125 COSMOS_AGENT_ERROR_LCM_CREATE = -291,
126 COSMOS_AGENT_ERROR_LCM_SUBSCRIBE = -292,
127 COSMOS_AGENT_ERROR_LCM_TIMEOUT = -293,
129 COSMOS_RW_ERROR_OPEN = -301,
130 COSMOS_RW_ERROR_CLOSED = -302,
131 COSMOS_RW_ERROR_OUTOFRANGE = -303,
132 COSMOS_RW_ERROR_FAILED = -304,
133 COSMOS_RW_ERROR_TOOMANY = -305,
134 COSMOS_RW_ERROR_SEND = -306,
136 COSMOS_STK_ERROR_LOWINDEX = -311,
137 COSMOS_STK_ERROR_HIGHINDEX = -312,
138 COSMOS_STK_ERROR_OUTOFRANGE = -313,
139 COSMOS_STK_ERROR_NOTFOUND = -314,
141 COSMOS_DEM_ERROR_SEMINIT = -321,
142 COSMOS_DEM_ERROR_OPEN = -322,
143 COSMOS_DEM_ERROR_INSUFFICIENT_MEMORY = -323,
144 COSMOS_DEM_ERROR_NOTFOUND = -324,
146 COSMOS_TLE_ERROR_OUTOFRANGE = -331,
147 COSMOS_ORBIT_ERROR_NOTSUPPORTED = -332,
148 COSMOS_TLE_ERROR_NOTFOUND = -334,
150 COSMOS_NODE_ERROR_NODE = -341,
151 COSMOS_NODE_ERROR_GROUNDSTATION = -342,
152 COSMOS_NODE_ERROR_ROOTDIR = -343,
154 COSMOS_MOST_USER_CANCELLED = -351,
156 COSMOS_DATA_ERROR_ARCHIVE = -361,
157 COSMOS_DATA_ERROR_SIZE_MISMATCH = -362,
158 COSMOS_DATA_ERROR_CRC = -363,
159 COSMOS_DATA_ERROR_FORMAT = -364,
160 COSMOS_DATA_ERROR_RESOURCES_FOLDER = -365,
161 COSMOS_DATA_ERROR_NODES_FOLDER = -366,
162 COSMOS_DATA_ERROR_ROOT_FOLDER = -367,
164 COSMOS_GIGE_ERROR_NACK = -371,
166 COSMOS_CSSL_ERROR_BASE = -380,
167 COSMOS_CSSL_ERROR_CHECKSUM = -381,
168 COSMOS_CSSL_ERROR_READ = -382,
169 COSMOS_CSSL_ERROR_TIMEOUT = -383,
170 COSMOS_CSSL_ERROR_EOT = -384,
171 COSMOS_CSSL_ERROR_SLIPIN = -385,
172 COSMOS_CSSL_ERROR_SLIPOUT = -386,
173 COSMOS_CSSL_ERROR_BUFFER_SIZE_EXCEEDED = -387,
174 COSMOS_CSSL_ERROR_BAD_ESCAPE = -388,
176 COSMOS_SERIAL_ERROR_CHECKSUM = -381,
177 COSMOS_SERIAL_ERROR_READ = -382,
178 COSMOS_SERIAL_ERROR_TIMEOUT = -383,
179 COSMOS_SERIAL_ERROR_EOT = -384,
180 COSMOS_SERIAL_ERROR_SLIPIN = -385,
181 COSMOS_SERIAL_ERROR_SLIPOUT = -386,
182 COSMOS_SERIAL_ERROR_BUFFER_SIZE_EXCEEDED = -387,
183 COSMOS_SERIAL_ERROR_BAD_ESCAPE = -388,
184 COSMOS_SERIAL_ERROR_OPEN = -389,
187 COSMOS_IC9100_ERROR_OPEN = -391,
188 COSMOS_IC9100_ERROR_CLOSED = -392,
189 COSMOS_IC9100_ERROR_OUTOFRANGE = -393,
190 COSMOS_IC9100_ERROR_WRITE = -394,
191 COSMOS_IC9100_ERROR_NG = -395,
192 COSMOS_IC9100_ERROR_READ = -396,
193 COSMOS_IC9100_ERROR_ADDR = -397,
195 COSMOS_GPS_ERROR_OPEN = -401,
196 COSMOS_GPS_ERROR_CLOSED = -402,
198 COSMOS_OEMV_ERROR_OPEN = -411,
199 COSMOS_OEMV_ERROR_CLOSED = -412,
200 COSMOS_OEMV_ERROR_CRC = -413,
201 COSMOS_OEMV_ERROR_RESPONSE = -414,
203 COSMOS_PIC_ERROR_OPEN = -421,
204 COSMOS_PIC_ERROR_CLOSED = -422,
205 COSMOS_PIC_ERROR_PORT = -423,
206 COSMOS_PIC_ERROR_NACK = -424,
207 COSMOS_PIC_ERROR_SIZE = -425,
208 COSMOS_PIC_ERROR_ERR = -426,
209 COSMOS_PIC_ERROR_TYPE = -427,
211 COSMOS_ASTRODEV_ERROR_HEADER_CS = -431,
212 COSMOS_ASTRODEV_ERROR_SYNC0 = -432,
213 COSMOS_ASTRODEV_ERROR_NACK = -433,
214 COSMOS_ASTRODEV_ERROR_PAYLOAD_CS = -434,
215 COSMOS_ASTRODEV_ERROR_SYNC1 = -435,
216 COSMOS_ASTRODEV_ERROR_HEADER = -436,
217 COSMOS_ASTRODEV_ERROR_PAYLOAD = -437,
219 COSMOS_SUCHI_ERROR_CLOSED = -441,
221 COSMOS_VN100_ERROR_OPEN = -451,
222 COSMOS_VN100_ERROR_NACK = -452,
223 COSMOS_VN100_ERROR_SCAN = -453,
225 COSMOS_ISC_ERROR_CLOSED = -461,
227 COSMOS_TRANSFER_ERROR_MATCH = -471,
228 COSMOS_TRANSFER_ERROR_QUEUEFULL = -472,
229 COSMOS_TRANSFER_ERROR_INDEX = -473,
230 COSMOS_TRANSFER_ERROR_NODE = -474,
231 COSMOS_TRANSFER_ERROR_FILENAME = -475,
232 COSMOS_TRANSFER_ERROR_DUPLICATE = -476,
233 COSMOS_TRANSFER_ERROR_FILESIZE = -477,
234 COSMOS_TRANSFER_ERROR_FILEZERO = -478,
235 COSMOS_TRANSFER_ERROR_VERSION = -479,
237 COSMOS_SOCKET_ERROR_CS = -481,
238 COSMOS_SOCKET_ERROR_PROTOCOL = -482,
239 COSMOS_SOCKET_READ_TIMEOUT = -483,
240 COSMOS_SOCKET_ERROR_OPEN = -484,
241 COSMOS_SOCKET_ERROR_OPEN_RECEIVE = -485,
242 COSMOS_SOCKET_ERROR_OPEN_TRANSMIT = -486,
243 COSMOS_SOCKET_ERROR_OPEN_CONNECT = -487,
244 COSMOS_SOCKET_ERROR_CLOSE = -488,
246 COSMOS_TRIMBLE_ERROR_CS = -491,
248 COSMOS_JPLEPHEM_ERROR_NOTFOUND = -501,
249 COSMOS_JPLEPHEM_ERROR_INSUFFICIENT_MEMORY = -502,
250 COSMOS_JPLEPHEM_ERROR_OUTOFRANGE = -503,
251 COSMOS_JPLEPHEM_ERROR_NUTATIONS = -504,
252 COSMOS_JPLEPHEM_ERROR_LIBRATIONS = -505,
254 COSMOS_GEOMAG_ERROR_NOTFOUND = -511,
255 COSMOS_GEOMAG_ERROR_OUTOFRANGE = -512,
257 COSMOS_PRKX2SU_ERROR_OPEN = -521,
258 COSMOS_PRKX2SU_ERROR_CLOSED = -522,
259 COSMOS_PRKX2SU_ERROR_OUTOFRANGE = -523,
260 COSMOS_PRKX2SU_ERROR_SEND = -524,
262 COSMOS_CONVERT_ERROR_UTC = -531,
265 COSMOS_CUBEADCS_SERIALCOMM_RESPONSE = -601,
266 COSMOS_CUBEADCS_INVALID_RESPONSE = -602,
267 COSMOS_CUBEADCS_NOT_CONNECTED = -603,
268 COSMOS_CUBEADCS_SERIAL_PROTOCOL = -604,
270 COSMOS_CLYDE_EPS_NOT_CONNECTED = -611,
271 COSMOS_CLYDE_BATTERY_NOT_CONNECTED = -612,
272 COSMOS_CLYDE_GENERAL_BAD_ADDRESS = -613,
274 COSMOS_MEADE_MOUNT_ERROR_NOT_CONNECTED = -620,
275 COSMOS_MEADE_MOUNT_ERROR_BAD_RESPONSE = -621,
276 COSMOS_MEADE_MOUNT_ERROR_VALUE_INVALID = -622,
277 COSMOS_MEADE_MOUNT_ERROR_OUTSIDE_LIMITS = -623,
279 COSMOS_SCPI_ERROR_NOT_CONNECTED = -630,
280 COSMOS_SCPI_ERROR_BAD_RESPONSE = -631,
281 COSMOS_SCPI_ERROR_VALUE_INVALID = -632,
282 COSMOS_SCPI_ERROR_OUTSIDE_LIMITS = -633,
283 COSMOS_SCPI_ERROR_OUTSIDE_RANGE = -634,
285 COSMOS_ISIS_CMD_REJECTED = -640,
286 COSMOS_ISIS_INVALID_COMMAND_CODE = -641,
287 COSMOS_ISIS_PARAM_MISSING = -642,
288 COSMOS_ISIS_PARAM_INVALID = -643,
289 COSMOS_ISIS_UNAVAILABLE_IN_CURRENT_MODE = -644,
290 COSMOS_ISIS_INVALID_SYSTYPE_OR_IVID_OR_BID = -645,
291 COSMOS_ISIS_INTERNAL_ERROR = -646,
293 COSMOS_PACKET_TYPE_MISMATCH = -651,
295 COSMOS_GENERAL_OK = -0,
296 COSMOS_GENERAL_ERROR_NO_SIGNAL = -2001,
297 COSMOS_GENERAL_ERROR_NOTSTARTED = -2002,
298 COSMOS_GENERAL_ERROR_NULLPOINTER = -2003,
299 COSMOS_GENERAL_ERROR_OOPS = -2004,
300 COSMOS_GENERAL_ERROR_MEMORY = -2005,
301 COSMOS_GENERAL_ERROR_OPEN = -2006,
302 COSMOS_GENERAL_ERROR_CRC = -2007,
303 COSMOS_GENERAL_ERROR_OVERSIZE = -2008,
304 COSMOS_GENERAL_ERROR_ZEROSIZE = -2009,
305 COSMOS_GENERAL_ERROR_UNIMPLEMENTED = -2010,
306 COSMOS_GENERAL_ERROR_EMPTY = -2011,
307 COSMOS_GENERAL_ERROR_UNHANDLED_ERR = -2012,
308 COSMOS_GENERAL_ERROR_UNDERSIZE = -2013,
309 COSMOS_GENERAL_ERROR_BAD_SIZE = -2014,
310 COSMOS_GENERAL_ERROR_TIMEOUT = -2015,
311 COSMOS_GENERAL_ERROR_INPUT = -2016,
312 COSMOS_GENERAL_ERROR_OUTPUT = -2017,
313 COSMOS_GENERAL_ERROR_UNDEFINED = -2018,
314 COSMOS_GENERAL_ERROR_OUTOFRANGE = -2019,
315 COSMOS_GENERAL_ERROR_NOTREADY = -2020,
316 COSMOS_GENERAL_ERROR_BUSY = -2021,
317 COSMOS_GENERAL_ERROR_NO_CARRIER = -2022,
318 COSMOS_GENERAL_ERROR_NO_DIALTONE = -2023,
319 COSMOS_GENERAL_ERROR_NO_ANSWER = -2024,
320 COSMOS_GENERAL_ERROR_DUPLICATE = -2025,
321 COSMOS_GENERAL_ERROR_MISMATCH = -2026,
322 COSMOS_GENERAL_ERROR_ERROR = -2027,
323 COSMOS_GENERAL_ERROR_ARGS = -2028,
324 COSMOS_GENERAL_ERROR_TOO_LOW = -2029,
325 COSMOS_GENERAL_ERROR_POSITION = -2030,
326 COSMOS_GENERAL_ERROR_ATTITUDE = -2031,
327 COSMOS_GENERAL_ERROR_NAME = -2032,
328 COSMOS_GENERAL_ERROR_BAD_FD = -2033,
329 COSMOS_GENERAL_ERROR_BAD_ACK = -2034,
331 COSMOS_GPHOTO2_ERROR = -3000,
333 COSMOS_ERROR_END = -3001
336 #define GS232B_ERROR_OPEN -201
337 #define GS232B_ERROR_CLOSED -202
338 #define GS232B_ERROR_OUTOFRANGE -203
339 #define GS232B_ERROR_SEND -204
342 #define MICROSTRAIN_ERROR_OPEN -211
343 #define MICROSTRAIN_ERROR_CLOSED -212
344 #define MICROSTRAIN_ERROR_OUTOFRANGE -213
345 #define MICROSTRAIN_ERROR_FAILED -214
346 #define MICROSTRAIN_ERROR_TOOMANY -215
347 #define MICROSTRAIN_ERROR_FUNCTION -216
348 #define MICROSTRAIN_ERROR_SEND -217
350 #define SINCLAIR_ERROR_OPEN -221
351 #define SINCLAIR_ERROR_CLOSED -222
352 #define SINCLAIR_ERROR_OUTOFRANGE -223
353 #define SINCLAIR_ERROR_FAILED -224
354 #define SINCLAIR_ERROR_TOOMANY -225
356 #define NSP_ERROR_CRC -226
357 #define NSP_ERROR_SIZE -227
358 #define NSP_ERROR_NACK -228
360 #define TS2000_ERROR_OPEN -231
361 #define TS2000_ERROR_CLOSED -232
362 #define TS2000_ERROR_OUTOFRANGE -233
364 #define VMT35_ERROR_RODNUM -241
365 #define VMT35_ERROR_BYTE -242
366 #define VMT35_ERROR_OUTOFRANGE -243
367 #define VMT35_ERROR_OPENED -244
368 #define VMT35_ERROR_CLOSED -245
369 #define VMT35_ERROR_NACK -246
370 #define VMT35_ERROR_CRC -247
371 #define VMT35_ERROR_DEVNAME -248
373 #define JSON_ERROR_NAME_LENGTH -251
374 #define JSON_ERROR_DATA_LENGTH -252
375 #define JSON_ERROR_INDEX_SIZE -253
376 #define JSON_ERROR_NOJMAP -254
377 #define JSON_ERROR_NOENTRY -255
378 #define JSON_ERROR_EOS -256
379 #define JSON_ERROR_SCAN -257
380 #define JSON_ERROR_JSTRING -258
381 #define JSON_ERROR_NAN -259
383 #define SLIP_ERROR_CRC -261
384 #define SLIP_ERROR_PACKING -262
385 #define SLIP_ERROR_BUFFER -263
387 #define AGENT_ERROR_SERVER_RUNNING -270
388 #define AGENT_ERROR_JSON_CREATE -271
389 #define AGENT_ERROR_REQ_COUNT -272
390 #define AGENT_ERROR_MEMORY -273
391 #define AGENT_ERROR_SOCKET -274
392 #define AGENT_ERROR_CHANNEL -275
393 #define AGENT_ERROR_BUFLEN -276
394 #define AGENT_ERROR_NULL -277
395 #define AGENT_ERROR_DISCOVERY -278
396 #define AGENT_ERROR_REQUEST -279
398 #define MATH_ERROR_GJ_UNDEFINED -281
399 #define MATH_ERROR_GJ_OUTOFRANGE -282
401 #define AGENT_ERROR_LCM_CREATE -291
402 #define AGENT_ERROR_LCM_SUBSCRIBE -292
403 #define AGENT_ERROR_LCM_TIMEOUT -293
405 #define RW_ERROR_OPEN -301
406 #define RW_ERROR_CLOSED -302
407 #define RW_ERROR_OUTOFRANGE -303
408 #define RW_ERROR_FAILED -304
409 #define RW_ERROR_TOOMANY -305
410 #define RW_ERROR_SEND -306
412 #define STK_ERROR_LOWINDEX -311
413 #define STK_ERROR_HIGHINDEX -312
414 #define STK_ERROR_OUTOFRANGE -313
415 #define STK_ERROR_NOTFOUND -314
417 #define DEM_ERROR_SEMINIT -321
418 #define DEM_ERROR_OPEN -322
419 #define DEM_ERROR_INSUFFICIENT_MEMORY -323
420 #define DEM_ERROR_NOTFOUND -324
422 #define TLE_ERROR_OUTOFRANGE -331
423 #define ORBIT_ERROR_NOTSUPPORTED -332
424 #define TLE_ERROR_NOTFOUND -334
426 #define NODE_ERROR_NODE -341
427 #define NODE_ERROR_GROUNDSTATION -342
428 #define NODE_ERROR_ROOTDIR -343
430 #define MOST_USER_CANCELLED -351
432 #define DATA_ERROR_ARCHIVE -361
433 #define DATA_ERROR_SIZE_MISMATCH -362
434 #define DATA_ERROR_CRC -363
435 #define DATA_ERROR_FORMAT -364
436 #define DATA_ERROR_RESOURCES_FOLDER -365
437 #define DATA_ERROR_NODES_FOLDER -366
438 #define DATA_ERROR_ROOT_FOLDER -367
440 #define GIGE_ERROR_NACK -371
442 #define CSSL_ERROR_BASE -380
443 #define CSSL_ERROR_CHECKSUM -381
444 #define CSSL_ERROR_READ -382
445 #define CSSL_ERROR_TIMEOUT -383
446 #define CSSL_ERROR_EOT -384
447 #define CSSL_ERROR_SLIPIN -385
448 #define CSSL_ERROR_SLIPOUT -386
449 #define CSSL_ERROR_BUFFER_SIZE_EXCEEDED -387
450 #define CSSL_ERROR_BAD_ESCAPE -388
452 #define SERIAL_ERROR_CHECKSUM -381
453 #define SERIAL_ERROR_READ -382
454 #define SERIAL_ERROR_TIMEOUT -383
455 #define SERIAL_ERROR_EOT -384
456 #define SERIAL_ERROR_SLIPIN -385
457 #define SERIAL_ERROR_SLIPOUT -386
458 #define SERIAL_ERROR_BUFFER_SIZE_EXCEEDED -387
459 #define SERIAL_ERROR_BAD_ESCAPE -388
460 #define SERIAL_ERROR_OPEN -389
463 #define IC9100_ERROR_OPEN -391
464 #define IC9100_ERROR_CLOSED -392
465 #define IC9100_ERROR_OUTOFRANGE -393
466 #define IC9100_ERROR_WRITE -394
467 #define IC9100_ERROR_NG -395
468 #define IC9100_ERROR_READ -396
469 #define IC9100_ERROR_ADDR -397
471 #define GPS_ERROR_OPEN -401
472 #define GPS_ERROR_CLOSED -402
474 #define OEMV_ERROR_OPEN -411
475 #define OEMV_ERROR_CLOSED -412
476 #define OEMV_ERROR_CRC -413
477 #define OEMV_ERROR_RESPONSE -414
479 #define PIC_ERROR_OPEN -421
480 #define PIC_ERROR_CLOSED -422
481 #define PIC_ERROR_PORT -423
482 #define PIC_ERROR_NACK -424
483 #define PIC_ERROR_SIZE -425
484 #define PIC_ERROR_ERR -426
485 #define PIC_ERROR_TYPE -427
487 #define ASTRODEV_ERROR_HEADER_CS -431
488 #define ASTRODEV_ERROR_SYNC0 -432
489 #define ASTRODEV_ERROR_NACK -433
490 #define ASTRODEV_ERROR_PAYLOAD_CS -434
491 #define ASTRODEV_ERROR_SYNC1 -435
492 #define ASTRODEV_ERROR_HEADER -436
493 #define ASTRODEV_ERROR_PAYLOAD -437
495 #define SUCHI_ERROR_CLOSED -441
497 #define VN100_ERROR_OPEN -451
498 #define VN100_ERROR_NACK -452
499 #define VN100_ERROR_SCAN -453
501 #define ISC_ERROR_CLOSED -461
503 #define TRANSFER_ERROR_MATCH -471
504 #define TRANSFER_ERROR_QUEUEFULL -472
505 #define TRANSFER_ERROR_INDEX -473
506 #define TRANSFER_ERROR_NODE -474
507 #define TRANSFER_ERROR_FILENAME -475
508 #define TRANSFER_ERROR_DUPLICATE -476
509 #define TRANSFER_ERROR_FILESIZE -477
510 #define TRANSFER_ERROR_FILEZERO -478
511 #define TRANSFER_ERROR_VERSION -479
513 #define SOCKET_ERROR_CS -481
514 #define SOCKET_ERROR_PROTOCOL -482
515 #define SOCKET_READ_TIMEOUT -483
516 #define SOCKET_ERROR_OPEN -484
517 #define SOCKET_ERROR_OPEN_RECEIVE -485
518 #define SOCKET_ERROR_OPEN_TRANSMIT -486
519 #define SOCKET_ERROR_OPEN_CONNECT -487
520 #define SOCKET_ERROR_CLOSE -488
522 #define TRIMBLE_ERROR_CS -491
524 #define JPLEPHEM_ERROR_NOTFOUND -501
525 #define JPLEPHEM_ERROR_INSUFFICIENT_MEMORY -502
526 #define JPLEPHEM_ERROR_OUTOFRANGE -503
527 #define JPLEPHEM_ERROR_NUTATIONS -504
528 #define JPLEPHEM_ERROR_LIBRATIONS -505
530 #define GEOMAG_ERROR_NOTFOUND -511
531 #define GEOMAG_ERROR_OUTOFRANGE -512
533 #define PRKX2SU_ERROR_OPEN -521
534 #define PRKX2SU_ERROR_CLOSED -522
535 #define PRKX2SU_ERROR_OUTOFRANGE -523
536 #define PRKX2SU_ERROR_SEND -524
538 #define CONVERT_ERROR_UTC -531
541 #define CUBEADCS_SERIALCOMM_RESPONSE -601
542 #define CUBEADCS_INVALID_RESPONSE -602
543 #define CUBEADCS_NOT_CONNECTED -603
544 #define CUBEADCS_SERIAL_PROTOCOL -604
546 #define CLYDE_EPS_NOT_CONNECTED -611
547 #define CLYDE_BATTERY_NOT_CONNECTED -612
548 #define CLYDE_GENERAL_BAD_ADDRESS -613
550 #define MEADE_MOUNT_ERROR_NOT_CONNECTED -620
551 #define MEADE_MOUNT_ERROR_BAD_RESPONSE -621
552 #define MEADE_MOUNT_ERROR_VALUE_INVALID -622
553 #define MEADE_MOUNT_ERROR_OUTSIDE_LIMITS -623
555 #define SCPI_ERROR_NOT_CONNECTED -630
556 #define SCPI_ERROR_BAD_RESPONSE -631
557 #define SCPI_ERROR_VALUE_INVALID -632
558 #define SCPI_ERROR_OUTSIDE_LIMITS -633
559 #define SCPI_ERROR_OUTSIDE_RANGE -634
562 #define GENERAL_ERROR_NO_SIGNAL -2001
563 #define GENERAL_ERROR_NOTSTARTED -2002
564 #define GENERAL_ERROR_NULLPOINTER -2003
565 #define GENERAL_ERROR_OOPS -2004
566 #define GENERAL_ERROR_MEMORY -2005
567 #define GENERAL_ERROR_OPEN -2006
568 #define GENERAL_ERROR_CRC -2007
569 #define GENERAL_ERROR_OVERSIZE -2008
570 #define GENERAL_ERROR_ZEROSIZE -2009
571 #define GENERAL_ERROR_UNIMPLEMENTED -2010
572 #define GENERAL_ERROR_EMPTY -2011
573 #define GENERAL_ERROR_UNHANDLED_ERR -2012
574 #define GENERAL_ERROR_UNDERSIZE -2013
575 #define GENERAL_ERROR_BAD_SIZE -2014
576 #define GENERAL_ERROR_TIMEOUT -2015
577 #define GENERAL_ERROR_INPUT -2016
578 #define GENERAL_ERROR_OUTPUT -2017
579 #define GENERAL_ERROR_UNDEFINED -2018
580 #define GENERAL_ERROR_OUTOFRANGE -2019
581 #define GENERAL_ERROR_NOTREADY -2020
582 #define GENERAL_ERROR_BUSY -2021
583 #define GENERAL_ERROR_NO_CARRIER -2022
584 #define GENERAL_ERROR_NO_DIALTONE -2023
585 #define GENERAL_ERROR_NO_ANSWER -2024
586 #define GENERAL_ERROR_DUPLICATE -2025
587 #define GENERAL_ERROR_MISMATCH -2026
588 #define GENERAL_ERROR_ERROR -2027
589 #define GENERAL_ERROR_ARGS -2028
590 #define GENERAL_ERROR_TOO_LOW -2029
591 #define GENERAL_ERROR_POSITION -2030
592 #define GENERAL_ERROR_ATTITUDE -2031
593 #define GENERAL_ERROR_NAME -2032
594 #define GENERAL_ERROR_BAD_FD -2033
595 #define GENERAL_ERROR_BAD_ACK -2034
596 #define GENERAL_ERROR_EOF -2035
597 #define GENERAL_ERROR_BAD_DIR -2036
599 #define GPHOTO2_ERROR -3000
Headers and definitions common to all COSMOS Kernel.