...@millennium.berkeley.edu] On Behalf Of Deeksha G Rao Sahib
Sent: woensdag 20 april 2011 6:24
To: Vishrut Shah
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Dissemination of own Packet
Hi,
Since the Disseminator component is generic, you can mention the type
of
the data you want
Hello ,
I just explored Dissemination protocol from tutorials. It
disseminates a counter in network . but i want to disseminate a own packet
so how can i do that ??? I found that interface
DisseminationUpdate.changed() and DisseminationValue.get() used for geeting
updating counter.
Hi,
Since the Disseminator component is generic, you can mention the type of
the data you want to send in the declaration, as shown below.
In the configuration,
components new DisseminatorC(message_t, 0x1234) as MyCommand;
In module,
uses interface DisseminationValuemessage_t as Command_Value;