I'm not sure that the TOSBase program will convert the dest addr
to that of the UART, so you may be seeing the BCAST addr of the
original message. The other fields look OK.

You are right that Framer (or something in TOSBase) converts the
formats. Some searching around should find the means to make this
not happen, I've never done it. If you do that you probably need
to change your MOTECOM to [EMAIL PROTECTED]:micaz or mica2. Using the
platform name causes some internal function switching in the
Java comm code.

MS

rami halloush wrote:
> 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 [EMAIL PROTECTED]:19200 <mailto:[EMAIL PROTECTED]:19200>
> 
> $ java net.tinyos.tools.Listen
> [EMAIL PROTECTED]:19200 <mailto:[EMAIL PROTECTED]: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
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

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

Reply via email to