RF24Ethernet - TCP/IP over RF24Network v1.6.14
TMRh20 - Pushing the practical limits of RF24 modules
Loading...
Searching...
No Matches
RF24Ethernet_config.h
Go to the documentation of this file.
1/*
2 RF24Server.cpp - Arduino implementation of a uIP wrapper class.
3 Copyright (c) 2014 tmrh20@gmail.com, github.com/TMRh20
4 All rights reserved.
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
20/** @file RF24Ethernet_config.h*/
21/**
22 * @defgroup DebugOptions Debugging Options
23 * @{
24 */
25
26/*********** USER DEBUG CONFIGURATION *********/
27//#define RF24ETHERNET_DEBUG_CLIENT
28//#define ETH_DEBUG_L1
29//#define ETH_DEBUG_L2
30//#define RF24ETHERNET_DEBUG_UDP
31//#define RF24ETHERNET_DEBUG_DNS
32/****************************************/
33
34// Note: See uip-conf.h for general user configuration options
35
36/**
37 * Uncomment `#define RF24ETHERNET_DEBUG_CLIENT` to enable main debugging output
38 */
39#if defined(RF24ETHERNET_DEBUG_CLIENT)
40 #define IF_RF24ETHERNET_DEBUG_CLIENT(x) ({ x; })
41#else
42 #define IF_RF24ETHERNET_DEBUG_CLIENT(x)
43#endif
44
45/**
46 * Uncomment `#define ETH_DEBUG_L1` for debugging window reopening & retransmissions
47 */
48#if defined(ETH_DEBUG_L1)
49 #define IF_ETH_DEBUG_L1(x) ({ x; })
50#else
51 #define IF_ETH_DEBUG_L1(x)
52#endif
53
54/**
55 * Uncomment `#define ETH_DEBUG_L2` for extra client state debugging
56 */
57#if defined(ETH_DEBUG_L2)
58 #define IF_ETH_DEBUG_L2(x) ({ x; })
59#else
60 #define IF_ETH_DEBUG_L2(x)
61#endif
62
63/**
64 * Uncomment `#define RF24ETHERNET_DEBUG_UDP` for UDP debugging
65 */
66#if defined(RF24ETHERNET_DEBUG_UDP)
67 #define IF_RF24ETHERNET_DEBUG_UDP(x) ({ x; })
68#else
69 #define IF_RF24ETHERNET_DEBUG_UDP(x)
70#endif
71
72/**
73 * Uncomment `#define RF24ETHERNET_DEBUG_DNS` for DNS debugging
74 */
75#if defined(RF24ETHERNET_DEBUG_DNS)
76 #define IF_RF24ETHERNET_DEBUG_DNS(x) ({ x; })
77#else
78 #define IF_RF24ETHERNET_DEBUG_DNS(x)
79#endif
80
81/** @} */