Sam,
TestSerial.java is the user code where you can do modifications.
TestSerialMsg.java says this as its first comment:  "This class is
automatically generated by mig. DO NOT EDIT THIS FILE".   So, as this
warning states, you should not change code in this file.

Regards
Vikram


On Wed, Jan 27, 2010 at 11:04 PM, Sam azzaro <[email protected]> wrote:
> Hello all,
> i want to collect information from mote (telosb) to PC and display it using
> a serial connection.
> i taked a look at tutorials, and i note that i have to change some java code
> to read this data,
> like using the following methods to provide access to the backing array of
> mig generated class.
> public bytes[] dataGet();
> public int baseOffset();
> public int dataLength;
> so my question is where exactly should i change this code?
> is it in the testSerial.java or in testSerialMsg.java??
> i need your help please cause i'm stuck here for a long.
> Regards,
> Sam
>
> ________________________________
> Votre messagerie et bien plus où que vous soyez. Passez à Windows Live
> Hotmail, c'est gratuit ! Inscrivez-vous
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

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

Reply via email to