OpenWSN Firmware
sixtop.h File Reference
#include "opentimers.h"
#include "openwsn.h"

Go to the source code of this file.

Data Structures

struct  sixtop_vars_t
 

Macros

#define SIX2SIX_TIMEOUT_MS   2000
 

Enumerations

enum  sixtop_CommandID_num { SIXTOP_SOFT_CELL_REQ = 0x00, SIXTOP_SOFT_CELL_RESPONSE = 0x01, SIXTOP_REMOVE_SOFT_CELL_REQUEST = 0x02 }
 
enum  six2six_state_t {
  SIX_IDLE = 0x00, SIX_SENDING_ADDREQUEST = 0x01, SIX_WAIT_ADDREQUEST_SENDDONE = 0x02, SIX_WAIT_ADDRESPONSE = 0x03,
  SIX_ADDRESPONSE_RECEIVED = 0x04, SIX_ADDREQUEST_RECEIVED = 0x05, SIX_SENDING_ADDRESPONSE = 0x06, SIX_WAIT_ADDRESPONSE_SENDDONE = 0x07,
  SIX_SENDING_REMOVEREQUEST = 0x08, SIX_WAIT_REMOVEREQUEST_SENDDONE = 0x09, SIX_REMOVEREQUEST_RECEIVED = 0x0a
}
 

Functions

void sixtop_init (void)
 
void sixtop_setKaPeriod (uint16_t kaPeriod)
 
void sixtop_addCells (open_addr_t *neighbor, uint16_t numCells)
 
void sixtop_removeCell (open_addr_t *neighbor)
 
owerror_t sixtop_send (OpenQueueEntry_t *msg)
 
void task_sixtopNotifSendDone (void)
 
void task_sixtopNotifReceive (void)
 
bool debugPrint_myDAGrank (void)
 Trigger this module to print status information, over serial. More...
 
bool debugPrint_kaPeriod (void)
 Trigger this module to print status information, over serial. More...