On Jan 14, 2007, at 11:56 PM, Shuo Xiao wrote:
Hi everyone,
I'd like to add the acks function on application BaseStationCC2420
in tinyos 2.0 (and I used micaz platform). That is to say, one mote
sends packets to the BaseStation by radio link, and then PC
connecting to BaseStation displays packets of the BaseStation by
serial link. In the meantime, the BaseStation sends acks back to
the sender mote by radio link.
I tried to call the command "RadioSend.send" in the event
"RadioReceive.receive", which manually sent packets to acknowledge
previous packets. Can I use interface PacketAcknowledgements in
this application to implement acks function and how? And the
implementation of interface PacketAcknowledgements actually sends
back ack packets without payload, complying with IEEE 802.15.4, am
I right?
With the CC2420, you get either hardware acknowlegments OR the
ability to hear all packets; you can't have both. If you want an app
that only receives packets addressed to it and acknowledges them,
then use the standard BaseStation app.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help