Hi,
When I try to wire CC2420 Interface provided by CC2420PacketC.nC, I get
following errors :
In file included from RadioCountToLedsAppC.nc:47:
In component `RadioCountToLedsC':
RadioCountToLedsC.nc:62: interface CC2420Packet not found
In component `RadioCountToLedsAppC':
RadioCountToLedsAppC.nc:54: component CC2420PacketC not found
RadioCountToLedsAppC.nc:66: no match
make: *** [sim-exe] Error 1
My source code looks like :
configuration RadioCountToLedsAppC {}
implementation {
components MainC, RadioCountToLedsC as App, LedsC;
components new AMSenderC(AM_RADIO_COUNT_MSG);
components new AMReceiverC(AM_RADIO_COUNT_MSG);
components ActiveMessageC;
components CC2420PacketC;
App.Boot -> MainC.Boot;
App.Receive -> AMReceiverC;
App.AMSend -> AMSenderC;
App.AMControl -> ActiveMessageC;
App.Leds -> LedsC;
App.Packet -> AMSenderC;
App.AMPacket -> AMReceiverC;
App.CC2420Packet -> CC2420PacketC;
}
*
*module RadioCountToLedsC {
uses {
interface Leds;
interface Boot;
interface Receive;
interface AMSend;
interface SplitControl as AMControl;
interface Packet;
interface AMPacket;
interface CC2420Packet;
}
}
{...continues..}
Please let me know where am I going wrong. Any help is appreciated.
Thanks,
Vijayant Bhatnagar.
Rutgers.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help