![]() |
SatNOGS-COMMS
4.1.0
A COMMS subsystem for CubeSats
|
Defines custom error codes for the SatNOGS-COMMS control library. More...
#include <errno.h>Go to the source code of this file.
Macros | |
| #define | EINVALSENS (__ELASTERROR + 1) |
| Invalid sensor. | |
| #define | EUNINIT (__ELASTERROR + 2) |
| Singleton not initialized (init() not called). | |
| #define | EINIT (__ELASTERROR + 3) |
| Singleton already initialized. | |
| #define | ETHERMSHUT (__ELASTERROR + 4) |
| Thermal shutdown is required. | |
| #define | EBADINFSENS (__ELASTERROR + 5) |
| Parsing bad sensor info. | |
| #define | EBUSYSENS (__ELASTERROR + 6) |
| Readings from sensor not available yet. | |
| #define | EHWNOTCONF (__ELASTERROR + 7) |
| Pin is not configured. | |
| #define | ERADIO (__ELASTERROR + 8) |
| Error in radio. | |
| #define | EBADFREQ (__ELASTERROR + 9) |
| Unsupported frequency. | |
| #define | ERFFE24 (__ELASTERROR + 10) |
| Error in rf_frontend24. | |
| #define | EMIXLOCK (__ELASTERROR + 11) |
| Error in mixer lock. | |
| #define | EI2C (__ELASTERROR + 12) |
| Error in I2C. | |
| #define | ESPI (__ELASTERROR + 13) |
| Error in SPI. | |
| #define | ECANENBL (__ELASTERROR + 14) |
| Error in enabling CAN device. | |
| #define | EISOTPBIND (__ELASTERROR + 15) |
| Error in ISOTP device binding. | |
| #define | EISOTPRECV (__ELASTERROR + 16) |
| Error in receiving from ISOTP device. | |
| #define | EDEVNOTREADY (__ELASTERROR + 17) |
| Device not ready. | |
| #define | EVBAT (__ELASTERROR + 18) |
| Error in VBAT readings. | |
| #define | EADCINIT (__ELASTERROR + 19) |
| Error in ADC readings. | |
| #define | EDEVNOTCONF (__ELASTERROR + 20) |
| Device not configured. | |
| #define | EWDT (__ELASTERROR + 21) |
| Watchdog error. | |
| #define | EPLL (__ELASTERROR + 22) |
| PLL unlocked. | |
| #define | ESTORAGE (__ELASTERROR + 23) |
| Error on storage. | |
| #define | EFLASHINIT (__ELASTERROR + 24) |
| Error in FLASH initialization. | |
| #define | EFLASHREAD |
| Error in FLASH reading (ECC error / Uncorrectable double error). | |
Defines custom error codes for the SatNOGS-COMMS control library.
This file introduces a set of error codes specific to the SatNOGS-COMMS control library, extending the standard error codes provided by <errno.h>.
Definition in file errno_extended.hpp.
| #define EADCINIT (__ELASTERROR + 19) |
Error in ADC readings.
Definition at line 56 of file errno_extended.hpp.
| #define EBADFREQ (__ELASTERROR + 9) |
Unsupported frequency.
Definition at line 46 of file errno_extended.hpp.
| #define EBADINFSENS (__ELASTERROR + 5) |
Parsing bad sensor info.
Definition at line 42 of file errno_extended.hpp.
| #define EBUSYSENS (__ELASTERROR + 6) |
Readings from sensor not available yet.
Definition at line 43 of file errno_extended.hpp.
| #define ECANENBL (__ELASTERROR + 14) |
Error in enabling CAN device.
Definition at line 51 of file errno_extended.hpp.
| #define EDEVNOTCONF (__ELASTERROR + 20) |
Device not configured.
Definition at line 57 of file errno_extended.hpp.
| #define EDEVNOTREADY (__ELASTERROR + 17) |
Device not ready.
Definition at line 54 of file errno_extended.hpp.
| #define EFLASHINIT (__ELASTERROR + 24) |
Error in FLASH initialization.
Definition at line 61 of file errno_extended.hpp.
| #define EFLASHREAD |
Error in FLASH reading (ECC error / Uncorrectable double error).
Definition at line 62 of file errno_extended.hpp.
| #define EHWNOTCONF (__ELASTERROR + 7) |
Pin is not configured.
Definition at line 44 of file errno_extended.hpp.
| #define EI2C (__ELASTERROR + 12) |
Error in I2C.
Definition at line 49 of file errno_extended.hpp.
| #define EINIT (__ELASTERROR + 3) |
Singleton already initialized.
Definition at line 40 of file errno_extended.hpp.
| #define EINVALSENS (__ELASTERROR + 1) |
Invalid sensor.
Definition at line 37 of file errno_extended.hpp.
| #define EISOTPBIND (__ELASTERROR + 15) |
Error in ISOTP device binding.
Definition at line 52 of file errno_extended.hpp.
| #define EISOTPRECV (__ELASTERROR + 16) |
Error in receiving from ISOTP device.
Definition at line 53 of file errno_extended.hpp.
| #define EMIXLOCK (__ELASTERROR + 11) |
Error in mixer lock.
Definition at line 48 of file errno_extended.hpp.
| #define EPLL (__ELASTERROR + 22) |
PLL unlocked.
Definition at line 59 of file errno_extended.hpp.
| #define ERADIO (__ELASTERROR + 8) |
Error in radio.
Definition at line 45 of file errno_extended.hpp.
| #define ERFFE24 (__ELASTERROR + 10) |
Error in rf_frontend24.
Definition at line 47 of file errno_extended.hpp.
| #define ESPI (__ELASTERROR + 13) |
Error in SPI.
Definition at line 50 of file errno_extended.hpp.
| #define ESTORAGE (__ELASTERROR + 23) |
Error on storage.
Definition at line 60 of file errno_extended.hpp.
| #define ETHERMSHUT (__ELASTERROR + 4) |
Thermal shutdown is required.
Definition at line 41 of file errno_extended.hpp.
| #define EUNINIT (__ELASTERROR + 2) |
Singleton not initialized (init() not called).
Definition at line 38 of file errno_extended.hpp.
| #define EVBAT (__ELASTERROR + 18) |
Error in VBAT readings.
Definition at line 55 of file errno_extended.hpp.
| #define EWDT (__ELASTERROR + 21) |
Watchdog error.
Definition at line 58 of file errno_extended.hpp.