Enable llsec on Z1 nodes
This commit is contained in:
parent
edec34f684
commit
0b68334e95
|
@ -11,5 +11,5 @@ endif
|
||||||
|
|
||||||
MODULES += core/net \
|
MODULES += core/net \
|
||||||
core/net/mac core/net/mac/contikimac \
|
core/net/mac core/net/mac/contikimac \
|
||||||
core/net/llsec \
|
core/net/llsec core/net/llsec/noncoresec \
|
||||||
dev/cc2420
|
dev/cc2420
|
||||||
|
|
|
@ -318,10 +318,11 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
NETSTACK_RDC.init();
|
NETSTACK_RDC.init();
|
||||||
NETSTACK_MAC.init();
|
NETSTACK_MAC.init();
|
||||||
|
NETSTACK_LLSEC.init();
|
||||||
NETSTACK_NETWORK.init();
|
NETSTACK_NETWORK.init();
|
||||||
|
|
||||||
printf("%s %s, channel check rate %lu Hz, radio channel %u\n",
|
printf("%s %s %s, channel check rate %lu Hz, radio channel %u\n",
|
||||||
NETSTACK_MAC.name, NETSTACK_RDC.name,
|
NETSTACK_LLSEC.name, NETSTACK_MAC.name, NETSTACK_RDC.name,
|
||||||
CLOCK_SECOND / (NETSTACK_RDC.channel_check_interval() == 0 ? 1 :
|
CLOCK_SECOND / (NETSTACK_RDC.channel_check_interval() == 0 ? 1 :
|
||||||
NETSTACK_RDC.channel_check_interval()),
|
NETSTACK_RDC.channel_check_interval()),
|
||||||
CC2420_CONF_CHANNEL);
|
CC2420_CONF_CHANNEL);
|
||||||
|
@ -359,10 +360,11 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
NETSTACK_RDC.init();
|
NETSTACK_RDC.init();
|
||||||
NETSTACK_MAC.init();
|
NETSTACK_MAC.init();
|
||||||
|
NETSTACK_LLSEC.init();
|
||||||
NETSTACK_NETWORK.init();
|
NETSTACK_NETWORK.init();
|
||||||
|
|
||||||
printf("%s %s, channel check rate %lu Hz, radio channel %u\n",
|
printf("%s %s %s, channel check rate %lu Hz, radio channel %u\n",
|
||||||
NETSTACK_MAC.name, NETSTACK_RDC.name,
|
NETSTACK_LLSEC.name, NETSTACK_MAC.name, NETSTACK_RDC.name,
|
||||||
CLOCK_SECOND / (NETSTACK_RDC.channel_check_interval() == 0 ? 1 :
|
CLOCK_SECOND / (NETSTACK_RDC.channel_check_interval() == 0 ? 1 :
|
||||||
NETSTACK_RDC.channel_check_interval()),
|
NETSTACK_RDC.channel_check_interval()),
|
||||||
CC2420_CONF_CHANNEL);
|
CC2420_CONF_CHANNEL);
|
||||||
|
|
Loading…
Reference in a new issue