Contiki 2.6

Header file for Polite Anonymous best effort local Broadcast (polite) More...

#include "net/rime/abc.h"
#include "net/queuebuf.h"
#include "sys/ctimer.h"

Go to the source code of this file.

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...

Functions

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

Detailed Description

Header file for Polite Anonymous best effort local Broadcast (polite)

Author:
Adam Dunkels <adam@sics.se>

Definition in file polite.h.