Loading...
Searching...
No Matches
openwsn.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 HAW Hamburg
3 * SPDX-FileCopyrightText: 2020 Inria
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include "thread.h"
25
29#ifndef OPENWSN_PANID
30#define OPENWSN_PANID (0xCAFE)
31#endif
32
38#ifndef CONFIG_OPENWSN_NETIF_ID
39#define CONFIG_OPENWSN_NETIF_ID (0x0001)
40#endif
41
49
56
57#ifdef __cplusplus
58}
59#endif
60
int16_t kernel_pid_t
Unique process identifier.
Definition sched.h:134
kernel_pid_t openwsn_get_pid(void)
get PID of OpenWsn thread.
int openwsn_bootstrap(void)
Initializes OpenWSN thread.