[Tinyos-help] Snooping more than it should
Pedro Almeida
pedralm at gmail.com
Wed Jun 20 18:00:22 PDT 2007
Hello, Phil!
I supposed it to be so, but the message that ends being snooped is the
repetition of the actual normal package that was last sent by the
TestNetwork nodes. I can see it not only from the contents of the payload,
but from the sequence number, that is the same during the frenzy blinking
and returns to normal counting once the root note goes back up.
Shouldn't the messages from the route discovery be any different? If they
were any different, I could filter the return so the serial port wouldn't be
flooded (I guess I can do that as well, with the sequence number,
though...).
Thanks for your help!
Pedro
On 6/21/07, Philip Levis <pal at cs.stanford.edu> wrote:
>
> On Jun 20, 2007, at 5:35 PM, Pedro Almeida wrote:
>
> > Hello;
> >
> > I've got a network that uses the TestNetwork demo app (which uses
> > CTP), and I have an extra-network module, who runs a variation of
> > BaseStationCC2420 demo app, that I use to sniff the packets
> > circulating.
> > The TestNetwork blinks a led indicating a sendDone, and the
> > BaseStation blinks the led here, indicating a sniffed packet:
> >
> > event message_t * RadioSnoop.receive[am_id_t id](message_t * msg,
> > void * payload, uint8_t len){
> > call Leds.led2Toggle();
> > return receive(msg,payload,len);
> > }
> >
> > what happens is when i shut down the root node in the CTP network,
> > the led2 in the BaseStation module (in the above event) starts
> > blinking endlessly, as if it was constantly receiving packets (and
> > they do get all thrown over the serial port). However, on the
> > TestNetwork side, the send blink isn't blinking any faster, so the
> > packets aren't coming out more so the sniffer can sniff them. The
> > leds return to normal behaviour once I turn the root node back on.
> >
> > What's happening here? (the changes i've done on both programs are
> > minimal and should not interfere - i hope).
> >
>
> Nodes are sending beacon packets to try to discover a route.
>
> Phil
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070621/ff989d20/attachment.htm
More information about the Tinyos-help
mailing list