[Tinyos-devel] [net2-wg] [Tinyos-help] Reserved active message type numbers?

Philip Levis pal at cs.stanford.edu
Wed Apr 16 08:31:13 PDT 2008


On Apr 16, 2008, at 8:16 AM, Omprakash Gnawali wrote:
> On Wed, Apr 16, 2008 at 12:27 AM, Michiel Konstapel
> <m.konstapel at sownet.nl> wrote:
>>
>>
>> It can be a problem even within a single application. If your  
>> application
>> inadvertently uses the AM IDs of things like Collection or  
>> Dissemination,
>> you'd probably get some interesting results. Well, doubly-wiring a  
>> Receive
>> interface would probably be caught by the compiler, but still.
>>  Michiel
>
> We probably don't want port number allocation authority because we are
> only talking about net2 protocols. I am thinking a README in
> tos/lib/net that lists the protocols and the AM IDs they use, if the
> AM ID is not specified by the user of the protocol, should be good
> enough for now. Does that work for you Michiel?
>

Agreed. But I think there's a difference between "documentation and  
recommendation" and "authority." Nobody in net2 is going to get on  
someone's case for using a particular AM id, but it would be helpful  
to give users guidance on which to use (or not use).

Phil


More information about the Tinyos-devel mailing list