[Tinyos-devel] TEP116 HIL/HAL discussion

Philip Levis pal at cs.stanford.edu
Thu May 15 10:27:02 PDT 2008


On May 15, 2008, at 9:45 AM, Vlado Handziski wrote:

> d the lack of abstraction delta with ActiveMessageC (it is only a  
> pass-trough wiring) is for me clearly such a component. The  
> viewpoint that every component that is not exporting a HIL interface  
> is HAL is not HAA compliant. HAL is a well defined tapping point for  
> optimal implementation of platform specific services/applications.

It's more than that. It's the Active Message abstraction for a  
particular radio chip, which allows you to use functionality of that  
chip. E.g.:

configuration ActiveMessageC {
   provides {
     interface SplitControl;

     interface AMSend[uint8_t id];
     interface Receive[uint8_t id];
     interface Receive as Snoop[uint8_t id];

     interface Packet;
     interface AMPacket;
     interface PacketAcknowledgements;
   }
}


configuration CC2420ActiveMessageC {
   provides {
     interface SplitControl;
     interface AMSend[am_id_t id];
     interface Receive[am_id_t id];
     interface Receive as Snoop[am_id_t id];
     interface AMPacket;
     interface Packet;
     interface CC2420Packet;
     interface PacketAcknowledgements;
     interface LinkPacketMetadata;
     interface RadioBackoff[am_id_t amId];
     interface LowPowerListening;
     interface PacketLink;
     interface SendNotifier[am_id_t amId];
   }
}

Phil


More information about the Tinyos-devel mailing list