[Tinyos-help] Snooping more than it should
Pedro Almeida
pedralm at gmail.com
Wed Jun 20 17:35:30 PDT 2007
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).
Thanks in advance,
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070621/5e995617/attachment.html
More information about the Tinyos-help
mailing list