[Tinyos-help] Re: [imote] TOSBase for imote?
LEE, Yui-wah (Clement)
leecy at dnrc.bell-labs.com
Mon Mar 7 13:48:15 PST 2005
My dear friends from the TinyOS community,
I have thought a little bit more about the issue, and would like to
see if someone can shed some more light on it.
Many TinyOS applications, including TOSBase and OscilloscopeRF, and
components, such as GenericComm, use directly or indirectly the
component called RadioCRCPacket, which is platform dependent. So if
we can have port RadioCRCPacket to imote, then we can get all these
applications and components to work. However, if I look at the
example codes that Intel gave, they use instead another component
called NetworkC (beta/platform/imote/NetworkC.nc). (RadioCRCPacket
provides the interfaces BareSendMsg and ReceiveMsg; NetworkC provides
the interfaces NetworkCommand and NetworkPacket -- the latter two
interfaces are imote specific.) Does anyone know if there are any
reasons for that? I am thinking of implementing an imote
RadioCRCPacket by using NetworkC as a reference. But I am interested
to know why Intel was not doing that in the first place.
Thanks in advance!
On Mon, 7 Mar 2005, LEE, Yui-wah (Clement) wrote:
> I need something similar to TOSBase for imote. Does it already exist?
> or we will need to program one? If it is the latter case, what is the
> easier path to get it done?
> So far, what I have learnt are:
> 1. If I use directly the TOSBase in apps/ (this works for mica2 and
> other platforms), then it will use the component RadioCRCPacket.nc.
> There seems to be an imote-specific RadioCRCPacket (defined in
> beta/platform/imote/RadioCRCPacket.nc). Unfortunately it uses a
> component called BTRadioM, but I could not find it in my directory
> (based on TinyOS 1.1.8). I also goggled for "BTRadioM" or
> "BTRadioM.nc", but could not find any mentioning of them. Does the
> imote-specific RadioCRCPacket.nc work?
> 2. There is an example in contrib/imote/apps/Accelerometer/ that seems
> to use BT as radio. The radio component it uses, however, is
> "NetworkC" but not "RadioCRCPacket". Does anyone know if this
> example app work or not? Can I use it as an example to write an
> imote-specific TOSBase? (or an imote-specific RadioCRCPacket) Or
> should I use some other example app as the starting point or
> Any other comments in this general direction are welcome. Thanks in
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
More information about the Tinyos-help