You will need to recompile Listen with your new packet size.
Offhand I don't know where it gets changed so search for
DATA_LENGTH in the java code.

MS

Bhavish Aggarwal wrote:
> Hi,
> 
> I'm sending packets from mote to PC via UART and using the Listen.java
> app to print out the packet. I am sending an AM packet with data
> length (excluding headers etc.) of 44 bytes by modifying the
> -DTOSH_DATA_LENGTH flag in the makefile. But the packet is not output
> in the Listen.java app. On the other hand, if I send a packet with
> size less than the default, it is output in the Listen.java app.
> 
> Is there an upper limit to the max. size the Listen.java app reads?
> And can that be changed like the DTOSH_DATA_LENGTH flag is changed?
> 
> Thanks,
> 
> Bhavish
> _______________________________________________
> 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