nesc1: warning: calls to ReceiveCombined.receive in FramerAckM are uncombined
FaultM.Bcast -> Bcast.Receive[AM_COUNTMSG];
Bcast.ReceiveMsg[AM_COUNTMSG] -> Comm.ReceiveMsg[AM_COUNTMSG];
multihopM.ReceiveMsg[AM_SURGEMSG] -> Comm.ReceiveMsg[AM_SURGEMSG];
The AM_TYPE of AM_SURGEMSG is 17 and that of AM_COUNTMSG is 24.
My Module file is as follows:
Uses {
interface Receive as Bcast;
interface Receive as multihopM;
}
event TOS_MsgPtr Bcast.receive(TOS_MsgPtr pMsg, void* payload, uint16_t payloadLen) {
....................code.........}
event TOS_MsgPtr multihopM.receive(TOS_MsgPtr pMsg, void* payload, uint16_t payloadLen) {
..............code.................}
I know that the two receives are not handled properly. I read the documentation of tinyos 2.x by Dr. Philip Levis but I didnot quite understand how to fix this in tinyos1.1.15.
Please help me understand this and point out what I can do to handle the receive properly. My compiles well without errors and only gives the above mentioned warning. Thanks in advance and I would greatly appreciate any help.
Regards,
Fatima
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help