gnrc/sixlowpan.h¶
Definitions for 6LoWPAN.
-
GNRC_SIXLOWPAN_STACK_SIZE
¶ Default stack size to use for the 6LoWPAN thread.
1
(THREAD_STACKSIZE_DEFAULT)
-
GNRC_SIXLOWPAN_PRIO
¶ Default priority for the 6LoWPAN thread.
1
(THREAD_PRIORITY_MAIN - 4)
-
GNRC_SIXLOWPAN_MSG_QUEUE_SIZE
¶ Default message queue size to use for the 6LoWPAN thread.
1
(8U)
-
kernel_types.h::kernel_pid_t
gnrc_sixlowpan_init
(void)¶ Initialization of the 6LoWPAN thread.
If 6LoWPAN was already initialized, it will just return the PID of the 6LoWPAN thread.
Return values
- The PID to the 6LoWPAN thread, on success.
- -EINVAL, if
gnrc/sixlowpan.h::GNRC_SIXLOWPAN_PRIO
was greater than or equal tosched.h::SCHED_PRIO_LEVELS
- -EOVERFLOW, if there are too many threads running already in general