Following Joe's suggestion, I change to 

Components GenericComm as Comm;
  // receive/process/send control message
  Impl.SendCtrlMsg -> Comm.SendMsg[AM_OASISCMDMSG];
  Impl.RecvCtrlMsg -> Comm.ReceiveMsg[AM_OASISCMDMSG];

I used "make tmote fielset" to verify I indeed used
/opt/moteiv/tos/lib/sp/GenericComm.nc

However, I still got that warning message:
"nesc1: warning: calls to ReceiveMsg.receive in SPM fan out, but there is no
combine function specified for the return type"

How to solve this? Thanks.
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Gay
Sent: Monday, May 22, 2006 2:03 PM
To: [email protected]
Subject: Re: [Tinyos-help] Re: Confusion on uncombined call and
SPCcomponent/interface

On 5/22/06, Joe Polastre <[EMAIL PROTECTED]> wrote:
> correct. they are not actually verified during compilation.

They are verified by an external tool, invoked automatically during the
build process. This is intentional, and will not change. But I can easily
believe there's a bug in the external tool (nescc-wiring, bug reports
welcome...).

David

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to