net: Allow user to activate 802.15.4 6lowpan frag debug
User can set CONFIG_NETWORK_IP_STACK_DEBUG_15_4_6LOWPAN_FRAG to get debugs from 802.15.4 6lowpan fragmentation code. Change-Id: I3a199cf9e5696a1017a290d182a0d7176b1c259e Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
7d805482c3
commit
b7c6c2198f
2 changed files with 10 additions and 1 deletions
|
@ -93,6 +93,13 @@ config NETWORK_IP_STACK_DEBUG_IPV6_ROUTE
|
|||
help
|
||||
Enables IPv6 route code part to output debug messages
|
||||
|
||||
config NETWORK_IP_STACK_DEBUG_15_4_6LOWPAN_FRAG
|
||||
bool "Debug 802.15.4 6LoWPAN fragmentation"
|
||||
depends on NETWORKING_WITH_15_4
|
||||
default n
|
||||
help
|
||||
Enables 802.15.4 6LoWPAN fragmentation to output debug messages
|
||||
|
||||
config NETWORK_IP_STACK_DEBUG_IPV4
|
||||
bool "Debug core IPv4"
|
||||
depends on NETWORKING_WITH_IPV4
|
||||
|
|
|
@ -76,7 +76,9 @@
|
|||
|
||||
#include "contiki/ipv6/uip-ds6-nbr.h"
|
||||
|
||||
#define DEBUG 0
|
||||
#ifdef CONFIG_NETWORK_IP_STACK_DEBUG_15_4_6LOWPAN_FRAG
|
||||
#define DEBUG 1
|
||||
#endif
|
||||
#include "contiki/ip/uip-debug.h"
|
||||
#if DEBUG
|
||||
/* PRINTFI and PRINTFO are defined for input and output to debug one without changing the timing of the other */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue