Microchip® Advanced Software Framework

stbroadcast.h File Reference

    Header file for the Rime module Stubborn Anonymous BroadCast (stbroadcast)
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  stbroadcast_callbacks
 
struct  stbroadcast_conn
 A stbroadcast connection. More...
 

Functions

void stbroadcast_cancel (struct stbroadcast_conn *c)
 Cancel the current stubborn message. More...
 
void stbroadcast_close (struct stbroadcast_conn *c)
 
void stbroadcast_open (struct stbroadcast_conn *c, uint16_t channel, const struct stbroadcast_callbacks *u)
 Set up a stbroadcast connection. More...
 
int stbroadcast_send_stubborn (struct stbroadcast_conn *c, clock_time_t t)
 Send a stubborn message. More...
 
void stbroadcast_set_timer (struct stbroadcast_conn *c, clock_time_t t)
 Set the retransmission time of the current stubborn message. More...