[Tinyos-devel] Two radio platform
Philip Levis
pal at cs.stanford.edu
Tue Nov 27 16:58:05 PST 2007
On Nov 27, 2007, at 4:33 PM, Rishi Pidva wrote:
> Has anyone implemented a two radio platform in T2? What is the best
> approach for this. ActiveMessageC requires an underlying
> configuration. Now If I modify this such that to add another set of
> Packet, Receiver etc interfaces, AMSenderC and other system interfaces
> break.
>
> One solution to using radios on same hardware could be to directly the
> configuration provided by the other radio. For eg, on a platform with
> two radios CC2420 and CC1000, we can wire ActiveMessageC to
> CC2420ActiveMessageC and use CC1000ActiveMessageC directly when we
> need to send on that? But this is not the most elegant solution.
>
> I would like to use some sort of generic configuration with the type
> of radio as a parameter. This will require lot of code change if I'm
> not the right track. Any suggestions on how to proceed are much
> appreciated.
>
The assumption is that ActiveMessageC goes to the default radio, and
you use chip-specific components for the other radios. Or is that
that you want an AM queue on top of your other radios? That should
not be hard to write. But components are not valid parameters to
generics.
Phil
More information about the Tinyos-devel
mailing list