Except that, by definition, that won't fit because the disseminated value has to fit inside a message_t :) However, if you use your own nx_struct, that should be fine. Michiel
> -----Original Message----- > From: [email protected] [mailto:tinyos-help- > [email protected]] On Behalf Of Deeksha G Rao Sahib > Sent: woensdag 20 april 2011 6:24 > To: Vishrut Shah > Cc: [email protected] > 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 to send in the declaration, as shown below. > > In the configuration, > components new DisseminatorC(message_t, 0x1234) as MyCommand; > > In module, > uses interface DisseminationValue<message_t> as Command_Value; > uses interface DisseminationUpdate<message_t> as Command_Update; > > > > On Tue, April 19, 2011 7:16 pm, Vishrut Shah wrote: > > 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. > > > > I want to disseminate a packet containing TOS_NODE_ID and > > sensore reading like Temperature , Himidity etc. > > I know how to sense them but how can i use dissemination in that with > my > > packet structure ?? > > > > Thanks in advance > > > > -- > > Thanks & Regards, > > Vishrut Shah > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos- > help > > > --Deeksha > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos- > help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
