Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Neighbor discovery

The neighbor-discovery module implements a periodic neighbor discovery mechanism.

A callback is invoked for every incoming neighbor discovery message.

Channels

The neighbor-discovery module uses 1 channel.

Data Structures

struct  neighbor_discovery_callbacks
 
struct  neighbor_discovery_conn
 

Files

file  neighbor-discovery.h
 
    Neighbor discovery header file

 

Functions

void neighbor_discovery_close (struct neighbor_discovery_conn *c)
 
void neighbor_discovery_open (struct neighbor_discovery_conn *c, uint16_t channel, clock_time_t initial, clock_time_t min, clock_time_t max, const struct neighbor_discovery_callbacks *u)
 
void neighbor_discovery_set_val (struct neighbor_discovery_conn *c, uint16_t val)
 
void neighbor_discovery_start (struct neighbor_discovery_conn *c, uint16_t val)
 

void neighbor_discovery_close ( struct neighbor_discovery_conn c)
void neighbor_discovery_open ( struct neighbor_discovery_conn c,
uint16_t  channel,
clock_time_t  initial,
clock_time_t  min,
clock_time_t  max,
const struct neighbor_discovery_callbacks u 
)
void neighbor_discovery_set_val ( struct neighbor_discovery_conn c,
uint16_t  val 
)
void neighbor_discovery_start ( struct neighbor_discovery_conn c,
uint16_t  val 
)