On Dec 16, 2008, at 4:52 AM, [email protected] wrote: > Hello ! > > I would like to know if there is already an interface that provides a > method of queuing packets I want to send. I searched very quickly > for it > but did not find anything, and anyway, I though it would be better > to ask > here before start implementing something that could possibly be > unnecessary. > I am currently using tinyOS 2.x.
You want to use a combination of PoolC and QueueC. If you look at tos/ lib/net/ctp/CtpForwardingEngineP.nc, you'll see an example of them being used. The Pool is the memory allocator for messages, and the Queue is the queue itself. Phil _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
