Sir,
I am a new student started working on TinyOS. I included a new filed
in *Ctp.h* named *nx_uint16_t chan*;
in *CtpPacket.h* named *command uint16_t CtpPacket.getchan(message_t * msg);
*
*command uint16_t
CtpPacket.getchan(message_t * msg) {return getHeader(msg)->chan;}*
in *CtpForwardingEngineP.nc* named *command uint16_t
CtpPacket.getchan(message_t * msg) {return getHeader(msg)->chan;}*
And then from *MVizAppC.nc* I included the following line:
*command uint16_t CtpPacket.getchan(message_t * msg) {return
getHeader(msg)->chan;}*
and in *MViz.nc* I added the line:
*command uint16_t CtpPacket.getchan(message_t * msg) {return
getHeader(msg)->chan;}*
But while running MViz, I am getting the error as "*MVizC.nc:209: interface
has no command or event named `getchan*'"
Can anyone please help me out, why the change in Ctp.h and CtpPacket.nc is
not getting reflected in MViz?
Thanks,
Amitangshu Pal
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help