[Tinyos-devel] Micaz packet format problem
rami halloush
rami_halloush at yahoo.com
Mon Apr 14 06:31:26 PDT 2008
Hi,
I have been using Mica2 for a while, but now, I am trying to switch to Micaz. Unfortunately, this task is not as smooth as I expected.
I have problems with the packet format. I am running the CntToLedsAndRfm application on one Micaz mote and the TOSBase on another. I am receiving a packet in which the destination address is FFFF. although it has to be 7E00 (TOS_UART_ADDR). Here is what I am getting:
$ export MOTECOM=serial at COM1:19200
$ java net.tinyos.tools.Listen
serial at COM1:19200: resynchronising
FF FF 04 7D 04 01 00 09 00
FF FF 04 7D 04 02 00 09 00
FF FF 04 7D 04 03 00 09 00
FF FF 04 7D 04 04 00 09 00
FF FF 04 7D 04 05 00 09 00
FF FF 04 7D 04 06 00 09 00
FF FF 04 7D 04 07 00 09 00
FF FF 04 7D 04 08 00 09 00
FF FF 04 7D 04 09 00 09 00
FF FF 04 7D 04 0A 00 09 00
I am expecting that the Framer.nc at the receiver side (TOSBase) will adapt the received Micaz messages to mica2 messages before forwarding them to the serial port, so that the Listen application will have no problem in dispaying them.
Note: I am changing nothing with Framer.nc nor AM.h
Is it a problem in Framer.nc? Is it a problem in the java tools at the receiver side such as Listen, is it possible to rebuild those application so that they expect micaz packets?? Do I have to change anything. I would highly appreciate it if anyone suggests what the solution might be.
Thank you very much,
Rami Halloush
WAVES Lab
Department of Electrical and Computer Engineering
Michigan State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080414/b6edfebd/attachment.htm
More information about the Tinyos-devel
mailing list