Interface: tos.interfaces.ActiveMessageAddress

interface ActiveMessageAddress

Author:
Phil Levis
David Moss

Commands
command am_addr_t amAddress()
command am_group_t amGroup()
command void setAddress(am_group_t group, am_addr_t addr) Set the active message address of this node

Events
event void changed() Notification that the address or group settings changed.

Commands - Details

amAddress

command am_addr_t amAddress()

Returns:
the active message address of this node

amGroup

command am_group_t amGroup()

Returns:
the group address of this node

setAddress

command void setAddress(am_group_t group, am_addr_t addr)

Set the active message address of this node

Parameters:
group - The node's group ID
addr - The node's active message address

Events - Details

changed

event void changed()

Notification that the address or group settings changed.