On Friday, March 26, 2004, at 07:18 PM, Vlasios Tsiatsis wrote:

Sometimes is desirable for an application to send packets without link
layer acks. Joe had responded some time back that it is not so
straightforward to turn link layer ack support off and on  (i guess for
the CVS snapshot that actually supports link layer acks).

So an easy (compile-time) way to turn acks on or off would be to have two
separate directories tos/platform/mica2 and tos/platform/mica2_noradioack
with the latter having a radio stack derived from TinyOS 1.1.0 that
doesn't have support for link layer acks.
Then someone would override the latest radio stack by changing compile
time flags.
Of course this means that bugs on the radio stack that don't have to do
the acks have to be changed in two different pieces of code.


Run-time switching on/off of acks is somewhat tricky but i don't know if
someone needs it.


Any comments are welcome.

This probably isn't a discussion for the help list... perhaps tinyos-users?


That being said, alternative platform directories for these sorts of options are not really a good long-term solution, as it results in exponential growth for each option someone imagines.

If you don't want link layer acks you can always just use a prior code release. The cost of acks is not that large; unless you're concerned with a really serious deployment (at which point operating out of straight CVS is probably not what you're doing anyways), I don't quite understand the motivation for not having them, beyond a sense of aesthetics.

Phil

-------

"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time."

- T. S. Eliot, 'Little Gidding'

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to