[Tinyos Core WG] Preparing for the RPM
Vlado Handziski
vlado.handziski at gmail.com
Mon Oct 30 00:23:32 PST 2006
On 10/30/06, Philip Levis <pal at cs.stanford.edu> wrote:
>
> 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.
>
>
But consistency also counts. By simply changing the MIG lines in the app
Makefiles, we can have the structs using _t while keeping the java names
unchanged. Since not all C message structs have their java equivalents at
the moment, it seems like less work this way.
Vlado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-2.0wg/attachments/20061030/c2cc6978/attachment.htm
More information about the Tinyos-2.0wg
mailing list