Interface: moteiv.tos.lib.sp.SPLinkStats

interface SPLinkStats

Internal interface for SP to talk to link protocols.

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

Commands
command result_t find() Instruct the link to find new neighbors
command result_t findDone() Notify the link to stop finding new neighbors
command uint16_t getQuality(sp_neighbor_t *n, TOS_Msg *msg) Update the link quality for a specific neighbor based on the packet passed into this function
command sp_linkstate_t getState() Get the state of the radio, as defined by the type sp_linkstate_t

Commands - Details

find

command result_t find()

Instruct the link to find new neighbors

findDone

command result_t findDone()

Notify the link to stop finding new neighbors

getQuality

command uint16_t getQuality(sp_neighbor_t *n, TOS_Msg *msg)

Update the link quality for a specific neighbor based on the packet passed into this function

getState

command sp_linkstate_t getState()

Get the state of the radio, as defined by the type sp_linkstate_t