MeshX 0.3
This repository provides an implementation for Bluetooth Low Energy (BLE) Mesh network nodes. The project allows you to create BLE mesh nodes that can communicate with each other, enabling the development of smart home solutions or other IoT-based applications.
Loading...
Searching...
No Matches
meshx_err.h
Go to the documentation of this file.
1
9
10#ifndef __MESHX_ERR_H__
11#define __MESHX_ERR_H__
12
13#include <stdint.h>
14
15#define MESHX_UNUSED(x) ((void)(x))
16
17#define MESHX_DO_NOTHING do {} while(0)
18
19#define MESHX_WEEK __attribute__((weak))
20
21/* Compiler based definations */
22
23#ifndef MESHX_MALLOC
24#define MESHX_MALLOC malloc
25#endif
26
27#ifndef MESHX_CALOC
28#define MESHX_CALOC calloc
29#endif
30
31#ifndef MESHX_FREE
32#define MESHX_FREE free
33#endif
34
51
52#endif /* __MESHX_ERR_H__ */
meshx_err_t
MeshX Error Codes.
Definition meshx_err.h:39
@ MESHX_SUCCESS
Definition meshx_err.h:40
@ MESHX_INVALID_ARG
Definition meshx_err.h:42
@ MESHX_NOT_SUPPORTED
Definition meshx_err.h:47
@ MESHX_FAIL
Definition meshx_err.h:41
@ MESHX_ERR_PLAT
Definition meshx_err.h:43
@ MESHX_ERR_MAX
Definition meshx_err.h:49
@ MESHX_INVALID_STATE
Definition meshx_err.h:45
@ MESHX_NOT_FOUND
Definition meshx_err.h:46
@ MESHX_NO_MEM
Definition meshx_err.h:44
@ MESHX_TIMEOUT
Definition meshx_err.h:48