Microchip® Advanced Software Framework

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

Data Structures

struct  polite_callbacks
 A structure with callback functions for a polite connection. More...
 
struct  polite_conn
 An opaque structure with no user-visible elements that holds the state of a polite connection,. More...
 

Macros

#define POLITE_ATTRIBUTES   ABC_ATTRIBUTES
 

Functions

void polite_cancel (struct polite_conn *c)
 Cancel a pending packet. More...
 
void polite_close (struct polite_conn *c)
 Close a polite connection. More...
 
void polite_open (struct polite_conn *c, uint16_t channel, const struct polite_callbacks *cb)
 Open a polite connection. More...
 
int polite_send (struct polite_conn *c, clock_time_t interval, uint8_t hdrsize)
 Send a packet on a polite connection. More...