openwsn.h File Reference

Detailed Description

#include "thread.h"
+ Include dependency graph for openwsn.h:

Go to the source code of this file.

#define OPENWSN_PANID   (0xCAFE)
 Default PANID for OpenWSN network. More...
 
#define CONFIG_OPENWSN_NETIF_ID   (0x0001)
 Default NID for OpenWSN network. More...
 
int openwsn_bootstrap (void)
 Initializes OpenWSN thread. More...
 
kernel_pid_t openwsn_get_pid (void)
 get PID of OpenWsn thread. More...
 

Macro Definition Documentation

◆ 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.

Function Documentation

◆ openwsn_bootstrap()

int openwsn_bootstrap ( void  )

Initializes OpenWSN thread.

Returns
PID of OpenWSN thread
-1 on initialization error

◆ openwsn_get_pid()

kernel_pid_t openwsn_get_pid ( void  )

get PID of OpenWsn thread.

Returns
PID of OpenWsn thread