-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject-conf.h
43 lines (37 loc) · 1.34 KB
/
project-conf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef PROJECT_CONF_H_
#define PROJECT_CONF_H_
#define COAP_MAX_CHUNK_SIZE 400 // Check macro in coap.h before changing value
/**
* Must be bigger than COAP_MAX_CHUNK_SIZE:
* COAP_MAX_PACKET_SIZE > (UIP_BUFSIZE - UIP_IPH_LEN - UIP_UDPH_LEN)
*/
#define UIP_CONF_BUFFER_SIZE 500
// Set an alternative PANID other than 0xABCD
#ifdef ALTERNATIVE_PANID
#if ALTERNATIVE_PANID == 1 //Eduardo
#define IEEE802154_CONF_PANID 0xDCBA
#elif ALTERNATIVE_PANID == 0 //Other
#define IEEE802154_CONF_PANID 0xBBBB
#endif //else: Default PANID: 0xABCD
#endif
#ifdef CONF_EDU
// Custom configuration
#define EDU_DEBUG 1
//Stack Guard (Atiselsts)
// #define STACK_CHECK_CONF_ENABLED 1
#else
#define EDU_DEBUG 0
#endif
#ifdef DEBUG_NOOB
#define NOOB_DEBUG 1
#else
#define NOOB_DEBUG 0
#endif
// #define LOG_CONF_LEVEL_COAP LOG_LEVEL_DBG
// #define LOG_CONF_LEVEL_IPV6 LOG_LEVEL_DBG
// #define LOG_CONF_LEVEL_RPL LOG_LEVEL_DBG
// #define LOG_CONF_LEVEL_6LOWPAN LOG_LEVEL_DBG
// #define LOG_CONF_LEVEL_TCPIP LOG_LEVEL_DBG
// #define LOG_CONF_LEVEL_MAC LOG_LEVEL_DBG
// #define LOG_CONF_LEVEL_FRAMER LOG_LEVEL_DBG
#endif /* PROJECT_CONF_H_ */