[Tinyos-help] AMSenderC Wiring Help

Ian Welch iwelch82 at gmail.com
Tue Jul 10 21:43:36 PDT 2007


I'm trying to write a module to be use to take care of timeing in the
network. When I try to wire it up to a test Module I get the following
errors

In component `CC1000CsmaP':
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaP.nc: In function
`startStopDone.runTask':
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaP.nc:191:
SplitControl.stopDonenot connected
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaP.nc:193:
SplitControl.startDonenot connected
make: *** [exe0] Error 1

I tried to find the solution in the Programming Manual and had no success.
Any help / guidance you could give me would be great.
Thanks.

Here is my configuration
/* This application is used to keep track of the time
     and synch witht the time of the base station
*/

#include <timer.h>

configuration TimeKeeperC
    {
    provides {
        interface TimeKeeper;
        }
    }

implementation
    {
    components    MainC;
    components     TimeKeeperApp;
    components     new TimerMilliC() as Clock;
    components    new AMSenderC(9) as Sender;
    components    new AMReceiverC(9) as Receiver;

    TimeKeeper = TimeKeeperApp;


    TimeKeeperApp.Boot        -> MainC;
    TimeKeeperApp.Clock     -> Clock;
    TimeKeeperApp.TSend        -> Sender;
    TimeKeeperApp.TPacket    -> Sender;
    TimeKeeperApp.TReceive ->Receiver;
    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070710/e7ddb572/attachment.html


More information about the Tinyos-help mailing list