openwsn.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Hamburg University of Applied Sciences
3  * 2020 Inria
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
20 #ifndef OPENWSN_H
21 #define OPENWSN_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #include "thread.h"
28 
32 #ifndef OPENWSN_PANID
33 #define OPENWSN_PANID (0xCAFE)
34 #endif
35 
41 #ifndef CONFIG_OPENWSN_NETIF_ID
42 #define CONFIG_OPENWSN_NETIF_ID (0x0001)
43 #endif
44 
52 
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif /* OPENWSN_H */
int16_t kernel_pid_t
Unique process identifier.
Definition: sched.h:139
kernel_pid_t openwsn_get_pid(void)
get PID of OpenWsn thread.
int openwsn_bootstrap(void)
Initializes OpenWSN thread.