Hi!

On Mon, Oct 3, 2011 at 6:23 AM, li shiwei <[email protected]> wrote:
> Dear Miklos
> Thank you, i successfully download tinyos-main folder. But i still got some
> problems to display the data reading using Oscilloscope
> 1 i found the tinyos-main is for tinyos 2.0.1, do you mean i should
> downgrade 2.1.1 to 2.0.1? i just change my previous tinyos-2.1.1 folder to
> tinyos-2.1.1-old. create a new folder tinyos-2.1.1 and copy all files in
> tinyos-main in to tinyos-2.1.1. will this procedure cause other problem.

You should delete tinyos-2.1.1 and tinyos-2.0.1 and any other version.
Just have your tinyos-main somewhere and update it from time to time
with svn update.

> 2 i changed
> components new VoltageC() as DemoSensor     in DemosensorC.nc to
> ...
> implementation {
> components new Accel202C() as Demosensor;
> Read = DemoSensor.X_Axis;
> }
> when i compile the code, nesC compiler complain can not find Accel202(), my
> walkaround is copy all the files in mts400 into oscilloscope file. But how
> to let nesc compiler know the mts400 folder ?

You have to specify this line in your makefile:

SENSORBOARD=mts400

This is how the nesc compiler will know that it has to search the
tos/sensorboards/mts400 directory as well for components.

> 3 most important
> when i open serialforwarder and run oscilloscope application in pc. i still
> can not see the data reading
> the serialforwarder complains the package size is too long...  and i can
> only get one line no matter how i shake the sensor board...
> Can you help me with this? maybe send me a sample program to display any
> data reading.

I do not know what the problem is., Maybe you can run java
net.tinyos.tools.ListenRaw to see what is going on.

Best,
Miklos

> On Fri, Sep 30, 2011 at 3:27 PM, Miklos Maroti <[email protected]>
> wrote:
>>
>> Hi!
>>
>> You should not use tinyos 2.1.1, instead always use the tinyos-main
>> repository (use svn to get it). That has the latest mts400 code and
>> also all other modifications to other parts of tinyos that are needed.
>>
>> Best,
>> Miklos
>>
>> On Fri, Sep 30, 2011 at 8:19 AM, li shiwei <[email protected]> wrote:
>> > Hi
>> > My name is Li shiwei. I am an undergraduate student in Nanyang
>> > Technological
>> > University(Singapore), i am still new to Tinyos.
>> > i have download the latest version of tinyos (2.1.1), but why i still do
>> > not
>> > have mts400 code in my tos/sensorboard directory? can i just download
>> > this
>> > folder from tinyos-main:
>> >
>> >
>> > http://code.google.com/p/tinyos-main/source/browse/trunk/tos/sensorboards/?r=5512#sensorboards%2Fmts400%253Fstate%253Dclosed
>> > are there other related files possibly missing from my current system?
>> > do i
>> > need to download tinyos-2.x-contrib before run your code ?
>> > i just want to display some sensor data using oscilloscope application.
>> > am i
>> > on the correct track?
>> > And one last question, i found you post a modification of the code
>> > on Sun
>> > Mar 13 13:47:43 PDT 2011.
>> > is the code in the above URL the final version ? if possible can you
>> > send me
>> > the final version of this folder.
>> > Thank you very much
>> > --
>> > Regards
>> > shiwei
>> > phone +6584127726
>> >
>
>
>
> --
> Regards
> shiwei
> phone +6584127726
>

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

Reply via email to