nrfxlib API 3.3.99
Loading...
Searching...
No Matches
nrf_errno.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Nordic-5-Clause
5 */
6
7#ifndef NRF_ERRNO_H__
8#define NRF_ERRNO_H__
9
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#define NRF_EPERM 1
23#define NRF_ENOENT 2
24#define NRF_EIO 5
25#define NRF_EBADF 9
26#define NRF_ENOMEM 12
27#define NRF_EACCES 13
28#define NRF_EFAULT 14
29#define NRF_EINVAL 22
30#define NRF_EMFILE 24
31#define NRF_EAGAIN 35
32#define NRF_EPROTOTYPE 41
33#define NRF_ENOPROTOOPT 42
34#define NRF_EPROTONOSUPPORT 43
35#define NRF_ESOCKTNOSUPPORT 44
36#define NRF_EOPNOTSUPP 45
37#define NRF_EAFNOSUPPORT 47
38#define NRF_EADDRINUSE 48
39#define NRF_ENETDOWN 50
40#define NRF_ENETUNREACH 51
41#define NRF_ECONNRESET 54
42#define NRF_EISCONN 56
43#define NRF_ENOTCONN 57
44#define NRF_ETIMEDOUT 60
45#define NRF_ENOBUFS 105
46
47#define NRF_EHOSTDOWN 112 //< Host is down.
48#define NRF_EINPROGRESS 115 //< Operation in progress.
49#define NRF_ECANCELED 125 //< Operation canceled.
50
51#define NRF_ENOKEY 126
52#define NRF_EKEYEXPIRED 127
53#define NRF_EKEYREVOKED 128
54#define NRF_EKEYREJECTED 129
55
56#ifdef __cplusplus
57}
58#endif
59
62#endif /* NRF_ERRNO_H__ */