plz help me

 I have installed tinyos 1.1.11 and i have micaz motes of mib520 . i want to
install tinydb on the micaz motes. i was tried to install this tinydb
through tinyos  it is not supporting and also tried from moteview that is
not supporting this tinydb code . so plz help me for how to install this
tinydb on micaz motes...........


On 4/2/10, [email protected] <
[email protected]> wrote:
>
> Send Tinyos-help mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tinyos-help digest..."
>
>
> Today's Topics:
>
>   1. python (Shyam Sahu)
>   2. Re: python (Kaisen Lin)
>   3. Changing NREADING in OscilloscopeC (Omar Bouzid)
>   4. Re: Changing NREADING in OscilloscopeC (Mehmet Akif Antepli)
>   5. list of values (wafa jaballah)
>   6. Consecutive ADC readings with TempC and VoltageC
>      (Anderson Jr Nascimento)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 1 Apr 2010 20:02:01 -0400
> From: Shyam Sahu <[email protected]>
> Subject: [Tinyos-help] python
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> i have python2.5 installed but still recieve this message.
>
>
>
> s...@ubuntu:/opt/tinyos-2.1.0/apps/Blink$ make micaz sim
> mkdir -p simbuild/micaz
> placing object files in simbuild/micaz
> writing XML schema to app.xml
> compiling BlinkAppC to object file sim.o
> ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate
> -fnesc-nido-motenumber=sim_node\(\)   -Wall -Wshadow -Wnesc-all
> -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
> -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"syam\"
> -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x4c7b3f0aL
> -DIDENT_TIMESTAMP=0x4bb531d5L -DIDENT_UIDHASH=0x82f9169fL
> -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components
> -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
> -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
> compiling Python support and C libraries into pytossim.o, tossim.o, and
> c-support.o
> g++ -c  -shared -fPIC -o simbuild/micaz/pytossim.o -g -O0
> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"syam\"
> -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x4c7b3f0aL
> -DIDENT_TIMESTAMP=0x4bb531d5L -DIDENT_UIDHASH=0x82f9169fL
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.5
> -I/opt/tinyos-2.1.0/tos/lib/tossim -DHAVE_CONFIG_H
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:26:20: error:* Python.h:
> No
> such file or directory*
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: ISO C++
> forbids
> declaration of ?PyObject? with no type
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: expected ?;?
> before ?*? token
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:297: error: ?PyObject? has
> not been declared
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:302: error:
> ?PyObject_HEAD?
> does not name a type
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:306: error: expected
> initializer before ?*? token
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:313: error: ?FILE? has not
> been declared
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx: In function ?int
> swig_varlink_print(swig_varlinkobject*, int*, int)?:
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:316: error: ?fprintf? was
> not declared in this scope
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:317: error: ?struct
> swig_varlinkobject? has no member named ?vars?
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx: At global scope:
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:325: error: expected
> initializer before ?*? token
> /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:3496: error: expected ?}?
> at end of input
> make: *** [sim-exe] Error 1
>
> where can i find the header file??
>
> --
> Syam
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100401/82430d5b/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Thu, 1 Apr 2010 17:13:24 -0700 (PDT)
> From: Kaisen Lin <[email protected]>
> Subject: Re: [Tinyos-help] python
> To: Shyam Sahu <[email protected]>
> Cc: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=utf-8
>
> You might want to install the "python-dev" package
>
> Kaisen
>
> ----- "Shyam Sahu" <[email protected]> wrote:
>
> > i have python2.5 installed but still recieve this message.
> >
> >
> >
> > s...@ubuntu:/opt/tinyos-2.1.0/apps/Blink$ make micaz sim
> > mkdir -p simbuild/micaz
> > placing object files in simbuild/micaz
> > writing XML schema to app.xml
> > compiling BlinkAppC to object file sim.o
> > ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim
> > -fnesc-nido-tosnodes=1000 -fnesc-simulate
> > -fnesc-nido-motenumber=sim_node\(\) -Wall -Wshadow -Wnesc-all
> > -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
> > -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
> > -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"syam\"
> > -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x4c7b3f0aL
> > -DIDENT_TIMESTAMP=0x4bb531d5L -DIDENT_UIDHASH=0x82f9169fL
> > -Wno-nesc-data-race BlinkAppC.nc -fnesc-dump=components
> > -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
> > -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
> > compiling Python support and C libraries into pytossim.o, tossim.o,
> > and c-support.o
> > g++ -c -shared -fPIC -o simbuild/micaz/pytossim.o -g -O0
> > -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"syam\"
> > -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x4c7b3f0aL
> > -DIDENT_TIMESTAMP=0x4bb531d5L -DIDENT_UIDHASH=0x82f9169fL
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx
> > -I/usr/include/python2.5 -I/opt/tinyos-2.1.0/tos/lib/tossim
> > -DHAVE_CONFIG_H
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:26:20: error:
> > Python.h: No such file or directory
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: ISO C++
> > forbids declaration of ?PyObject? with no type
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: expected
> > ?;? before ?*? token
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:297: error:
> > ?PyObject? has not been declared
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:302: error:
> > ?PyObject_HEAD? does not name a type
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:306: error: expected
> > initializer before ?*? token
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:313: error: ?FILE?
> > has not been declared
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx: In function ?int
> > swig_varlink_print(swig_varlinkobject*, int*, int)?:
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:316: error: ?fprintf?
> > was not declared in this scope
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:317: error: ?struct
> > swig_varlinkobject? has no member named ?vars?
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx: At global scope:
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:325: error: expected
> > initializer before ?*? token
> > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:3496: error: expected
> > ?}? at end of input
> > make: *** [sim-exe] Error 1
> >
> > where can i find the header file??
> >
> > --
> > Syam
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 1 Apr 2010 19:50:15 +0100
> From: Omar Bouzid <[email protected]>
> Subject: [Tinyos-help] Changing NREADING in OscilloscopeC
> To: "'[email protected]'"
>        <[email protected]>
> Message-ID:
>        <
> bf097ef1d3e86045b1f72b22390ae24b018c5a873...@exccr02.campus.ncl.ac.uk>
>
> Content-Type: text/plain; charset="us-ascii"
>
> 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
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 2 Apr 2010 12:58:08 +0300
> From: Mehmet Akif Antepli <[email protected]>
> Subject: Re: [Tinyos-help] Changing NREADING in OscilloscopeC
> To: Omar Bouzid <[email protected]>
> Cc: "[email protected]"
>        <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100402/35a2ade5/attachment-0001.htm
>
> ------------------------------
>
> Message: 5
> Date: Fri, 2 Apr 2010 17:59:41 +0200
> From: wafa jaballah <[email protected]>
> Subject: [Tinyos-help] list of values
> To: tinyos-help <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
> I want to compute the number of buffered packet every 2 second (for
> example). I used a timer like this :
>
>
> command void Receiver.ProcessData(Data_Packet_t *p, long rcv_time)
>
> {
>
>
>
> call Timer1.startPeriodic(d);
>
> // the rest of the code
>
> }
>
> event void Timer1.fired()
>
> {
>
> signal Receiver.computeDataReady();
>
> }
>
>
>
> event error_t Receiver.computeDataReady()
>
> {
>
> uint8_t num;
>
> num = call Buffer.dataNum();
>
> dbg("simC","NUMBER OF BUFFERED DATA PACKET IS %d \n", num);
>
> }
> Are there better methods to do this considering that I want the values
> written in a file. Could I use python to do this?
>
> Thanks for any suggestions.
>
>
>
>
>
>
>
> --
> Wafa Ben Jaballah
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100402/e712a7e5/attachment-0001.htm
>
> ------------------------------
>
> Message: 6
> Date: Fri, 2 Apr 2010 12:28:52 -0400
> From: Anderson Jr Nascimento <[email protected]>
> Subject: [Tinyos-help] Consecutive ADC readings with TempC and
>        VoltageC
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> I'm using an Iris mote with the latest tinyos-2.x sources from cvs.
>
> I have a 5 ms timer, which when fired does the following:
> {
> Read TempC (from mda100bc sensorboard)
> Read VoltageC (the internal voltage reference of the micro)
> Send values over serial port
> }
>
> NOTE: please ignore the fact that the first set of readings will be
> incorrect!
>
> The TempC reading seems fine, but the VoltageC reading is incorrect.
> When I don't read TempC, VoltageC readings are fine.
>
> I thought maybe it was a matter of ADC resource not being shared properly,
> but both TempC and VoltageC use the same low level resource manager for ADC
> access.
>
> Here are the readings I am getting:
>
> Read only TempC:
> TempC reading: 521 (about 26C)
>
> Read only VoltageC:
> VoltageC reading: 339 (about 3.3V, correct reading)
>
> Read TempC then VoltageC:
> TempC reading: 521 (about 26C)
> VoltageC reading: 295 (about 3.8V)
>
> Read VoltageC then TempC:
> TempC reading: 521 (about 26C)
> VoltageC reading: 300 (about 3.75V)
>
> It seems to me like it's some sort of resource arbitration problem, as
> VoltageC works fine if I don't read TempC. On the other hand, it doesn't
> matter which I try to read first, TempC or VoltageC, TempC is always
> correct
> and VoltageC is always incorrect.
>
> I modified the BlinkToRadio tutorial source to read TempC and VoltageC and
> send the values over the serial port. Please see the attached source code
> for more details.
>
> Am I just missing something, or is this some sort of bug? Any help will be
> appreciated!
>
> Thanks,
> Anderrson
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100402/5fb00ad3/attachment.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: BlinkToRadioAppC.nc
> Type: application/x-netcdf
> Size: 595 bytes
> Desc: not available
> Url :
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100402/5fb00ad3/attachment.nc
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: BlinkToRadioC.nc
> Type: application/x-netcdf
> Size: 1480 bytes
> Desc: not available
> Url :
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100402/5fb00ad3/attachment-0001.nc
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: BlinkToRadio.h
> Type: text/x-chdr
> Size: 247 bytes
> Desc: not available
> Url :
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100402/5fb00ad3/attachment.h
>
> ------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> End of Tinyos-help Digest, Vol 84, Issue 5
> ******************************************
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to