[Tinyos-help] Easycollection warning
Nahr ...
nahrelk at gmail.com
Thu May 8 06:13:58 PDT 2008
Hi,
I had modified the EasyCollection app but when I compile it two warnings
appears:
**
*nesc1: warning: calls to RootControl.isRoot in EasyCollectionC fan out, but
there is no combine function specified for the return type
nesc1: warning: calls to Receive.receive in CtpForwardingEngineP$0 fan out,
but there is no combine function specified for the return type*
Here are the start of my module and my configuration component
//************ My Module ***********//
#include <Timer.h>
#include <AM.h>
#include "TestNetwork.h"
module EasyCollectionC {
uses {
interface Leds;
interface Boot;
interface Receive;
interface Send;
interface Timer<TMilli>;
interface SplitControl as RadioControl;// start et start done
interface StdControl as RoutingControl;
interface AMPacket;
interface RootControl;
interface CC2420Packet;
interface CtpInfo;
interface CollectionPacket;// get seq number et get origin
}
}
//********************** My Configuration ********************************//
#include "Ctp.h"
configuration EasyCollectionAppC {}
implementation {
components EasyCollectionC, MainC, LedsC, ActiveMessageC;
components CollectionC as Collector;
components new CollectionSenderC(0xee);
components new TimerMilliC();
components CC2420ActiveMessageC;
EasyCollectionC.Boot -> MainC;
EasyCollectionC.RadioControl -> ActiveMessageC;
EasyCollectionC.RoutingControl -> Collector;
EasyCollectionC.Leds -> LedsC;
EasyCollectionC.Timer -> TimerMilliC;
EasyCollectionC.Send -> CollectionSenderC;
EasyCollectionC.CollectionPacket -> Collector;
EasyCollectionC.RootControl -> Collector;
EasyCollectionC.Receive -> Collector.Receive[0xee];
EasyCollectionC.RootControl -> Collector;
EasyCollectionC.CtpInfo -> Collector;
EasyCollectionC.Receive -> Collector.Receive[0xee];
EasyCollectionC.CC2420Packet -> CC2420ActiveMessageC;
EasyCollectionC.AMPacket -> ActiveMessageC;
}
//*********************************************************************************************//
Please, Could someone help me??
Great thanks,
Nahr Elk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080508/ab7a9b9c/attachment.htm
More information about the Tinyos-help
mailing list