[Tinyos-help] Lesson-3 does not work on mica2 motes.
Dear all, I have tried lesson-3 of tinyos-2.0 on mica2 motes but it does not works (lesson-1/2 works fine). Hence I changed lesson-3 to clearly understand that what part is not working. In the changed code, a sender-node never receives (http://cone.informatik.uni-freiburg.de/teaching/labcourse/Adhocnetworks-w07/wsn/sender.rar) and a receiver-node never sends (http://cone.informatik.uni-freiburg.de/teaching/labcourse/Adhocnetworks-w07/wsn/reciever.rar). Furthermore the senders also now switch-On LEDs after sending a message. According to my observation, a sender sends packets successfully however, the receive event never get called on receiver-nodes. Even the transceiver is switched-On successfully on receiver-nodes but then why it is not getting any packets? I will really appreciate if someone has tried lesson-3 on mica2 motes and have similar problem. Otherwise, it will be great if someone can look at very simple and small above mentioned sender, receiver code and could give any possible feedback. best regards, Faisal Aslam ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] gio0 problem on tmote sky
Dear all, I have tried lesson-3 of tinyos-2.0 on mica2 motes but it does not works (lesson-1/2 works fine). Hence I changed lesson-3 to clearly understand that what part is not working. In the changed code, a sender-node never receives (http://cone.informatik.uni-freiburg.de/teaching/labcourse/Adhocnetworks-w07/wsn/sender.rar) and a receiver-node never sends (http://cone.informatik.uni-freiburg.de/teaching/labcourse/Adhocnetworks-w07/wsn/reciever.rar). Furthermore the senders also now switch-On LEDs after sending a message. According to my observation, a sender sends packets successfully however, the receive event never get called on receiver-nodes. Even the transceiver is switched-On successfully on receiver-nodes but then why it is not getting any packets? I will really appreciate if someone has tried lesson-3 on mica2 motes and have similar problem. Otherwise, it will be great if someone can look at very simple and small above mentioned sender, receiver code and could give any possible feedback. best regards, Faisal Aslam ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Oscope serialForwarder
Hi Michael Schippling! First I want to thank you for your help and know I am recieving different message plus I see that the motes are connected to the oscope. I see the mote nummer and the channel nummer but still I don't se the graph, for example the serialForwarder shows that the is reading. I am still missing something. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Deluge and Application size
What version of TinyOS are you using? In any case, the volume that is used to store the application image should be larger than the application image. Thank you Mike Alban Hessler wrote: Hi, I have a rather big application, and when using it with deluge, it crashes. Without deluge, it does not. If also I reduce my application (removing some component), the application does not crash. If the application is more than 64 Ko, do I need increase the volume sizes? Best regards, Alban ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] Running Listen tool
Thanks.. It did not work. I am wondering what I should do after changing the tinyos.sh file? Do I need to execute any command? Also please find below my bashrc file. ** # ~/.bashrc # # Initial .bashrc customized for TinyOS # $Id: bashrc,v 1.2 2003/10/07 21:46:11 idgay Exp $ # # Workaround for the fact that tinyos is installed by InstallShield and # InstallShield uses DOS directory format yet nesc wants to see Unix-style # directory names for TOSDIR. For example, an InstallShield wizard can set # a system-wide environment variable TOSDIR to # appropriate-drive-letter:\tinyos-1.x\tos\. In cygwin, you could then cd to # $TOSDIR, but nesc can't parse it. Nesc expects something like # /cygdrive/appropriate-drive-letter/tinyos-1.x/tos/. cd $TOSROOT export TOSDIR=`pwd`/tos cd $HOME # Historically, users have had difficulty keeping up with the CLASSPATH # requirements for TinyOS which, especially since 1.0.0, have increased # rapidly. `javapath` is a script that will determine what the CLASSPATH # should be. cd $TOSROOT; cd tools/java export CLASSPATH=`./javapath` cd $HOME PATH=/opt/tinyos-1.x/tools/java/net/tinyos/sim:$PATH export $PATH ** Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and Computer Engineering Phone: (519) 661-2111 ext. 81271 -Original Message- From: David Valencia [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 13, 2007 4:42 PM To: Abdullah Kadri Cc: 'David Valencia'; tinyos-help@millennium.berkeley.edu Subject: RE: [Tinyos-help] Running Listen tool The second thing suggested to check for You have . in your CLASSPATH., which you do not. Try replacing the line export CLASSPATH with export CLASSPATH=$CLASSPATH;. This is what I have in my tinyos.sh file * # script for profile.d for bash shells, adjusted for each users # installation by substituting @prefix@ for the actual tinyos tree # installation point. TOSROOT=@prefix@/tinyos-1.x export TOSROOT TOSDIR=$TOSROOT/tos export TOSDIR CLASSPATH=`$TOSROOT/tools/java/javapath` export CLASSPATH # Extend path for java type java /dev/null 2/dev/null || PATH=`/usr/local/bin/locate-jre --java`:$PATH type javac /dev/null 2/dev/null || PATH=`/usr/local/bin/locate-jre --javac`:$PATH echo $PATH | grep -q /usr/local/bin || PATH=/usr/local/bin:$PATH * What should I put to set the path for Listen.class file? Thanks a lot for you r help Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and Computer Engineering Phone: (519) 661-2111 ext. 81271 -Original Message- From: David Valencia [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 13, 2007 4:19 PM To: Abdullah Kadri Cc: 'David Valencia'; tinyos-help@millennium.berkeley.edu Subject: RE: [Tinyos-help] Running Listen tool What is your CLASSPATH set to? Is it blank? Sorry was not paying attention and did not realize you are using tinyos-1.x. There should be a file tinyos.sh in /etc/profile.d; you can set CLASSPATH there and check what it is set to. Thanks. Although I have Listen.class file in C:/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/tools folder, I am not able to see its path when I give env command. Any hint please? Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and Computer Engineering Phone: (519) 661-2111 ext. 81271 -Original Message- From: David Valencia [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 13, 2007 3:18 PM To: tinyos-help@Millennium.Berkeley.EDU Cc: tinyos-help@Millennium.Berkeley.EDU; [EMAIL PROTECTED] Subject: Re: [Tinyos-help] Running Listen tool Abdullah Kadri, CLASSPATH is an environment variable. You can check your environment variables by using the env (check all environment variables) or printenv CLASSPATH (just check CLASSPATH environment variable). If you do not have . in your CLASSPATH, you can accomplish this by editing the bash.bashrc file; add the following: export CLASSPATH=$CLASSPATH;. David -- Message: 1 Date: Tue, 13 Nov 2007 14:24:57 -0500 From: Abdullah Kadri [EMAIL PROTECTED] Subject: [Tinyos-help] Running Listen tool To: tinyos-help@Millennium.Berkeley.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii I got an error and found a solution to solve this error but could not know how to apply this solution. The solution by MS was to: Check these two things: 1) There is a file named tools/java/net/tinyos/tools/Listen.class 2) You have . in your CLASSPATH I have checked and found that I have the file named Listen.class. Now I do not know how set CLASSPATH and where? Any quick answer is highly appreciated. Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and
Re: [Tinyos-help] About MoteIV support information
You can find the Moteiv Community Wiki articles here http://docs.tinyos.net/index.php/Boomerang announced from Joe's blog post here http://blog.sentilla.com/2007/10/sentilla-beta-update-and-docum.php . - Cory On Nov 8, 2007 1:15 AM, Urs Hunkeler [EMAIL PROTECTED] wrote: It might be possible to access large parts of the original web site through this link: http://web.archive.org/web/20070715062122/http://moteiv.com/ However the archive is relatively slow and some parts might not be included (especially the areas where a subscription was required). Also the most recent information might not be available (though google cache might help there) I haven't checked yet. Maybe we should use the archive to make a local copy somewhere? Cheers, Urs Peizhao Hu schrieb: Dear All Tmote Sky Users; Anyone has a backup of all moteiv support information from the web site? As the sudden shutdown of MoteIV support web site, we lost all this information. It will be really graceful to have a copy for future reference. :-) ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] CTPInfo interface(T2)
Hi, I've tested TestNetwork ,TestNetwork receives always 0 for ETX value.so I'm wondering which version of tinyos-2 you're using ,I'm using the last version of tinyos-2. Thanks and RGDS, Behnaz ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] CTPInfo interface(T2)
Hi Omprakash, Now it's ok. Actually after your message of last week,I've done a CVS update in /opt/tinyos-2.x/tos/lib/net/ . Today I've done a cvs update from the root,and the problem is solved,till now I was working with the old version of Ctp.getEtx() which didn't take in account the etx (link to the parent). Thanks for your attention , Behnaz Quoting Omprakash Gnawali [EMAIL PROTECTED]: I am using the CVS head. It will be helpful if you send the packets sent by TestNetwork because there is a lot of debug information there. You might as well send packets sent over the UART by the root and also by one of your nodes. - om_p Hi, I've tested TestNetwork ,TestNetwork receives always 0 for ETX value.so I'm wondering which version of tinyos-2 you're using ,I'm using the last version of tinyos-2. Thanks and RGDS, Behnaz ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] About MoteIV support information
Oh, and all of the datasheets are here http://www.sentilla.com/moteiv-endoflife.html . On Nov 8, 2007 1:29 AM, Cory Sharp [EMAIL PROTECTED] wrote: You can find the Moteiv Community Wiki articles here http://docs.tinyos.net/index.php/Boomerang announced from Joe's blog post here http://blog.sentilla.com/2007/10/sentilla-beta-update-and-docum.php . - Cory On Nov 8, 2007 1:15 AM, Urs Hunkeler [EMAIL PROTECTED] wrote: It might be possible to access large parts of the original web site through this link: http://web.archive.org/web/20070715062122/http://moteiv.com/ However the archive is relatively slow and some parts might not be included (especially the areas where a subscription was required). Also the most recent information might not be available (though google cache might help there) I haven't checked yet. Maybe we should use the archive to make a local copy somewhere? Cheers, Urs Peizhao Hu schrieb: Dear All Tmote Sky Users; Anyone has a backup of all moteiv support information from the web site? As the sudden shutdown of MoteIV support web site, we lost all this information. It will be really graceful to have a copy for future reference. :-) ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] gio0 problem on tmote sky
Thanks Michael and Urs Just a few comments to close the issue: T2 has HPL, HAL and HIL interfaces. The selecIOFunc() was not in GeneralIO (which I think is a HIL interface, and the one application developers should use) but in HplMsp430GeneralIO it exists. So, to be on the safe side I use it... I think this is because the ports with ADC capability don't offer interrupt capability. So if you need to trigger an external interrupt (and only then) you need to bridge R14. After reading the specs again I recognize the (and only then), that 3 words were very helpfull. So, for sure there is no need , in my case, to use the gio0 and add a resistor in R14, ADC3 (Port63) is just fine. Thanks, André Rodrigues Cheers, Urs I'd say if it works, you are doing it the right way. MS André Miguel de Almeida Marrão Rodrigues wrote: Hi I'm in T2 Unless you are using the ADC component the ADC inputs are not configured to do anything, so there is nothing to disable. I'm using the ADC for ADC0, ADC1 and ADC2. But I'm not sure if it affects ADC3? I am entirely clueless as to why those R14-like shorting options exist as all they do is tie two IO pins together... A shortage on connector pins? I have yet to fully test this, but I believe you can do the following to turn ADC3 into an output pin (under Boomerang, which seems to be TOS1.1.15++): I manage to do that forgeting the R14 (not connected) and the gpio0 and making the ADC3 pin output and high. And now it's working, I didn't use selecIOfunc because I didn't see that in GeneralIO interface. What´s the function? But at the end I'm not sure if it's the correct way to do it Regards, André ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Mobile phone as mote base with Tmote Mini or other motes?
Is anyone out there working on using a mobile phone as their base station for data collection, and willing to share software/equipment that works for you? I have an outdoor sensor project where this would be very convenient (more so than dragging a laptop into the woods to collect data). I have been watching for developments here with the Moteiv Tmote Mini-to smartphone with SDIO interface, or similar systems. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] DAC support please
Hi Jared, I hope the following message on the mailing list helps: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-October/019973.html -Joe On 10/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I've seen a few posts in here regarding DAC on tmote sky. I'm assuming the component SpeakerDriverC works with the sky mote. However, SpeakerDriverC is designed for the invent mote. I'm not getting an output from the DAC. Is the the driver compatible with the sky mote? If anyone has experience getting DAC to work, please share. What initialization/modifications do I need to get DAC working? Thank you, Jared ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to send tones over CC2420?
Hi guys, I have joined the forum just recently am new to the world of NesC. I am working on efficient jamming of 802.11 networks usinf sensor nodes. I am using the motiev Telosb mote with the CC2420 radio. I wanted to try sending continous tones through the radio. Can anyone tell me how to do this? Or can you tell me which interface do I look out for this purpose in the apps directory Thanks Yashesh. - Now you can chat without downloading messenger. Click here to know how.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Inactivating some ports of MDA320 sensor board
Hi, I am using MDA320 sensor board and MICA2 motes with XMDA320M.nc code. How can I stop the code from sampling some ports? For instance If I dont want values from all digital ports and the battery value. I actually tried this. I commented the function call : as shown below.(this is a typical function call in the code) record[18] = call Sample.getSample(1,DIGITAL,DIGITAL_SAMPLING_TIME,DIG_LOGIC | EVENT); And as the IF condition I used the following: if (msg_status == 0x0f ) { msg_status = 0; post send_radio_msg(); } which previously was if (msg_status == pkt_full) { msg_status = 0; post send_radio_msg(); } where pkt_full =0x1ff which corresponds to all the ports But for some reason no message is received. thanks, HR - Now you can chat without downloading messenger. Click here to know how.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] [Fwd: Searching Stargates]
Mensaje original Asunto: Searching Stargates De: [EMAIL PROTECTED] Fecha: Mar, 13 de Noviembre de 2007, 4:33 pm Para: tinyos-help@Millennium.Berkeley.EDU -- My name is Marcos and I am doing a application in .NET Compact Framework that is connected with Stargate devices via Wifi to get data from WSN. The application need the IP address and port number of the Stargate. How I can that my application search Stargate devices and list them in place of inserting its IP address? I suppose that it will be necesary to send message of search for discovering the devices but, how I can do this? Thanks ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Any idea on how to use Tmote with Simulink/Matlab?
Hi, I am trying to use Simulink to do wireless control for a robot and I am facing a problem (in the first step) in reading data from Tmote internal sensor using Instrument Control Toolbox (Query Instrument) or Real-Time Windows Target (Digital Input). I appreciate if any one tried to use Simulink with Tmote to help me. Thanks SAIF ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Inline AES on Tmote
Hi, I have been trying to implement the in-line AES encryption/decryption on Tmote using Tinyos 1.x. I managed to use the stand-alone encyption. However, according to the notes from Kun Sun, I have to perform the following: //Set the register, I set it to 0x30E to use CTR mode call HPLChipcon.write(CC2420_SECCTRL0, 0x030E); //Set the CTRL1 register, the length for TX and RX is 3 respectively call HPLChipcon.write(CC2420_SECCTRL1, 0x0183); //Write the encryption key call HPLChipconRAM.write(CC2420_RAM_KEY0, 16, secret_key); Later on, the note says that I should include call HPLChipcon.cmd(CC2420_STXONCCA) in function void sendPacket() in the tos\lib\CC2420Radio\CC2420RadioM.nc. However, when I opened this file, the STXONCCA strobe has already been incorporated in the code. But the in-line encryption didn't happen. I am wondering is there anything that I need to do? I am using the genericComm component to send the message. I've also tried CC2420RadioC.send and CC2420RadioC.receive, but the data is not encrypted either. Any help and pointer to a better documentation would be very much appreciated. Thanks Sye Loong ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Lesson-3 does not work on mica2 motes.
On Nov 14, 2007, at 1:21 AM, Faisal Aslam wrote: Dear all, I have tried lesson-3 of tinyos-2.0 on mica2 motes but it does not works (lesson-1/2 works fine). Hence I changed lesson-3 to clearly understand that what part is not working. In the changed code, a sender-node never receives (http://cone.informatik.uni-freiburg.de/teaching/labcourse/ Adhocnetworks-w07/wsn/sender.rar) and a receiver-node never sends (http://cone.informatik.uni-freiburg.de/teaching/labcourse/ Adhocnetworks-w07/wsn/reciever.rar). Furthermore the senders also now switch-On LEDs after sending a message. According to my observation, a sender sends packets successfully however, the receive event never get called on receiver-nodes. Even the transceiver is switched-On successfully on receiver-nodes but then why it is not getting any packets? I will really appreciate if someone has tried lesson-3 on mica2 motes and have similar problem. Otherwise, it will be great if someone can look at very simple and small above mentioned sender, receiver code and could give any possible feedback. Please check what frequency you're using. This comes up every few months. Just search the archives for mica2 and frequency and you should come up with something. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] wrong offset in packet data
Hello, I'm trying to display data coming from a mote. I've installed oscilloscope application on a telosb mote. The tutorial gives the output as follows: % java net.tinyos.tools.Listen [EMAIL PROTECTED]:19200: resynchronising 7e 00 0a 7d 1a 01 00 0a 00 01 00 46 03 8e 03 96 03 96 03 96 03 97 03 97 03 97 03 97 03 97 03 7e 00 0a 7d 1a 01 00 14 00 01 00 96 03 97 03 97 03 98 03 97 03 96 03 97 03 96 03 96 03 96 03 7e 00 0a 7d 1a 01 00 1e 00 01 00 98 03 98 03 96 03 97 03 97 03 98 03 96 03 97 03 97 03 97 03 However, when I run the java Listen application, I get the packets skewed by a constant offset: $ export [EMAIL PROTECTED]:telosb $ java net.tinyos.tools.Listen [EMAIL PROTECTED]:57600: resynchronising 1A 00 00 00 00 00 7E 00 0A 7D 01 00 FC 49 01 00 A6 0B A6 0B A6 0B A6 0B A6 0B A7 0B A7 0B A7 0B A7 0B A7 0B 1A 00 00 00 00 00 7E 00 0A 7D 01 00 06 4A 01 00 A6 0B A7 0B A6 0B A6 0B A7 0B A7 0B A7 0B A7 0B A6 0B A7 0B 1A 00 00 00 00 00 7E 00 0A 7D 01 00 10 4A 01 00 A6 0B A7 0B A7 0B A7 0B A6 0B A7 0B A8 0B A7 0B A7 0B A7 0B You can see that the 7E 00 0A part starts 6 bytes later in my output. Because of the initial 0's, the message length field is taken to be 0 and I don't see any output in the oscilloscope java app. What can cause this skew? How can I fix this? Please help. Thanks, -Deepak ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] (yet another) Question about signal
OK, good. Then another stupid question: signal == noop? Not a stupid question at all, because yes, that's basically true. If you look at the generated C code in build/$PLATFORM/app.c you'll see both call Foo.bar() and signal Foo.bar() get turned into an ordinary C function call. Here's an example taken from Blink: nesC: event void Timer0.fired() { call Leds.led0Toggle(); } C: static inline void BlinkC$Timer0$fired(void) { ; BlinkC$Leds$led0Toggle(); } The code that fires the timer event from VirtualizeTimerC is a bit messy because of the generic components involved, but eventually firing the event just turns into a regular call to BlinkC$Timer0$fired(). HTH, Michiel ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TinyOS1.x timer
Hi, Currently, I am implementing a high frequency timer (like 32KHz). I plan to use the 16 bits timer3 in ATmega128. The question is that I am not very sure what timers TinyOS 1.X has used so far. I think the Timer component uses timer0, but I do not know what timers other components might use. Can anyone confirm the compatibility of timers? Thank you very much. Best Regards, Tao ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] Question about toturial in MoteWorks
Could you copy and send me the complete output that you get in the PN2 (including the folder and command line that you type)? Regards, Giri Baleri Crossbow Technology, Inc From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of siow lk Sent: Tuesday, November 13, 2007 10:35 PM To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] Question about toturial in MoteWorks Hi there, I am unable to compile any of the .nc files in the tutorial provided MoteWorks that i downloaded from Crossbow. The Programmers Notepad appear the error ../../../../crt1/gcrt1.S:123: undefined reference to `main' . Can anyone help me on this? Regards, Siow Edit your photos like a pro with Photo Gallery. Windows Live http://www.get.live.com/wl/all ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] tinyviz with tinyos 2.0.2
Hi, I just wanted to know if we have tinyviz with tinyos 2.0.2 ? Basically I need a graphical interface for visualizing the packets from and to the motes. I also need to analyze the events happening on some motes. Thanks, Vijayant ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] About MoteIV support information
Hi, I am looking for tmote message format (that is the packet structure), it was earlier available at this link - http://www.moteiv.com/support/tmote-message-format.html If somebody knows where I can find this information please respond. Thank you Manu Suryavansh Cory Sharp [EMAIL PROTECTED] wrote: Oh, and all of the datasheets are here http://www.sentilla.com/moteiv-endoflife.html . On Nov 8, 2007 1:29 AM, Cory Sharp wrote: You can find the Moteiv Community Wiki articles here http://docs.tinyos.net/index.php/Boomerang announced from Joe's blog post here http://blog.sentilla.com/2007/10/sentilla-beta-update-and-docum.php . - Cory On Nov 8, 2007 1:15 AM, Urs Hunkeler wrote: It might be possible to access large parts of the original web site through this link: http://web.archive.org/web/20070715062122/http://moteiv.com/ However the archive is relatively slow and some parts might not be included (especially the areas where a subscription was required). Also the most recent information might not be available (though google cache might help there) I haven't checked yet. Maybe we should use the archive to make a local copy somewhere? Cheers, Urs Peizhao Hu schrieb: Dear All Tmote Sky Users; Anyone has a backup of all moteiv support information from the web site? As the sudden shutdown of MoteIV support web site, we lost all this information. It will be really graceful to have a copy for future reference. :-) ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help - Never miss a thing. Make Yahoo your homepage.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tinyviz with tinyos 2.0.2
On Nov 14, 2007, at 8:44 AM, Vijayant Bhatnagar wrote: Hi, I just wanted to know if we have tinyviz with tinyos 2.0.2 ? Basically I need a graphical interface for visualizing the packets from and to the motes. I also need to analyze the events happening on some motes. Because TOSSIM in TinyOS 2.0 can be run from a Python interpreter, doing this shouldn't be difficult. As far as I know, though, no-one has done so yet. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS1.x timer
Near as I can tell the TimerM code uses timer0, via the Clock module. Then under mica2 there is a SysTime module that uses Timer3. And under micaz there are HPLTimer1 and HPLTimer2 modules, plus a TimerJiffy that uses HPLTimer2. The micaz code should work fine on mica2 as well, so you shouldn't have to reinvent the wheel...and no, I don't know why it's only available under micaz... I also have a bit of, perhaps redundant, Timer3 code that may help bootstrapping in: http://www.etantdonnes.com/Motes/AVR128timers.zip MS Tao Wu wrote: Hi, Currently, I am implementing a high frequency timer (like 32KHz). I plan to use the 16 bits timer3 in ATmega128. The question is that I am not very sure what timers TinyOS 1.X has used so far. I think the Timer component uses timer0, but I do not know what timers other components might use. Can anyone confirm the compatibility of timers? Thank you very much. Best Regards, Tao ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] About MoteIV support information
Try searching around on http://docs.tinyos.net/index.php/Boomerang Most, if not all, of the tmote support pages got put there. MS manu suryavansh wrote: Hi, I am looking for tmote message format (that is the packet structure), it was earlier available at this link - http://www.moteiv.com/support/tmote-message-format.html If somebody knows where I can find this information please respond. Thank you Manu Suryavansh */Cory Sharp [EMAIL PROTECTED]/* wrote: Oh, and all of the datasheets are here http://www.sentilla.com/moteiv-endoflife.html . On Nov 8, 2007 1:29 AM, Cory Sharp wrote: You can find the Moteiv Community Wiki articles here http://docs.tinyos.net/index.php/Boomerang announced from Joe's blog post here http://blog.sentilla.com/2007/10/sentilla-beta-update-and-docum.php . - Cory On Nov 8, 2007 1:15 AM, Urs Hunkeler wrote: It might be possible to access large parts of the original web site through this link: http://web.archive.org/web/20070715062122/http://moteiv.com/ However the archive is relatively slow and some parts might not be included (especially the areas where a subscription was required). Also the most recent information might not be available (though google cache might help there) I haven't checked yet. Maybe we should use the archive to make a local copy somewhere? Cheers, Urs Peizhao Hu schrieb: Dear All Tmote Sky Users; Anyone has a backup of all moteiv support information from the web site? As the sudden shutdown of MoteIV support web site, we lost all this information. It will be really graceful to have a copy for future reference. :-) ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help Never miss a thing. Make Yahoo your homepage. http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] (yet another) Question about signal
I guess if I took the time to read and understand all the NESCC design/doc, rather than wasting it on trying to make my own projects work, I wouldn't be asking so many seemingly redundant questions. I expect the whole thing has to do with using async as a flag to force race-condition evaluation, which then blossomed into a chain of fix-the-boundary-cases keywords. thanks for the answer MS Michiel Konstapel wrote: OK, good. Then another stupid question: signal == noop? Not a stupid question at all, because yes, that's basically true. If you look at the generated C code in build/$PLATFORM/app.c you'll see both call Foo.bar() and signal Foo.bar() get turned into an ordinary C function call. Here's an example taken from Blink: nesC: event void Timer0.fired() { call Leds.led0Toggle(); } C: static inline void BlinkC$Timer0$fired(void) { ; BlinkC$Leds$led0Toggle(); } The code that fires the timer event from VirtualizeTimerC is a bit messy because of the generic components involved, but eventually firing the event just turns into a regular call to BlinkC$Timer0$fired(). HTH, Michiel ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Micaz and Telosb
Dear All, I am in the process of buying a system from Crossbow and want to know the key differences between both of micaz and telosb boards. Can anyone tell me about this please? Thanks a lot. Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and Computer Engineering Phone: (519) 661-2111 ext. 81271 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] (yet another) Question about signal
On Nov 14, 2007, at 10:05 AM, Michael Schippling wrote: I guess if I took the time to read and understand all the NESCC design/doc, rather than wasting it on trying to make my own projects work, I wouldn't be asking so many seemingly redundant questions. I expect the whole thing has to do with using async as a flag to force race-condition evaluation, which then blossomed into a chain of fix-the-boundary-cases keywords. Not at all. The async keyword wasn't introduced until TinyOS 1.1. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] javacomm version 3 on Linux Ubuntu - serial port not receiving data
Hi, I've installed javacomm version 3 on Ubuntu 'Gutsy Gibbon' and I've set up successfully, but my code it's only capable of transmitting data and not receiving it (!!!). SUMMARY: Device: TMOTE IV API: TinyOS 1.0.x Comm: javacomm v3.0-u1 OS: Linux Ubuntu 'Gutsy Gibbon' Driver USB-Serial: ftdi_sio included in the Linux kernel. I'm using the /dev/ttyS0 port to communicate with the USB device on /dev/2-1 via the ftdi_sio driver. The problem isn't the port permissions: crw-rw-rw- 1 root root 189, 129 2007-11-14 18:24 /dev/2-1 crw-rw-rw- 1 root dialout 4, 64 2007-11-14 18:22 /dev/ttyS0 I attatch my code because any person could help me. NOTE: This code works smoothly on Windows, and in Linux I can open the port and set up it, even send data, but I'm not receiving anything... In the comments I read some warnings about working on Linux, but I don't fully understand them to modify the code. *** CODE: *** package net.tinyos.packet; import java.util.*; import java.io.*; import javax.comm.*; import javax.swing.JOptionPane; /** * A serial port byte source, with extra special hack to deal with * broken javax.comm implementations (IBM's javax.comm does not set the * port to raw mode, on Linux, at least in some implementations - call * an external program (tinyos-serial-configure) to fix this) */ public class SerialByteSource extends StreamByteSource implements SerialPortEventListener { private SerialPort serialPort; private String portName; private int baudRate; public SerialByteSource(String portName, int baudRate) { this.portName = portName; this.baudRate = baudRate; } public void openStreams() throws IOException { CommPortIdentifier portId = null; try { portId = CommPortIdentifier.getPortIdentifier(portName); } catch (NoSuchPortException e) { throw new IOException(Invalid port. + allPorts()); } try { serialPort = (SerialPort)portId.open(SerialByteSource, CommPortIdentifier.PORT_SERIAL); String own = serialPort.getName(); } catch (PortInUseException e) { throw new IOException(Port + portName + busy); } try { serialPort.setFlowControlMode(SerialPort.FLOWCONTROL_NONE); serialPort.setSerialPortParams(baudRate, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE); serialPort.addEventListener(this); serialPort.notifyOnDataAvailable(true); } catch (Exception e) { serialPort.close(); throw new IOException(Couldn't configure + portName); } // Try amp; run external program to setup serial port correctly // (necessary on Linux, IBM's javax.comm leaves port in cooked mode) try { Runtime.getRuntime().exec(tinyos-serial-configure + portName); } catch (IOException e) { } is = serialPort.getInputStream(); os = serialPort.getOutputStream(); } public void closeStreams() throws IOException { serialPort.close(); } public String allPorts() { Enumeration ports = CommPortIdentifier.getPortIdentifiers(); if (ports == null) return No comm ports found!; boolean noPorts = true; String portList = Known serial ports:\n; while (ports.hasMoreElements()) { CommPortIdentifier port = (CommPortIdentifier)ports.nextElement(); if (port.getPortType() == CommPortIdentifier.PORT_SERIAL) { portList += - + port.getName() + \n; noPorts = false; } } if (noPorts) return No comm ports found!; else return portList; } Object sync = new Object(); public byte readByte() throws IOException { // On Linux at least, javax.comm input streams are not interruptible. // Make them so, relying on the DATA_AVAILABLE serial event. synchronized (sync) { while (is.available() == 0) { try { sync.wait(); } catch (InterruptedException e) { close(); throw new IOException(interrupted); } } } return super.readByte();/ - VIEW THE NEXT CLASS } public void serialEvent(SerialPortEvent ev) { // DEBUG System.out.println(this.getClass().getName()+ : serialEvent: EVENTO.); if (ev.getEventType() == SerialPortEvent.DATA_AVAILABLE) { // DEBUG
Re: [Tinyos-help] (yet another) Question about signal
On Nov 14, 2007, at 10:39 AM, Michael Schippling wrote: OK, so I found nesC 1.1 Language Reference Manual (2003) and The nesC Language:... (2003) but in a quick search I don't find _what_ is the meaning of signal, except that it seems to be prefixed to calling functions labeled event. Do I need to really read the whole thing to get the idea, or is there some summary that explains the hierarchy and impetus behind these keywords? Or do I have to re-remember BNF? http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson2.html: Invoking an interface command requires the call keyword, and invoking an interface event requires the signal keyword. BlinkC does not provide any interfaces, so its code does not have any signal statements: in a later lesson, we'll look at the boot sequence, which signals the Boot.booted() event. The impetus comes from a desire to articulate the bidirectional nature of interfaces. Providers of interfaces signal completion of split-phase operations. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] MTS420 Leadtek GPS-9546
Hi, I've been looking for the datasheet of this GPS module for hours, it is neither on Leadtek website nor on Crossbow's. Has anyone a link that could help me find this? Thanks, Christophe ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] (yet another) Question about signal
OK, so I found nesC 1.1 Language Reference Manual (2003) and The nesC Language:... (2003) but in a quick search I don't find _what_ is the meaning of signal, except that it seems to be prefixed to calling functions labeled event. Do I need to really read the whole thing to get the idea, or is there some summary that explains the hierarchy and impetus behind these keywords? Or do I have to re-remember BNF? thx MS Philip Levis wrote: On Nov 14, 2007, at 10:05 AM, Michael Schippling wrote: I guess if I took the time to read and understand all the NESCC design/doc, rather than wasting it on trying to make my own projects work, I wouldn't be asking so many seemingly redundant questions. I expect the whole thing has to do with using async as a flag to force race-condition evaluation, which then blossomed into a chain of fix-the-boundary-cases keywords. Not at all. The async keyword wasn't introduced until TinyOS 1.1. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS1.x timer
Thanks a lot for the reply. I have this question is because I need a high frequency timer, like 32KHz. So far, the TimerM does not provide such granularity. Actually, it is not very difficult, as long as understanding how to write ISR in C. I really appreciate your reply On Nov 14, 2007 12:56 PM, Michael Schippling [EMAIL PROTECTED] wrote: Near as I can tell the TimerM code uses timer0, via the Clock module. Then under mica2 there is a SysTime module that uses Timer3. And under micaz there are HPLTimer1 and HPLTimer2 modules, plus a TimerJiffy that uses HPLTimer2. The micaz code should work fine on mica2 as well, so you shouldn't have to reinvent the wheel...and no, I don't know why it's only available under micaz... I also have a bit of, perhaps redundant, Timer3 code that may help bootstrapping in: http://www.etantdonnes.com/Motes/AVR128timers.zip MS Tao Wu wrote: Hi, Currently, I am implementing a high frequency timer (like 32KHz). I plan to use the 16 bits timer3 in ATmega128. The question is that I am not very sure what timers TinyOS 1.X has used so far. I think the Timer component uses timer0, but I do not know what timers other components might use. Can anyone confirm the compatibility of timers? Thank you very much. Best Regards, Tao ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] Running Listen tool
Can you explain exactly what you are typing at the command line to run the Listen application. Further, please stipulate what errors you are receiving when you try to run the Listen application. Thanks. Thanks.. It did not work. I am wondering what I should do after changing the tinyos.sh file? Do I need to execute any command? Also please find below my bashrc file. ** # ~/.bashrc # # Initial .bashrc customized for TinyOS # $Id: bashrc,v 1.2 2003/10/07 21:46:11 idgay Exp $ # # Workaround for the fact that tinyos is installed by InstallShield and # InstallShield uses DOS directory format yet nesc wants to see Unix-style # directory names for TOSDIR. For example, an InstallShield wizard can set # a system-wide environment variable TOSDIR to # appropriate-drive-letter:\tinyos-1.x\tos\. In cygwin, you could then cd to # $TOSDIR, but nesc can't parse it. Nesc expects something like # /cygdrive/appropriate-drive-letter/tinyos-1.x/tos/. cd $TOSROOT export TOSDIR=`pwd`/tos cd $HOME # Historically, users have had difficulty keeping up with the CLASSPATH # requirements for TinyOS which, especially since 1.0.0, have increased # rapidly. `javapath` is a script that will determine what the CLASSPATH # should be. cd $TOSROOT; cd tools/java export CLASSPATH=`./javapath` cd $HOME PATH=/opt/tinyos-1.x/tools/java/net/tinyos/sim:$PATH export $PATH ** Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and Computer Engineering Phone: (519) 661-2111 ext. 81271 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] About collision detection
Hi, I want to know does TOSSIM model collisions. I have been studying the UscGainInterferenceModelC.nc, When I run my application, I get lost packet indications due to many reasons like signal strength is below the threshold or ambient noise is too much etc or the node has concurrently received a packet with stronger signal strength. My question is what happens when there are more than one transmitters and all send the packets at the same time. Do we have to check the packet metadata when we send the packets, and then when we receive them or get some loss indication to make sure something went wrong ? Any help will be much appreicated. Regards, [EMAIL PROTECTED] wrote: Send Tinyos-help mailing list submissions to tinyos-help@Millennium.Berkeley.EDU 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. Re: (yet another) Question about signal (Michael Schippling) 2. Micaz and Telosb (Abdullah Kadri) 3. Re: (yet another) Question about signal (Philip Levis) 4. javacomm version 3 on Linux Ubuntu - serial port not receiving data (Miguel ?ngel ?MrNet?) 5. Re: (yet another) Question about signal (Michael Schippling) -- Message: 1 Date: Wed, 14 Nov 2007 11:05:08 -0700 From: Michael Schippling Subject: Re: [Tinyos-help] (yet another) Question about signal To: Michiel Konstapel Cc: tinyos-help@Millennium.Berkeley.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed I guess if I took the time to read and understand all the NESCC design/doc, rather than wasting it on trying to make my own projects work, I wouldn't be asking so many seemingly redundant questions. I expect the whole thing has to do with using async as a flag to force race-condition evaluation, which then blossomed into a chain of fix-the-boundary-cases keywords. thanks for the answer MS Michiel Konstapel wrote: OK, good. Then another stupid question: signal == noop? Not a stupid question at all, because yes, that's basically true. If you look at the generated C code in build/$PLATFORM/app.c you'll see both call Foo.bar() and signal Foo.bar() get turned into an ordinary C function call. Here's an example taken from Blink: nesC: event void Timer0.fired() { call Leds.led0Toggle(); } C: static inline void BlinkC$Timer0$fired(void) { ; BlinkC$Leds$led0Toggle(); } The code that fires the timer event from VirtualizeTimerC is a bit messy because of the generic components involved, but eventually firing the event just turns into a regular call to BlinkC$Timer0$fired(). HTH, Michiel -- Message: 2 Date: Wed, 14 Nov 2007 13:05:56 -0500 From: Abdullah Kadri Subject: [Tinyos-help] Micaz and Telosb To: tinyos-help@millennium.berkeley.edu Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Dear All, I am in the process of buying a system from Crossbow and want to know the key differences between both of micaz and telosb boards. Can anyone tell me about this please? Thanks a lot. Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and Computer Engineering Phone: (519) 661-2111 ext. 81271 -- next part -- An HTML attachment was scrubbed... URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071114/baa4b9a7/attachment.html -- Message: 3 Date: Wed, 14 Nov 2007 10:22:32 -0800 From: Philip Levis Subject: Re: [Tinyos-help] (yet another) Question about signal To: Michael Schippling Cc: tinyos-help@millennium.berkeley.edu Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Nov 14, 2007, at 10:05 AM, Michael Schippling wrote: I guess if I took the time to read and understand all the NESCC design/doc, rather than wasting it on trying to make my own projects work, I wouldn't be asking so many seemingly redundant questions. I expect the whole thing has to do with using async as a flag to force race-condition evaluation, which then blossomed into a chain of fix-the-boundary-cases keywords. Not at all. The async keyword wasn't introduced until TinyOS 1.1. Phil -- Message: 4 Date: Wed, 14 Nov 2007 19:26:09 +0100 (CET) From: Miguel ?ngel ?MrNet? Subject: [Tinyos-help] javacomm version 3 on Linux Ubuntu - serial port not receiving data To: tinyos-help@Millennium.Berkeley.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset
[Tinyos-help] Failed dependencies: libc.so.6(GLIBC_2.3.4) is needed by nesc-1.2.8a-1
Hello :) We have an issue with installtion of tinyOs, on the 4th step of installtion (4th step according to TinyOs 2.0.2 manual) when nesc-1.2.8a-1.i386.rpm is needed to be inastalled we've got: error: Failed dependecies: libc.so.6(GLIBC_2.3.4) is needed by nesc-1.2.8a-1 We have Red Hat 9 (2.4.20-8) installed. We couldn't correctly install GLIBC_2.3.4. So, we have 2 questions: 1) If there is any ways to resolve error with libc.so.6 2) Can we install TinyOs on Suse 10.3? Are there any known issues about it? Best regards, Student Vitaly :) ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] (yet another) Question about signal
I see 'call' and 'signal' as a type-checking mechanism with 'noop', where 'command' and 'event' can be regarded as 'INPUT' and 'OUTPUT' tags is VHDL language. Type checking (and a word of memo for the programmer) helps you to use INPUT and OUTPUT properly. They tell you the 'direction' in which you should call a function. In fact, although some people say 'nesC is dialect of 'C' with notoriously strange add-ons such as command/event/component/modules, I see it more close to VHDL, with the internals written in C. You must wire an input pin with an output pin, and vice versa, for an interface between components. You must output a value on an output pin, and you must read a value on an input pin. Thus, compile-time type-checking mechanisms such as 'call' 'signal' are very useful. And... 'async' is just another type-checking, that let's you distinguish sequences of function calls that came/didn't come from a hardware interrupt. This is how I understood it through couple years of playing around.. Thanks - jpaek Michael Schippling wrote: OK, so I found nesC 1.1 Language Reference Manual (2003) and The nesC Language:... (2003) but in a quick search I don't find _what_ is the meaning of signal, except that it seems to be prefixed to calling functions labeled event. Do I need to really read the whole thing to get the idea, or is there some summary that explains the hierarchy and impetus behind these keywords? Or do I have to re-remember BNF? thx MS Philip Levis wrote: On Nov 14, 2007, at 10:05 AM, Michael Schippling wrote: I guess if I took the time to read and understand all the NESCC design/doc, rather than wasting it on trying to make my own projects work, I wouldn't be asking so many seemingly redundant questions. I expect the whole thing has to do with using async as a flag to force race-condition evaluation, which then blossomed into a chain of fix-the-boundary-cases keywords. Not at all. The async keyword wasn't introduced until TinyOS 1.1. Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Jeongyeup Paek Ph.D. student Embedded Networks Laboratory Department of Computer Science University of Southern California http://enl.usc.edu/~jpaek ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS1.x timer
I believe the JiffyTimer is 32KHz using Timer2 so you may be able to use it directly. MS Tao Wu wrote: Thanks a lot for the reply. I have this question is because I need a high frequency timer, like 32KHz. So far, the TimerM does not provide such granularity. Actually, it is not very difficult, as long as understanding how to write ISR in C. I really appreciate your reply On Nov 14, 2007 12:56 PM, Michael Schippling [EMAIL PROTECTED] wrote: Near as I can tell the TimerM code uses timer0, via the Clock module. Then under mica2 there is a SysTime module that uses Timer3. And under micaz there are HPLTimer1 and HPLTimer2 modules, plus a TimerJiffy that uses HPLTimer2. The micaz code should work fine on mica2 as well, so you shouldn't have to reinvent the wheel...and no, I don't know why it's only available under micaz... I also have a bit of, perhaps redundant, Timer3 code that may help bootstrapping in: http://www.etantdonnes.com/Motes/AVR128timers.zip MS Tao Wu wrote: Hi, Currently, I am implementing a high frequency timer (like 32KHz). I plan to use the 16 bits timer3 in ATmega128. The question is that I am not very sure what timers TinyOS 1.X has used so far. I think the Timer component uses timer0, but I do not know what timers other components might use. Can anyone confirm the compatibility of timers? Thank you very much. Best Regards, Tao ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Failed dependencies: libc.so.6(GLIBC_2.3.4) is needed by nesc-1.2.8a-1
The quick and dirty approach is to install with rpm --nodeps and then see if anything works. MS Виталий Юркин wrote: Hello :) We have an issue with installtion of tinyOs, on the 4th step of installtion (4th step according to TinyOs 2.0.2 manual) when nesc-1.2.8a-1.i386.rpm is needed to be inastalled we've got: error: Failed dependecies: libc.so.6(GLIBC_2.3.4) is needed by nesc-1.2.8a-1 We have Red Hat 9 (2.4.20-8) installed. We couldn't correctly install GLIBC_2.3.4. So, we have 2 questions: 1) If there is any ways to resolve error with libc.so.6 2) Can we install TinyOs on Suse 10.3? Are there any known issues about it? Best regards, Student Vitaly :) ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS1.x timer
Below is where each atmega clocks are used: * Timer0: 32KHz Timebase for TinyOS Timer functions(components). Remains active during all sleep modes. * Timer1: CPUClk derived timebase for measuring send/receive time of radio packets (SFD) * Timer2: CPUClk derived timebase for jiffy timing - IEEE802.15.4 radio timing delays. * Timer3: not used If are willing to hack, then you can always hack into TimerM and make it a 32khz timer since TimerM uses a underlying 32khz clock. The 'SysTime' component uses Timer2, which is a CPU Clk (sleeps when CPU sleeps) and it's freq is (I think) 7.xxMHz. The problem is that, if you play around with Timer2, the CC2420 stack on micaz might be disrupted. :No problem on mica2, and it was designed for mica2 originally, until micaz started to use Timer2 for CC2420 timing stuff... I don't know about HPLTimer1/2 on micaz... maybe there is something that resolves the conflict with cc2420? But by just looking at their file names, I don't think they are for public use... maybe they are used internally by cc2420 stack. In this case, you should not touch them... or communication might not work. Thanks - jpaek Tao Wu wrote: Thanks a lot for the reply. I have this question is because I need a high frequency timer, like 32KHz. So far, the TimerM does not provide such granularity. Actually, it is not very difficult, as long as understanding how to write ISR in C. I really appreciate your reply On Nov 14, 2007 12:56 PM, Michael Schippling [EMAIL PROTECTED] wrote: Near as I can tell the TimerM code uses timer0, via the Clock module. Then under mica2 there is a SysTime module that uses Timer3. And under micaz there are HPLTimer1 and HPLTimer2 modules, plus a TimerJiffy that uses HPLTimer2. The micaz code should work fine on mica2 as well, so you shouldn't have to reinvent the wheel...and no, I don't know why it's only available under micaz... I also have a bit of, perhaps redundant, Timer3 code that may help bootstrapping in: http://www.etantdonnes.com/Motes/AVR128timers.zip MS Tao Wu wrote: Hi, Currently, I am implementing a high frequency timer (like 32KHz). I plan to use the 16 bits timer3 in ATmega128. The question is that I am not very sure what timers TinyOS 1.X has used so far. I think the Timer component uses timer0, but I do not know what timers other components might use. Can anyone confirm the compatibility of timers? Thank you very much. Best Regards, Tao ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Jeongyeup Paek Ph.D. student Embedded Networks Laboratory Department of Computer Science University of Southern California http://enl.usc.edu/~jpaek ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] How to send tones over CC2420?
I have never done it, but I think, to do that you will have to put the CC2420 chip in debug mode. This is not support by tinyOS AFAIK, but I might be wrong. Because this is not useful for tinyOS, we just want to transmit packets. You should start reading the datasheet of the radio chip, and see if sending tone is possible. I think you will have to write your own driver for that.. Best regards, Alban 2007/11/3, Yashesh Mankad [EMAIL PROTECTED]: Hi guys, I have joined the forum just recently am new to the world of NesC. I am working on efficient jamming of 802.11 networks usinf sensor nodes. I am using the motiev Telosb mote with the CC2420 radio. I wanted to try sending continous tones through the radio. Can anyone tell me how to do this? Or can you tell me which interface do I look out for this purpose in the apps directory Thanks Yashesh. -- Now you can chat without downloading messenger. Click herehttp://in.rd.yahoo.com/tagline_webmessenger_5/*http://in.messenger.yahoo.com/webmessengerpromo.phpto know how. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] compile problem StorageVolumes.h not found
Do you have an volumes-at45db.xml (mica), volumes-pxa27xp30.xml (imote), or volumes-stm25p.xml (telos) file in you application directory? Look at tinyos-2.x/apps/tests/storage for an example. And take a look at the tutorial found here... http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson7.html Kevin On Nov 12, 2007 3:11 PM, Iturralde Garrote, Pablo M. [EMAIL PROTECTED] wrote: Hi I have a serious problem when I try to compile any application that store things in the flash. It say to me that StorageVolumes.h nor found. this is what I get. $ make tmote mkdir -p build/telosb tos-storage-stm25p /opt/tinyos-2.x/tos/platforms/telosb volumes-stm25p.xml bui ld/telosb/StorageVolumes.h || rm -f build/telosb/StorageVolumes.h Traceback (most recent call last): File /usr/bin/tos-storage-stm25p, line 51, in ? from subprocess import Popen, PIPE ImportError: No module named subprocess compiling RandRWAppC to a telosb binary ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_ GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -Ib uild/telosb -DIDENT_PROGRAM_NAME=\RandRWAppC\ -DIDENT_USER_ID=\usuario\ -DID ENT_HOSTNAME=\user-0e111c2e18\ -DIDENT_USER_HASH=0x8dd4cc45L -DIDENT_UNIX_TIME =0x4738d4dbL -DIDENT_UID_HASH=0xc407eea9L RandRWAppC.nc -lm RandRWAppC.nc:17:28: StorageVolumes.h: No such file or directory commandline: failed to preprocess RandRWAppC.nc make: *** [exe0] Error 1 and this is how my paths are set. TOSROOT=/opt/tinyos-2.x export TOSROOT TOSDIR=$TOSROOT/tos export TOSDIR CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` export CLASSPATH=$CLASSPATH;. MAKERULES=$TOSROOT/support/make/Makerules export MAKERULES type java /dev/null 2/dev/null || PATH=`/usr/bin/tos-locate-jre --java`:$PATH type javac /dev/null 2/dev/null || PATH=`/usr/bin/tos-locate-jre --javac`:$PATH echo $PATH | grep -q /usr/local/bin || PATH=/usr/local/bin:$PATH please!! some body help me thanks in advance ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- ~Kevin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Deluge and Application size
I am using T2. I had just a doubt it was necassary because of the paging . (there are two volumes defined of 64 Ko in T2). So I thought it could write on both volumes.. I am going to increase the size then. Thank you, Alban 2007/11/14, Chieh-Jan (Mike) Liang [EMAIL PROTECTED]: What version of TinyOS are you using? In any case, the volume that is used to store the application image should be larger than the application image. Thank you Mike Alban Hessler wrote: Hi, I have a rather big application, and when using it with deluge, it crashes. Without deluge, it does not. If also I reduce my application (removing some component), the application does not crash. If the application is more than 64 Ko, do I need increase the volume sizes? Best regards, Alban ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] MicaZ TinyOS 2.x message Timestamping
There is a known problem with the way that timestamping is being done in TinyOS 2.x. There is an active discussion going on now in the core working group about what the right interface / implementation should be. That said, there is an interface in place now if you need soemthing up and running right away. Take a look at the RadioTimeStamping interface in tinyos-2.x/interfaces and at teh components 'tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC' and 'tinyos-2.x/tos/chips/cc2420/transmit/CC2420TransmitC.nc' For now, you will have to access the RadioTimeStamping interface through these low level components directly, depending on which platform you are using. Hopefully, once the new interface and implementation are decided on, it can be exposed in some platform independent manner through ActiveMessageC. Kevin On Nov 13, 2007 7:40 AM, Michael Collett [EMAIL PROTECTED] wrote: Hi, I've recently started with TinyOs 2 and I'm having a bit of trouble understanding how to timestamp messages as they are received and transmitted: *I want to be able to (as precisely as possible) include the local node time in a message at the point of transmission -What interface do I need to use? -How/at what point do I add this timestamp to the message payload? *I want to be able to (as precisely as possible) log the time of reception of a message -Can I use Metadata from the message? -How do I go about this (do I need to wire directly to lower-level components)? Your help would be greatly appreciated. Mike --- This e-mail and any attachments may contain confidential and/or privileged material; it is for the intended addressee(s) only. If you are not a named addressee, you must not use, retain or disclose such information. NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses. NPL Management Ltd. Registered in England and Wales. No: 2937881 Registered Office: Serco House, 16 Bartley Wood Business Park, Hook, Hampshire, United Kingdom RG27 9UY --- ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- ~Kevin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to read-send an entire log very fast
Hello everyone, I'm using the LogStorage abstraction on tinyos2-x with a tmote sky, my application fills a very large log (960Kb) and I'm using the same routine used in PacketParrot.http://www.tinyos.net/tinyos-2.x/apps/tutorials/PacketParrot/PacketParrotP.nc Each Log entry is about 20 bytes and the whole read/send to Base Station takes about 15 minutes. I guess the bottle neck is on the Flash read and I'm about to start making my log entries bigger and then splitting before sending. I would like to know what you think about the problem. What is the the best time I should expect to achieve to get all the data from the flash and send it via the radio? Thanks in advance, Ariel. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] visualization tool
Hi All, Can anyone help me to install TinyViz on Tinyos 2.0.2. I am a newbie. Any help if greatly appreciated. Thanks, Vijayant. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] visualization tool
Hi TinyViz isn't available for TinyOS 2.0.2, only for TinyOS 1.x. Ricardo On 11/15/07, Vijayant Bhatnagar [EMAIL PROTECTED] wrote: Hi All, Can anyone help me to install TinyViz on Tinyos 2.0.2. I am a newbie. Any help if greatly appreciated. Thanks, Vijayant. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] visualization tool
Hi, Is there any other tool that we can use for visualization in tinyos 2.0.2 ? Every help is appreciated. Thanks, Vijayant On Nov 15, 2007 1:06 AM, Ricardo Tiago [EMAIL PROTECTED] wrote: Hi TinyViz isn't available for TinyOS 2.0.2, only for TinyOS 1.x. Ricardo On 11/15/07, Vijayant Bhatnagar [EMAIL PROTECTED] wrote: Hi All, Can anyone help me to install TinyViz on Tinyos 2.0.2. I am a newbie. Any help if greatly appreciated. Thanks, Vijayant. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] visualization tool
Hi, No, there isn't. You have to use the good old terminal, but you could always follow Phil advice, and do one yourself :) Ricardo On 11/15/07, Vijayant Bhatnagar [EMAIL PROTECTED] wrote: Hi, Is there any other tool that we can use for visualization in tinyos 2.0.2 ? Every help is appreciated. Thanks, Vijayant On Nov 15, 2007 1:06 AM, Ricardo Tiago [EMAIL PROTECTED] wrote: Hi TinyViz isn't available for TinyOS 2.0.2, only for TinyOS 1.x. Ricardo On 11/15/07, Vijayant Bhatnagar [EMAIL PROTECTED] wrote: Hi All, Can anyone help me to install TinyViz on Tinyos 2.0.2. I am a newbie. Any help if greatly appreciated. Thanks, Vijayant. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help