When you change your payload struct, you should reflect this change to the
java application. Your payload struct is defined in OscilloscopeMsg.java
file. So, you should regenerate OscilloscopeMsg.java file using MIG (Message
Interface Generator) tool.

I use Yeti2 with Eclipse. It has MIG support which makes it trivial to use
it.

When you generate OscilloscopeMsg.java file, copy it into Oscilloscope Java
project folder, clean and rebuild it. Then, it will work

Regards,

On Thu, Apr 1, 2010 at 9:50 PM, Omar Bouzid <[email protected]>wrote:

> Hi all,
> I tried to modify the OscilloscaopC application in tinyos-2.x to sample the
> microphone sensor of mts310 (attached to micaz) and I have succeed to do
> that. However, when I tried to change the number of readings per message in
> the Oscilloscope.h (less or greater than 10), no data will be displayed in
> the GUI. So, any suggestion to solve this issue?
>
> Thanks in advance,
> Omar
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Mehmet Akif Antepli
Telecommunications Lab. D-217
Dept. of EEE
Middle East Technical University
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to