Hi All, I have the following data reading from the TestNetwork application. The data is read using the java 'net.tinyos.tools.Listen' tool.
00 FF FF 00 00 0A 22 70 01 08 00 00 00 00 00 00 02 2F. What I understood when interpreting the data is: 1. The first byte (00) refers to the AM type which said can be ignored. 2. The next 'FF FF' is the destination address. 3. The next '00 00' is the source address. 4. The next '0A' is the length of the data. 5. The next '22' is the group ID. 6. The next '70' is the AM handler type. -> which I believe this byte indicates the data stream belongs to the CTP routing frame since I found from the Ctp.h, '0x70' is an enum for AM_CTP_ROUTING. Thus, the rest of the bytes, I translated as the fields that belongs to the CTP routing frame; thus by referring to TEP 123, the next byte after '70' which is '01' would refer as 'reserved' field, the next '08 00' will be the 'parent' field, the next '00 00' will be the 'ETX' field, and the rest I really have no idea what they are?? Instead, I think my interpretation here sounds wrong since it doesn't make sense that '08 00' refers to 'parent' field because I set (by issuing make micaz install) the motes ID to be 0, 1, 2, etc..and none of them are '08 00' hexa. If I translate them as data of CTP routing frame, that could also be wrong since CTP routing frame does not carry data... I am so confused here and really need your help guys... Thanks Yusnaidi
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
