SatNOGS-COMMS  4.1.0
A COMMS subsystem for CubeSats
Loading...
Searching...
No Matches
errno_extended.hpp
Go to the documentation of this file.
1/*
2 * SatNOGS-COMMS control library
3 *
4 * Copyright (C) 2024, Libre Space Foundation <http://libre.space>
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * SPDX-License-Identifier: GNU General Public License v3.0 or later
20 */
21
22#pragma once
23#include <errno.h>
24
35
36extern "C" {
37#define EINVALSENS (__ELASTERROR + 1)
38#define EUNINIT \
39 (__ELASTERROR + 2)
40#define EINIT (__ELASTERROR + 3)
41#define ETHERMSHUT (__ELASTERROR + 4)
42#define EBADINFSENS (__ELASTERROR + 5)
43#define EBUSYSENS (__ELASTERROR + 6)
44#define EHWNOTCONF (__ELASTERROR + 7)
45#define ERADIO (__ELASTERROR + 8)
46#define EBADFREQ (__ELASTERROR + 9)
47#define ERFFE24 (__ELASTERROR + 10)
48#define EMIXLOCK (__ELASTERROR + 11)
49#define EI2C (__ELASTERROR + 12)
50#define ESPI (__ELASTERROR + 13)
51#define ECANENBL (__ELASTERROR + 14)
52#define EISOTPBIND (__ELASTERROR + 15)
53#define EISOTPRECV (__ELASTERROR + 16)
54#define EDEVNOTREADY (__ELASTERROR + 17)
55#define EVBAT (__ELASTERROR + 18)
56#define EADCINIT (__ELASTERROR + 19)
57#define EDEVNOTCONF (__ELASTERROR + 20)
58#define EWDT (__ELASTERROR + 21)
59#define EPLL (__ELASTERROR + 22)
60#define ESTORAGE (__ELASTERROR + 23)
61#define EFLASHINIT (__ELASTERROR + 24)
62#define EFLASHREAD \
63 (__ELASTERROR + \
64 25)
65}