I haven't worked with the CC2420 radio but I think a good start would be to look into the "tos/chips/cc2420/transmit" folder. I believe that all components that want to send a packet go through those components. Not sure tho, you need to do some investigation of your own or maybe someone else can help you on that. But if all packets go through that interface you can modify it to use a timer to make it send only in TxSlots or wire a interface in between that one and the low level radio implementation that only passes on the packets in the tx slots.
As you see there are many different solutions, which you use is up to you. 2010/1/21 Vikram vik76 <[email protected]> > MICAz mote..CC2420 radio. > Multi-hop protocols: Collection, Dissemination and TYMO. > > Vikram > > 2010/1/20 Henrik Mäkitaavola <[email protected]>: > > What radio driver and protocols are you intending to use? > > > > 2010/1/20 Vikram vik76 <[email protected]> > >> > >> Henrik, what you suggest should work. This means that I would need to > >> insert this layer between the network and data link (MAC) layer. > >> Basically, I would have to work with the MAC layer interfaces. Can > >> you please suggest broadly how do I achieve this? What are the > >> interfaces at the MAC for disabling the transmissions of the Radio. > >> > >> Thanks > >> Vikram > >> > >> 2010/1/20 Henrik Mäkitaavola <[email protected]>: > >> > The easiest way would probably be to insert an additional layer in the > >> > radio > >> > stack, your "SlotSender", which intersects all the packages coming > from > >> > higher level components and provides the packages to the Radio driver > >> > every > >> > tx slot or similar. > >> > > >> > > >> > 2010/1/20 Vikram vik76 <[email protected]> > >> >> > >> >> I can do this only for source motes which are originator of the > >> >> message. Only these messages can be put in the message queue. > >> >> What about those multi-hop messages for which this mote happens to be > >> >> an Intermediate node? > >> >> > >> >> Thanks > >> >> Vikram > >> >> > >> >> 2010/1/20 Henrik Mäkitaavola <[email protected]>: > >> >> > What about creating a message queue and a "SlotSender"? > >> >> > All the packets that are going to be sent are put into the queue. > The > >> >> > "SlotSender" checks the queue every tx slot, if the queue is not > >> >> > empty > >> >> > send > >> >> > the first packet in the queue. > >> >> > > >> >> > 2010/1/20 Vikram vik76 <[email protected]> > >> >> >> > >> >> >> Arik, you are right. I can post the Tx to the next slot. But I > can > >> >> >> do this for only those messages which are originated by my > >> >> >> application. > >> >> >> What if my application also use some multi-hop routing protocol. > In > >> >> >> that case if a node acts as the intermediate node, then I will not > >> >> >> be > >> >> >> able to post the transmission of this intermediate packet to the > >> >> >> next > >> >> >> slot. > >> >> >> > >> >> >> > >> >> >> Vikram > >> >> >> > >> >> >> On Wed, Jan 20, 2010 at 1:54 PM, Arik Sapojnik < > [email protected]> > >> >> >> wrote: > >> >> >> > How about checking your status (if you are in slot B now) in the > >> >> >> > sending > >> >> >> > function? > >> >> >> > If you are in slot 'B', post the Tx to the next slot. > >> >> >> > > >> >> >> > Arik > >> >> >> > > >> >> >> > > >> >> >> > On Wed, Jan 20, 2010 at 10:19, Vikram vik76 <[email protected]> > >> >> >> > wrote: > >> >> >> >> > >> >> >> >> I am able to create the slots. I just want to disable > >> >> >> >> transmission > >> >> >> >> in > >> >> >> >> alternate slots. > >> >> >> >> > >> >> >> >> Regards > >> >> >> >> Vikram > >> >> >> >> > >> >> >> >> On Wed, Jan 20, 2010 at 12:38 PM, Arik Sapojnik > >> >> >> >> <[email protected]> > >> >> >> >> wrote: > >> >> >> >> > I think that if you want to use slots, you need to > synchronize > >> >> >> >> > the > >> >> >> >> > time > >> >> >> >> > between the motes. > >> >> >> >> > If the time will be synchronize - you can use timers to > create > >> >> >> >> > slots. > >> >> >> >> > > >> >> >> >> > Arik > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > On Wed, Jan 20, 2010 at 07:08, Vikram vik76 <[email protected]> > >> >> >> >> > wrote: > >> >> >> >> >> > >> >> >> >> >> Hello, > >> >> >> >> >> The motes are receiving all the time. But they do the > >> >> >> >> >> transmission > >> >> >> >> >> only in certain periodic time slots say slot 'B'. > >> >> >> >> >> I can achieve this for a mote for the data originated from > >> >> >> >> >> this > >> >> >> >> >> mote. > >> >> >> >> >> But, what about multi-hop transmission for which this mote > >> >> >> >> >> becomes > >> >> >> >> >> an > >> >> >> >> >> intermediate node. In this case, too I want to restrict the > >> >> >> >> >> transmissions only in slot 'B'. > >> >> >> >> >> > >> >> >> >> >> Thanks > >> >> >> >> >> Vikram > >> >> >> >> >> > >> >> >> >> >> On Tue, Jan 19, 2010 at 8:28 PM, Arik Sapojnik > >> >> >> >> >> <[email protected]> > >> >> >> >> >> wrote: > >> >> >> >> >> > Hi, > >> >> >> >> >> > You gotta be more specific. > >> >> >> >> >> > The motes are receiving all the time they don't transmit. > >> >> >> >> >> > Arik > >> >> >> >> >> > > >> >> >> >> >> > > >> >> >> >> >> > On Tue, Jan 19, 2010 at 11:31, Vikram vik76 < > [email protected]> > >> >> >> >> >> > wrote: > >> >> >> >> >> >> > >> >> >> >> >> >> Hello, > >> >> >> >> >> >> I want to put the motes only on receiving state > >> >> >> >> >> >> periodically > >> >> >> >> >> >> by > >> >> >> >> >> >> disabling the transmissions. > >> >> >> >> >> >> How do I achieve this. > >> >> >> >> >> >> > >> >> >> >> >> >> Thanks > >> >> >> >> >> >> Vikram > >> >> >> >> >> >> _______________________________________________ > >> >> >> >> >> >> Tinyos-help mailing list > >> >> >> >> >> >> [email protected] > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > >> >> >> >> >> > > >> >> >> >> >> > > >> >> >> >> >> > > >> >> >> >> >> > -- > >> >> >> >> >> > Best Regards, > >> >> >> >> >> > Arik Sapojnik > >> >> >> >> >> > [email protected] > >> >> >> >> >> > > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > -- > >> >> >> >> > Best Regards, > >> >> >> >> > Arik Sapojnik > >> >> >> >> > [email protected] > >> >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > -- > >> >> >> > Best Regards, > >> >> >> > Arik Sapojnik > >> >> >> > [email protected] > >> >> >> > > >> >> >> > >> >> >> _______________________________________________ > >> >> >> 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
