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 
42 int openwsn_bootstrap(void);
43 
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* OPENWSN_H */
56 
kernel_pid_t
int16_t kernel_pid_t
Unique process identifier.
Definition: sched.h:125
openwsn_get_pid
kernel_pid_t openwsn_get_pid(void)
get PID of OpenWsn thread.
openwsn_bootstrap
int openwsn_bootstrap(void)
Initializes OpenWSN thread.