Loading...
Searching...
No Matches
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.
 
#define CONFIG_OPENWSN_NETIF_ID   (0x0001)
 Default NID for OpenWSN network.
 
int openwsn_bootstrap (void)
 Initializes OpenWSN thread.
 
kernel_pid_t openwsn_get_pid (void)
 get PID of OpenWsn thread.
 

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