Microchip® Advanced Software Framework

ipolite.h File Reference

    Header file for Ipolite best effort local Broadcast (ipolite)
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
#include "sys/ctimer.h"
#include "net/rime/broadcast.h"
#include "net/queuebuf.h"

Data Structures

struct  ipolite_callbacks
 A structure with callback functions for an ipolite connection. More...
 
struct  ipolite_conn
 An opaque structure with no user-visible elements that holds the state of an ipolite connection,. More...
 

Macros

#define IPOLITE_ATTRIBUTES   IBC_ATTRIBUTES
 

Functions

void ipolite_cancel (struct ipolite_conn *c)
 Cancel a pending packet. More...
 
void ipolite_close (struct ipolite_conn *c)
 Close an ipolite connection. More...
 
void ipolite_open (struct ipolite_conn *c, uint16_t channel, uint8_t maxdups, const struct ipolite_callbacks *cb)
 Open an ipolite connection. More...
 
int ipolite_send (struct ipolite_conn *c, clock_time_t interval, uint8_t hdrsize)
 Send a packet on an ipolite connection. More...