Interface: moteiv.tos.lib.sp.SPLinkEvents

interface SPLinkEvents

Internal interface for SP to talk to link protocols.

Author:
Joe Polastre, Moteiv Corporation <info@moteiv.com>

Events
event void active() Notification that the link is active.
event void expired(sp_neighbor_t *n) Notification that a neighbor's schedule has expired.
event void sleep() Notification that the link is inactive (sleeping).

Events - Details

active

event void active()

Notification that the link is active.

expired

event void expired(sp_neighbor_t *n)

Notification that a neighbor's schedule has expired.

Parameters:
n - Neighbor whose schedule has expired

sleep

event void sleep()

Notification that the link is inactive (sleeping).