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.
 
int openwsn_bootstrap (void)
 Initializes OpenWSN thread. More...
 
kernel_pid_t openwsn_get_pid (void)
 get PID of OpenWsn thread. More...
 

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