[Tinyos Core WG] Re: AdcConfigure and struct return
Philip Levis
pal at cs.stanford.edu
Thu Oct 5 13:37:22 PDT 2006
On Oct 5, 2006, at 9:33 AM, David Gay wrote:
> On 10/5/06, Jan Hauer <jan.hauer at gmail.com> wrote:
>> Great! Looking at the notes there is only one (small) issue left for
>> TEP 101: parameterized types do not solve the problem of multiple
>> different ADCs concerning the naming of the HIL components. The
>> proposed solution was to prefix the respective component names
>> (AdcRead[Now|Stream]ClientC) with the chip name. Alternatively we can
>> ignore multiple ADCs in this TEP. I prefer the first option (but
>> would
>> also agree to the second). Comments? I'll update the TEP and check in
>> the code as soon as we made the decision.
>
> I think the consensus on the telecon was to ignore multiple ADCs. Not
> much opinion myself...
Yes. The consensus was that covering how to do it is outside the
cope. We could make something up, but until we do it specifying how
is a bad idea. Therefore the mechanisms in 101 (e.g. AdcConfigure)
should be designed such that they do not preclude doing this
(parameterized interface rather than platform type) but exactly how
will be in another TEP.
Phil
More information about the Tinyos-2.0wg
mailing list