Hello.  I'm trying to modify the MacLayer.msgReceived event so that I
can perform some evaluation on the packet's receiver ID for a mulit-hop
system.  However, I'm having some difficulty in accessing the
destination address / receiver ID.  I thought I might be able to do it
with something like:

 

msg->header->dest != TOS_NODE_ID

 

But, I keep getting this error (or one similar to it):

 

In component `NetworkMultiHopP':

../tos/lib/Network/NetworkMultiHopP.nc: In function
`MacLayer.msgReceived':

../tos/lib/Network/NetworkMultiHopP.nc:189: request for member `dest' in
something not a structure or union make: *** [exe0] Error 1

 

Does anyone have any thoughts as to what I should be doing to access the
destination address in the packet header?

 

Thanks,

 

-Jim

 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to