Dear all,
I am using mica2 and I am having the following warnings:
nesc1: warning: calls to PowerManagement.adjustPower in AMStandard are
uncombined
nesc1: warning: calls to ReceiveCombined.receive in FramerAckM are uncombined
The configuration file is:
//---------------------------------------
includes App_Msg;
configuration AppC {
}
implementation {
components AppM, Main, LedsC, TimerC, RandomLFSR, GenericComm as Comm,
UARTComm;
Main.StdControl -> TimerC;
Main.StdControl -> AppM;
Main.StdControl -> UARTComm;
Main.StdControl -> Comm;
AppM.Leds -> LedsC;
AppM.Random -> RandomLFSR;
AppM.TimerHello -> TimerC.Timer[unique("Timer")]; AppM.TimerMap ->
TimerC.Timer[unique("Timer")]; AppM.TimerInit ->
TimerC.Timer[unique("Timer")]; AppM.TimerDelay ->
TimerC.Timer[unique("Timer")];
AppM.SendHelloMsg -> Comm.SendMsg[AM_HELLOMSG];
AppM.ReceiveHelloMsg -> Comm.ReceiveMsg[AM_HELLOMSG];
AppM.SendMapMsg -> Comm.SendMsg[AM_MAPMSG];
AppM.ReceiveMapMsg -> Comm.ReceiveMsg[AM_MAPMSG];
AppM.FwdMapMsg -> Comm.SendMsg[AM_MAPFWDMSG];
AppM.ReceiveFwdMsg -> Comm.ReceiveMsg[AM_MAPFWDMSG];
AppM.SendUARTMapMsg -> UARTComm.SendMsg[AM_MAPUARTMSG];
}
The module file is:
//--------------------------------------
includes App_Msg;
module AppM {
provides interface StdControl;
uses {
interface Random;
interface Leds;
interface Timer as TimerHello;
interface Timer as TimerMap;
interface Timer as TimerInit;
interface Timer as TimerDelay;
interface SendMsg as SendHelloMsg;
interface ReceiveMsg as ReceiveHelloMsg;
interface SendMsg as SendMapMsg;
interface ReceiveMsg as ReceiveMapMsg;
interface SendMsg as FwdMapMsg;
interface ReceiveMsg as ReceiveFwdMsg;
interface SendMsg as SendUARTMapMsg;
}
}
implementation {
//code
}
Thank you for any help.
Best,
Niki
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help