#include "thread.h"
Go to the source code of this file.
◆ CONFIG_OPENWSN_NETIF_ID
#define CONFIG_OPENWSN_NETIF_ID (0x0001) |
Default NID for OpenWSN network.
- Note
- Only one netif is currently possible in OpenWSN.
Definition at line 42 of file openwsn.h.
◆ OPENWSN_PANID
#define OPENWSN_PANID (0xCAFE) |
Default PANID for OpenWSN network.
Definition at line 33 of file openwsn.h.
◆ openwsn_bootstrap()
int openwsn_bootstrap |
( |
void |
| ) |
|
Initializes OpenWSN thread.
- Returns
- PID of OpenWSN thread
-
-1 on initialization error
◆ openwsn_get_pid()
get PID of OpenWsn thread.
- Returns
- PID of OpenWsn thread