Hi Everyone,
I setup a network of 4 motes( including basestation) running with
'MultihopOscilloscope' application from TinyOS 2.x.
// MultihopOscilloscope is a simple data-collection demo. It periodically
samples the default sensor and broadcasts a message every few readings //
I want to implement Snooping in this application, because neighboring nodes
needs to snoop
information transmitted to the base station.
According to my understanding, inorder to implement snooping I should use
AMSnoopingReceiveC/AMSnoopingC component instead of AMReceiveC and I need to
disable to address decoding in makefile by
CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION
When I see this code in MultihopOscilloscope application
// Overhearing other traffic in the network.
//
event message_t*
Snoop.receive(message_t* msg, void* payload, uint8_t len) {
oscilloscope_t *omsg = payload;
///
Is this code mean the "Snooping" already implemented in this application.??
If so, I didnt find any wiring to AMSnooperC component in configuration
file.
I guess Snoop.receive is called by the nodes which are forwarding messages
to base station.
Will it create any problems if I use AMSnooperC component for 'Receive'
interface.?
Thanks in Advance,
Mahesh Satharla.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help