If you are using TOS1.x, the description you have is of the micaz (and I think tmote) RADIO structure. But, depending on the settings of the host receiver, Listen.java is probably giving you data in a structure that looks like tos/types/AM.h -- which matches the UART (and mica2) message.
There is a good description of this at: http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf MS Chen Bleed wrote: > > Hello, all > > Now I am separating values of packet listened by Listen.java. I find a > article in > http://www.mail-archive.com/[email protected]/msg06909.html > It says the format is > Length (1) > Frame Control Field (2) > Dat sequence number (1) > Dest PAN address (2) > Dest address (2) > Active Message ID (1) > Group ID (1) > the rest is my data > > Does "Dest PAN address" mean TOS_BCAST_ADDR in AM.h?? > > Because I get the value of Dest PAN address is 0xFFFF just match > TOS_BCAST_ADDR, I guess it. > > could anyone know about this?? > > thx all and sorry for my bad English. > > > Chen, Chien Mao > > > ------------------------------------------------------------------------ > 下載最新版本的 Windows Live Messenger 8.1,分享音樂、共用搜尋,和即時傳 > 訊好友線上同樂!— 立即下載 <http://get.live.com/messenger/overview> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
