[Tinyos-help] AMSenderC Wiring Help
Bernardo Avila Pires
obernardo at gmail.com
Thu Oct 25 09:02:02 PDT 2007
You have to wire SerialActiveMessageC 's (for serial communication) or
ActiveMessageC (for radio communication) 's SplitControl to a used
SplitControl of yours.
2007/7/11, Ian Welch <iwelch82 at gmail.com>:
> 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.stopDone not connected
> /opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaP.nc:193:
> SplitControl.startDone not 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;
> }
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
"The truth shall set you free"
More information about the Tinyos-help
mailing list