RF24Mesh  V1.0.3b
A user friendly mesh overlay for sensor networks using RF24Network and nRF24L01 radio modules
RF24Mesh_config.h
Go to the documentation of this file.
1 
2 
3 #ifndef __RF24MESH_CONFIG_H__
4 #define __RF24MESH_CONFIG_H__
5 
6 /*** User Configuration ***/
7 #define MESH_MAX_CHILDREN 4
8 //#define MESH_NOMASTER
10 /***Advanced User Config***/
11 #define MESH_WRITE_TIMEOUT 5550
12 #define MESH_DEFAULT_CHANNEL 97
13 #define MESH_RENEWAL_TIMEOUT 60000
14 /**************************/
15 /*** Debug ***/
16 //#define MESH_DEBUG_MINIMAL /** Uncomment for the Master Node to print out address assignments as they are assigned */
17 //#define MESH_DEBUG /** Uncomment to enable debug output to serial **/
18 /**************************/
19 
21 #define MESH_MIN_SAVE_TIME 30000
22 #define MESH_DEFAULT_ADDRESS 04444
23 #define MESH_MAX_ADDRESSES 255
24 //#define MESH_ADDRESS_HOLD_TIME 30000
26  #if defined (MESH_DEBUG)
27  #if !defined (__linux) && !defined ARDUINO_SAM_DUE || defined TEENSY || defined(__ARDUINO_X86__)
28  #define MESH_DEBUG_SERIAL
29  #else
30  #define MESH_DEBUG_PRINTF
31  #endif
32  #endif
33 
34 
35 
36 
37 
38 
39 #endif