adding init to openwsn.c