Re: [Tinyos-help] Dissemination of own Packet

2011-04-20 Thread Michiel Konstapel
...@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

[Tinyos-help] Dissemination of own Packet

2011-04-19 Thread Vishrut Shah
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.

Re: [Tinyos-help] Dissemination of own Packet

2011-04-19 Thread Deeksha G Rao Sahib
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;