[Tinyos Core WG] Preparing for the RPM

Philip Levis pal at cs.stanford.edu
Sun Oct 29 23:05:16 PST 2006


On Oct 29, 2006, at 10:55 PM, Kevin Klues wrote:

> TEP3 says that all directory names should be lower case, but all of
> the applications have directory names in upper case.  I'm not sure if
> the TEP or the directoriy names should be changed, but I thought I
> would at least point out this discrepency.

I think it might be useful to make the application distinction.


>
> Also, TEP3 says that type names for structs should be all lower case
> separated by underscores and ending in '_t'.  Until now, we have
> always followed the convention that message structures are defined
> like "RadioCountMsg"  or "OscilloscopeMsg".  Do we really want to
> change these to be radio_count_msg_t and oscilloscope_msg_t?

Hm. This is a funny one; it's because the structs are mapped into  
Java classes, and historically the class names have been the same as  
the struct names.

Overall, I think it's better to keep the code the way it is and  
adjust TEP 3 accordingly.

Phil


More information about the Tinyos-2.0wg mailing list