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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help