[Tinyos-help] GenericComm and GenericCommPromiscuous combine problem

Pablo Gil Montaño pgilmon at yahoo.es
Tue Dec 12 02:48:26 PST 2006


Hi all.

I'm trying to build an application for mica2 under TinyOS-1.x. I'm using Drip and MultiHopRouter (tos/lib/Route) at the same time. I always get the following warnings:

nesc1: warning: calls to Receive.receive in CC1000RadioIntM fan out, but there is no combine function specified for the return type
nesc1: warning: calls to ReceiveCombined.receive in FramerAckM fan out, but there is no combine function specified for the return type

I think that the problem is that MultiHopRouter uses GenericCommPromiscous, that indirectly wires to CC1000RadioIntM. At the same time, Drip uses GenericComm, which also wires to CC1000RadioIntM. I guess that CC1000RadioIntM signals receive events in both GenericCommPromiscous and GenericComm, and that is the problem.

Is there any solution to this? Is it possible just to substitute one of them (GenericComm or GenericCommPromiscuous) for the other? 

Is there any smarter way of doing it? (I wouldn't like it very much to modify Drip or MultiHopRouter, since they are both stable components)


Regards,

Pablo Gil




		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061212/44488854/attachment.html


More information about the Tinyos-help mailing list