[Tinyos-help] PACKET_LINK and BaseStation
Alan Marchiori
alan at alanmarian.com
Wed Aug 6 15:32:27 PDT 2008
Hi,
My app is using PACKET_LINK for cc2420 (telosb) (tinyos v2.0.2). I am
also using the standard BaseStation code for my basestation with
CC2420_NO_ACKNOWLEDGEMENTS CC2420_NO_ADDRESS_RECOGNITION __UNSET__. I
assign the basestation address 0 and it serves as the coordinator node
for the network through a custom SerialForwarder and application. I
want the basestation to act just like any other node in the network
(w.r.t. packet address recognition, PACKET_LINK acks, etc).
The problem I have been seeing is everything works for a little while
(~10-20 packets?) then after this time no nodes in the network RX any
packets, even though I am sending packets through the basestation. I
even added a snooping rcvr and it also doesn't see any packets after
some amount of time.
One part I don't fully understand is how the PACKET_LINK layer
interacts with the basestation? I did compile BaseStation with
PACKET_LINK defined, but is there something else I need to do? Or do
I have to implement the packet link layer on the PC side of the
basestation (and undefine PACKET_LINK in the basestation code?)?
Thanks,
Alan
More information about the Tinyos-help
mailing list