Hello,
 
When I run the Surge application, I got this at node 4:

[4] Sent Message <BaseTOSMsg> [addr=0xffff] ... [data="" 0x0 0x4 0x0 0x5 0x0 0xff 0x0 0x4f 0x3 0xff 0xff 0x0 0x0 0x0 0x0......] [crc=0x0] ...
Could someone please tell me whose data is the one marked in Bold. I know the first four are the TOS_MHopMsg sourceaddr, originaddr, seqno and hopcount. So, I guessed the one marked in Bold would be the data field.
 
But when I printed TOS_MHopMsg->data, it gave me a value of 80e15bc. How does this value map to the 0x4f 0x3 0xff 0xff.
 
Also, why are all fields i.e. sourceaddr, originaddr, seqno and hopcount fields 2 bytes each even if they have declared differently (uint16_t, int16_t, uint8_t). Are there any single byte declarations?
 
Can someone please help me here. Thanks a lot.
 
Regards,
Yogesh.
 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Tinyos-users mailing list
[email protected]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to