com.sentilla.platform.tmote
Class CC2420Radio.Sender
java.lang.Object
com.sentilla.platform.tmote.DispatcherAction
com.sentilla.platform.tmote.Sender
com.sentilla.platform.tmote.CC2420Radio.Sender
- All Implemented Interfaces:
- Sender, Action
- Enclosing class:
- CC2420Radio
public static class CC2420Radio.Sender
- extends Sender
Provides sender class for the CC2420 radio.
This sender supports the BroadcastAddress and Mac64Address.
- See Also:
Sender
,
BroadcastAddress
,
Mac64Address
Constructor Summary |
CC2420Radio.Sender()
Provides initialization for CC2420Radio.Sender and defaults address to
ByteMessage.BROADCAST and port to 249. |
port
public int port
timestamp
public int timestamp
CC2420Radio.Sender
public CC2420Radio.Sender()
- Provides initialization for CC2420Radio.Sender and defaults address to
ByteMessage.BROADCAST
and port to 249.
- See Also:
Sender
setAddress
public void setAddress(Addressable addr)
- Description copied from class:
Sender
- Sets the destination address.
Any valid object implementing the Addressable interface can be set
as the destination address. The protocols extending this class
should throw an error if the address object is not supported.
- Specified by:
setAddress
in interface Sender
- Specified by:
setAddress
in class Sender
- Parameters:
addr
- object implementing Addressable interface to be used as address- See Also:
Addressable
Copyright © 2007 Sentilla Corporation. All Rights Reserved.