[Tinyos-devel] RFC: async Packet.payloadLength

Miklos Maroti mmaroti at math.u-szeged.hu
Sat Jun 7 14:46:47 PDT 2008


I understand. What about changing TimeSyncPacket to synchronous then?
That would solve my problem and match the synchronous HIL requirement
too.

Miklos

On Sat, Jun 7, 2008 at 4:17 AM, Philip Levis <pal at cs.stanford.edu> wrote:
> On Jun 5, 2008, at 3:32 PM, Miklos Maroti wrote:
>
>> Hi Guys!
>>
>> I have some asynchronous context (time sync) where I would like to
>> query the packet length. This code is generic, so I do not want to dig
>> too deep into the message_t structure. Could we change all/some of the
>> commands of the Packet interface into asynchronous? No users would
>> notice, and there are not too many implementations.
>>
>
> I'd prefer not to. There really was an effort to make all HIL APIs be sync,
> for implementation and use simplicity.
>
> Phil
>


More information about the Tinyos-devel mailing list