Re: [Tinyos-help] upgrading code from tinyos1.x - 2.x
Hi, The code has been upgraded. The tinyos 2.x nesc doc and the following links helped in the upgrade. http://www.tinyos.net/tinyos-2.x/doc/html/porting.html http://enl.usc.edu/~jpaek/porting_tinyos_1_to_2.html Thanks, Pratibha ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] CTP TEP 123
Hi! As it is mentionned in tep 123 CTP is designed for relatively low traffic rates? First question: data rate isn't it? Second why ? which are the restrictions that cause that ? Thanks, ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Re : LQI measurments with Tmote-Sky sensor?
- Message d'origine De : Philip Levis [EMAIL PROTECTED] À : [EMAIL PROTECTED] Cc : tinyos-help@millennium.berkeley.edu Envoyé le : Vendredi, 5 Septembre 2008, 4h05mn 28s Objet : Re: [Tinyos-help] LQI measurments with Tmote-Sky sensor? On Sep 4, 2008, at 9:45 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'am using Tmote Sky sensors and I need some help about LQI measurments. To calculate LQI values I use Delta application with the trawler tool. I' have some remarks. with a maximum of power transmission (0dbm) and distance of 3 meters, I found stronge values. However, in the literature we speak about a value between 50 and 110 then I' have these questions: 1)- why values upper than 110 and lower then 50 even under perfect conditions. 2)- Why values are very large (few thousands)? However in the standard 802.15.4 it is mentioned that the LQI value is an integer between 0 and 255 (on 8bits) 3)- Since the LQI is calculated when a packet is received, how about the packet when the value is higher than 110 or especially 255. (is it droped, is a bad packet, is it normal to calculate to calculate a very high value (thousands))? 4)- is there an other mean to calculate LQI values without using Trawler? is a manner to debug this directly in a console? 5)- Are the values on the Trawler tool the true calculated values of LQI?. thanks for your help in advance. Denzel The values Delta is reporting are probably not raw LQI readings from the radio, rather those values put through MultihopLQI's link quality function: uint16_t adjustLQI(uint8_t val) { uint16_t result = (80 - (val - 50)); result = (((result * result) 3) * result) 3; return result; } Phil In moteiv/tos/lib/MultiHopLQI/MultiHopLQIM.nc, I found this function : uint16_t correlation(uint8_t v) { uint16_t c = (80 - (v - 40)); c = (((c * c) 3) * c) 3; return c; } someone knows why the difference between the two functions AdjustLQI and correlation? . (v-50)); vs. . (v-40)); thanks in ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] CC2420ActiveMessageC and CC2420CsmaC dependency loop?
Hi, I am confused about the wiring of these two components. CC2420ActiveMessageC uses CC2420CsmaC and CC2420CsmaC uses CC2420ActiveMessageC I wonder how this fits into the network layer architecture? I mean the second case for me means that a lower network protocol makes use of an upper one. Is this wrong? Thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] DSN sequence number in cc2420_header_t
Hello, we have the radio stack where we have the UniqueSend component. This uses the DSN field. Now what if I renounce on the uniqueness? The field DNS is most likely still sent inside the header. So why this layer structure of the radio stack if the message formats are not layered? Actually I should have a format for each layer, or not? Thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Incorporating Additional Modules into TinyOS
Hello. I have an additional module (.extra?) that I would like to incorporate into my TinyOS build. How is this done? Is there something I need to add to the Makefile? Thanks, -Jim ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Programming micaz using MoteConfig problem
Goodmorning I installed moteconfig on XP. I try to program my micaz (mib520 interface board) when I click on program to inject the code nothing is appening just a wait mouse cursor. When I change the com port I have the following message : Can not connect to Mote correctly. Please check your Mote. or the same behaviour (I tried the 4 com port). I also tried it in cygwin with the blink apps : make micaz install mib520,/dev/ttyS0 (for the com1) but I is blocked on the warning : Converting Cygwin /dev/sttyS0 device to Windows device. What can I do, please? best regards ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] potential micaz flash issues
A fix has been posted to the list: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-January/030255.html Most probably, the micazs you have come with the same revision of the at45db chip as the iris motes. Using the files from tinyos-2.x\tos\platforms\iris\chips\at45db might work, as well. Janos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Rogerio Barreiros d'Almeida Pereira Sent: Wednesday, July 23, 2008 9:20 AM To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] potential micaz flash issues Hi, We have bought 10 MicaZ motes that we received in April 2007. We just found out that the flash does not work in most of them. I fetched the latest TinyOS2 version from the CVS repository and the same happens: the flash applications do not work at all. For instance: tinyos-2.x/apps/tutorials/BlinkConfig or tinyos-2.x/apps/tests/storage/Config do not light any led at all. These applications work for other older MicaZ motes we have. Would it be possible to get a working version of TinyOS for the newer MicaZ motes? By when? Best regards, Paulo Rogério Pereira Philip Levis: /On Mar 5, 2008, at 10:38 AM, Janos Sallai wrote: // // I have recently learned that newer micaz motes and OEM modules use // a newer version of the at45db, which is not fully backwards // compatible with the old version. // // // // From my experiences with the iris mote, which has the new version // (at45db041d), the micaz code would not work with the new chip. // Could anybody verify this by running the flash test apps on a // recently purchased micaz? // // //Is there any way for software to detect which chip a node has? //This is going to be pretty hairy, if you have to include both chip //implementations and switch between then at runtime. Or are the //differences trivial? It would be nice to avoid the 433/900MHz mica2 //debacle. / Yes, it is possible to programmatically detect which chip the mote has. I've just skimmed the manuals, and it appears that it is possible to come up with a single piece of code that works on both revisions, so we wouldn't need to branch based on the chip ID. The problem is that with the older version it was possible to check if the chip is ready by toggling the clock and checking a pin. This feature was removed from the at45db041d from revision G (after February, 2007). I think that checking for ready can be done by reading the status register on all at45db versions. Before touching the code, could somebody check if this problem exists at all? Phil ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.15/1649 - Release Date: 9/3/2008 4:13 PM ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc
On Friday 05 September 2008 18:35:14 you wrote: Tanks for you answer. If i had understand it I can simulate a base station with tossim!!? I 've written a application in which N sensors send messages to a base station. But my base station is a sensor with a particular node id and which don't have the same behaviour than the others. So my sensors send messages to the base station via wireless waves. I wanted to know if I can simulate a serial communication beetween the sensors and the base station so that I have a serial module which emulate a serial link. thanks tossim can run only one tinyos application at time, on as many as you want simulated nodes (motes) but nothing else. in tossim you can simulate communication directly sending fake radio message. so if you want to simulate the base station app you need to setup that way: put some dbg msg in the base station app compile it for tossim build a tossim execution file in python or in c++ in which you inject randomly radio message (see http://docs.tinyos.net/index.php/TOSSIM#Injecting_Packets) otherwise, there's tossim-live, that's a modified tossim version, not well documented that can do a lot more things like run different application, but i can't swear it. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] 802.15.4 TinyOS Qs
Hello. On lines 45 through 59 of .../tinyos-2.x/tos/chips/cc2420/CC2420.h the CC2420 header is specified: typedef nx_struct cc2420_header_t { nxle_uint8_t length; nxle_uint16_t fcf; // Frame Control (Field) nxle_uint8_t dsn; nxle_uint16_t destpan; // Destination PAN ID nxle_uint16_t dest; // Destination address nxle_uint16_t src; // Source address /** I-Frame 6LowPAN interoperability byte */ #ifdef CC2420_IFRAME_TYPE nxle_uint8_t network; // I-frame (interoperability frame) byte #endif nxle_uint8_t type; // Packet type } cc2420_header_t; Can someone please clarify for me what the length and dsn fields are? Is dsn Device Sequence Number? How is length used? Can the type field be anything? For example, if I wanted to add additional RF commands to the stack, could I make my own definitions using this type field to specify each, or is it a static field? Where is the maximum payload size specified? Is it TOSH_DATA_LENGTH (line 96 of CC2420.h)? Thanks, -Jim ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] 802.15.4 TinyOS Qs
Length = length of the header + payload of the packet, minus the size of the length byte itself (1). This is what allows for variable length packets. DSN = Data Sequence Number, a number incremented for each packet sent by a particular node. This is used in acknowledging that packet, and also filtering out duplicate packets. Type = TinyOS AM type. When you create a new AMSenderC(AM_WHATEVER), the AM_WHATEVER definition is the type of packet. TOSH_DATA_LENGTH defaults to 28, it represents the maximum size of the payload portion of the packet, and is specified in the tos/types/message.h file. All of these fields will be filled in automatically by the radio stack when you attempt to send a message. -David From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Fell Sent: Friday, September 05, 2008 8:45 AM To: tinyos-help@millennium.berkeley.edu Cc: Jim Fell Subject: [Tinyos-help] 802.15.4 TinyOS Qs Hello. On lines 45 through 59 of ./tinyos-2.x/tos/chips/cc2420/CC2420.h the CC2420 header is specified: typedef nx_struct cc2420_header_t { nxle_uint8_t length; nxle_uint16_t fcf; // Frame Control (Field) nxle_uint8_t dsn; nxle_uint16_t destpan; // Destination PAN ID nxle_uint16_t dest; // Destination address nxle_uint16_t src; // Source address /** I-Frame 6LowPAN interoperability byte */ #ifdef CC2420_IFRAME_TYPE nxle_uint8_t network; // I-frame (interoperability frame) byte #endif nxle_uint8_t type; // Packet type } cc2420_header_t; Can someone please clarify for me what the length and dsn fields are? Is dsn Device Sequence Number? How is length used? Can the type field be anything? For example, if I wanted to add additional RF commands to the stack, could I make my own definitions using this type field to specify each, or is it a static field? Where is the maximum payload size specified? Is it TOSH_DATA_LENGTH (line 96 of CC2420.h)? Thanks, -Jim ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc
i forgot to say that after composing the 2 apps together you must run a simulation using this mixapp for your nodes. (the logic in MixC will ensure that you'll run only one base station and n sensor) On Friday 05 September 2008 18:35:14 you wrote: Tanks for you answer. If i had understand it I can simulate a base station with tossim!!? I 've written a application in which N sensors send messages to a base station. But my base station is a sensor with a particular node id and which don't have the same behaviour than the others. So my sensors send messages to the base station via wireless waves. I wanted to know if I can simulate a serial communication beetween the sensors and the base station so that I have a serial module which emulate a serial link. thanks tossim can run only one tinyos application at time, on as many as you want simulated nodes (motes) but nothing else. in tossim you can simulate communication directly sending fake radio message. so if you want to simulate the base station app you need to setup that way: put some dbg msg in the base station app compile it for tossim build a tossim execution file in python or in c++ in which you inject randomly radio message (see http://docs.tinyos.net/index.php/TOSSIM#Injecting_Packets) otherwise, there's tossim-live, that's a modified tossim version, not well documented that can do a lot more things like run different application, but i can't swear it. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Incorporating Additional Modules into TinyOS
If it's named yadyayda.nc in any directory that is searched during compile (the main app or try a PFLAGS++-v to see them all), and somehow referenced from the top config file it'll get included. If it's external 'C' code search this list for ways to include it. MS Jim Fell wrote: Hello. I have an additional module (.extra?) that I would like to incorporate into my TinyOS build. How is this done? Is there something I need to add to the Makefile? Thanks, -Jim ___ 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] IPV6 listener problem ./bootstrap does not work
Antonio, try to install autoconf and automake packages. Best regards Andrey antonio gonga wrote: Hey all, I tried to compile the listener in order to generate the libmote.a, but what i get is: ./bootstrap: line 2: aclocal: command not found ./bootstrap: line 3: autoheader: command not found ./bootstrap: line 4: autoconf: command not found ./bootstrap: line 5: automake: command not found bellow is my trace... Can someone help me please? [EMAIL PROTECTED]:/opt/tinyos-2.1.0/support/sdk/c/sf$ ls autoconf.h Makefile.am README serialsource.h sfsource.c bootstrap message.c seriallisten.c sf.c sfsource.h build.xml message.h serialsend.c sflisten.c configure.ac prettylisten.c serialsource.c sfsend.c [EMAIL PROTECTED]:/opt/tinyos-2.1.0/support/sdk/c/sf$ ./bootstrap ./bootstrap: line 2: aclocal: command not found ./bootstrap: line 3: autoheader: command not found ./bootstrap: line 4: autoconf: command not found ./bootstrap: line 5: automake: command not found _ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE ___ 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] CTP TEP 123
On Sep 5, 2008, at 3:12 AM, Nahr ... wrote: Hi! As it is mentionned in tep 123 CTP is designed for relatively low traffic rates? First question: data rate isn't it? Data says something about the contents of packets. E.g., one could imagine sending CTP packets with no payload as heartbeats. What's the data rate then? Second why ? which are the restrictions that cause that ? It doesn't have congestion control. Phil ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] help-tossim module
make micaz sim TOSSIM.py is generated when you build the application for Tossim/T2. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tos-set-symbols
I swear I answered this exact same question before; is the question homework for a class? tos-set-symbols can only list/set symbols which, well, reside in the symbol table. enum{ symbol_1=1, symbol_2=2 }; -- Nope, enums are compile-time constructs. The names never make it into the binary. #define symbol_4 10 -- Nope, macros are replaced by the CPP. The names never make it to the actual C compilation. uint8_t symbol_3=10; -- Maybe: In the latter case, symbol_3 MUST: 1) be defined outside of any function; this ensures that it will exist in the symbol table 2) must be used in a non-static way so that it is not optimized out during compilation [There might also be some nifty compiler flag; don't ask me what it would be.] HTH, Paul ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS Question
nesC (.nc) files are just text. I would recommend using insert favorite editor that understands C syntax here to edit the files and using the provided/standard make support to build the TinyOS code. This approach can be used for any of the distributed applications without the use of Eclipse or a specific plug-in. After understanding how the basic, well-documented, build system works and how nesC works, moving to another environment which inherently tried to hide details may be easier. HTH, Paul ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc
To communicate between a BaseStation and an external application, look at Tossim Live by Chad Metcalf (this is distributed as sim-sf in TinyOS 2.1 and later versions o the TinyOS 2.0.2 CVS, but not the original 2.0.2 package). It provides an SerialActiveMessageC(mote)-SF(simulation-application) interface and is a good way of simulating real-world communication between the WSN and external application. As far as using multiple applications, I have used variations of dynamic selection based upon De-MonHell's approach successfuly. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] upgrading code from tinyos1.x - 2.x
Make sure all required hardware support exists in TinyOS 2.x. Otherwise, enjoy the upgrade, 2.x is significantly better than 1.x, see: http://enl.usc.edu/~jpaek/porting_tinyos_1_to_2.html for some useful tips. In short, just read up on T2, analyze the differences in components and approaches (reading the TEPs, especially wrt HAL/HIL and events) and dive in. HTH, Paul ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS Help
By default, very simple ones (although there are extensions for threading or adding priorities and the like). Very grossly speaking, TinyOS is a loop that executes tasks, posted on a queue, that can only be interrupted only be interrupts (such as hardware timers). If there are no tasks, TinyOS can sleep until it receives an interrupt, in which case it needs to potentially process the task queue again. Mapping? What mapping? Take one down, pass it around, 99 tasks of code on the wall... (T2 operates differently than T1 and uses per-task buckets, but the same principles apply). You can see all the details (albeit it takes a bit of sifting) simply by viewing the generated app.c source file. HTH, Paul ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] DAC TinyOS-2.x
(Request entirely too unclear: any DAC? The XYZ DAC on Q? Just talking about the ADC interface or...?) TinyOS 2.x uses the Read and ReadStream (??) interfaces. Hardware modules should provide these. HTH, Paul ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Help with a program please!
Compare both lines mentioned (error and source). Hint: use different names, if they are truly different. Otherwise, use the same-same. HTH, Paul ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Installing a nesC compiler
I just installed Kubuntu (the newest version) on my laptop, and now I'm trying to install a nesC compiler onto it. I've used Linux before, but I wouldn't say I'm proficient at it. First, I tried searching in the Adept Package Manager for anything to do with tinyos or nesc, but there wasn't anything. I found the website 5secondfuse.com and followed the instructions there to install TinyOS: added a lot of repositories to /etc/apt/sources.list, then typed sudo apt-get install cvs subversion autoconf automake1.9 python-dev sudo apt-get install g++ g++-3.4 gperf swig sun-java5-jdk graphviz alien fakeroot These all worked. Then, the next line, sudo apt-get install tinyos-msp430 tinyos-avr told me that package tinyos-msp430 couldn't be found. I tried the line without tinyos-msp430, and it said tinyos-avr couldn't be found either. I remembered seeing an e-mail to the list regarding a similar problem, so I found the e-mail and did what it said. I can't seem to find the e-mail right now, but it included adding one line to sources.list which was similar to deb http://tinyos.stanford.edu/tinyos/dists/ubuntu feisty main and then trying to install a package like libc-tinyos-msp430. This package couldn't be found either. Finally, I tried to download the source code for a nesC compiler off of sourceforge.com. The instructions in the INSTALL file said to type ./configure make and then some more stuff, but my computer refused to make, saying something like Error: C compiler cannot create executables. If anyone could help me get around any of these problems, it would be greatly appreciated. Thanks, -Kyle ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] msp430 warning
Hi All, Compiling my application, I have a strange warning: /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:66:2: warning: #warning Accessing TimerA for ADC12 This is the only warning/error I have. Have you any suggestions? I'm using TinyOS 2.1, and with the previous version I hadn't this warning. Thanks a lot, Antonio -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Rivoluzione tecnologica e il fax va in soffitta...oggi i tuoi fax li ricevi e li invii dalla tua email! Scopri come cliccando qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8146d=5-9 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Installing a nesC compiler
you want to use hardy. In my /etc/apt/sources.list I have the following line: deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main Give that a try. eric On Fri, Sep 5, 2008 at 11:58 AM, [EMAIL PROTECTED] wrote: I just installed Kubuntu (the newest version) on my laptop, and now I'm trying to install a nesC compiler onto it. I've used Linux before, but I wouldn't say I'm proficient at it. First, I tried searching in the Adept Package Manager for anything to do with tinyos or nesc, but there wasn't anything. I found the website 5secondfuse.com and followed the instructions there to install TinyOS: added a lot of repositories to /etc/apt/sources.list, then typed sudo apt-get install cvs subversion autoconf automake1.9 python-dev sudo apt-get install g++ g++-3.4 gperf swig sun-java5-jdk graphviz alien fakeroot These all worked. Then, the next line, sudo apt-get install tinyos-msp430 tinyos-avr told me that package tinyos-msp430 couldn't be found. I tried the line without tinyos-msp430, and it said tinyos-avr couldn't be found either. I remembered seeing an e-mail to the list regarding a similar problem, so I found the e-mail and did what it said. I can't seem to find the e-mail right now, but it included adding one line to sources.list which was similar to deb http://tinyos.stanford.edu/tinyos/dists/ubuntu feisty main and then trying to install a package like libc-tinyos-msp430. This package couldn't be found either. Finally, I tried to download the source code for a nesC compiler off of sourceforge.com. The instructions in the INSTALL file said to type ./configure make and then some more stuff, but my computer refused to make, saying something like Error: C compiler cannot create executables. If anyone could help me get around any of these problems, it would be greatly appreciated. Thanks, -Kyle ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher Autonomous Systems Lab Jack Baskin School of Engineering UCSC ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] msp430 warning
In the main tinyos 2.1 tree: ./tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:66:#warning Accessing TimerA for ADC12 The intent is to warn you that TimerA is being used by the Adc12 module mentioned. It is just giving you a heads up in case you want to use TimerA for something else too. Do you know what hardware bits you are using on your project? eric 2008/9/5 Antonio [EMAIL PROTECTED] Hi All, Compiling my application, I have a strange warning: /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:66:2: warning: #warning Accessing TimerA for ADC12 This is the only warning/error I have. Have you any suggestions? I'm using TinyOS 2.1, and with the previous version I hadn't this warning. Thanks a lot, Antonio Email.it, the professional e-mail, gratis per te:clicca quihttp://www.email.it/cgi-bin/start?sid=3 Sponsor: Rivoluzione tecnologica e il fax va in soffitta...oggi i tuoi fax li ricevi e li invii dalla tua email! Scopri come cliccando qui Clicca qui http://adv.email.it/cgi-bin/foclick.cgi?mid=8146d=5-9 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher Autonomous Systems Lab Jack Baskin School of Engineering UCSC ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] 802.15.4 TinyOS Qs
A suggestion: Can someone with write access to the tree add some comments to this effect to the source code? eric On Fri, Sep 5, 2008 at 8:55 AM, David Moss [EMAIL PROTECTED] wrote: Length = length of the header + payload of the packet, minus the size of the length byte itself (1). This is what allows for variable length packets. DSN = Data Sequence Number, a number incremented for each packet sent by a particular node. This is used in acknowledging that packet, and also filtering out duplicate packets. Type = TinyOS AM type. When you create a new AMSenderC(AM_WHATEVER), the AM_WHATEVER definition is the type of packet. TOSH_DATA_LENGTH defaults to 28, it represents the maximum size of the payload portion of the packet, and is specified in the tos/types/message.h file. All of these fields will be filled in automatically by the radio stack when you attempt to send a message. -David *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jim Fell *Sent:* Friday, September 05, 2008 8:45 AM *To:* tinyos-help@millennium.berkeley.edu *Cc:* Jim Fell *Subject:* [Tinyos-help] 802.15.4 TinyOS Qs Hello. On lines 45 through 59 of …/tinyos-2.x/tos/chips/cc2420/CC2420.h the CC2420 header is specified: typedef nx_struct cc2420_header_t { nxle_uint8_t length; nxle_uint16_t fcf; // Frame Control (Field) nxle_uint8_t dsn; nxle_uint16_t destpan; // Destination PAN ID nxle_uint16_t dest; // Destination address nxle_uint16_t src; // Source address /** I-Frame 6LowPAN interoperability byte */ #ifdef CC2420_IFRAME_TYPE nxle_uint8_t network; // I-frame (interoperability frame) byte #endif nxle_uint8_t type; // Packet type } cc2420_header_t; Can someone please clarify for me what the length and dsn fields are? Is dsn Device Sequence Number? How is length used? Can the type field be anything? For example, if I wanted to add additional RF commands to the stack, could I make my own definitions using this type field to specify each, or is it a static field? Where is the maximum payload size specified? Is it TOSH_DATA_LENGTH (line 96 of CC2420.h)? Thanks, -Jim ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher Autonomous Systems Lab Jack Baskin School of Engineering UCSC ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Installing a nesC compiler
These instructions are out of date. Please follow instructions from the official TinyOS documentation wiki. http://docs.tinyos.net/index.php/Main_Page Kevin On Fri, Sep 5, 2008 at 11:58 AM, [EMAIL PROTECTED] wrote: I just installed Kubuntu (the newest version) on my laptop, and now I'm trying to install a nesC compiler onto it. I've used Linux before, but I wouldn't say I'm proficient at it. First, I tried searching in the Adept Package Manager for anything to do with tinyos or nesc, but there wasn't anything. I found the website 5secondfuse.com and followed the instructions there to install TinyOS: added a lot of repositories to /etc/apt/sources.list, then typed sudo apt-get install cvs subversion autoconf automake1.9 python-dev sudo apt-get install g++ g++-3.4 gperf swig sun-java5-jdk graphviz alien fakeroot These all worked. Then, the next line, sudo apt-get install tinyos-msp430 tinyos-avr told me that package tinyos-msp430 couldn't be found. I tried the line without tinyos-msp430, and it said tinyos-avr couldn't be found either. I remembered seeing an e-mail to the list regarding a similar problem, so I found the e-mail and did what it said. I can't seem to find the e-mail right now, but it included adding one line to sources.list which was similar to deb http://tinyos.stanford.edu/tinyos/dists/ubuntu feisty main and then trying to install a package like libc-tinyos-msp430. This package couldn't be found either. Finally, I tried to download the source code for a nesC compiler off of sourceforge.com. The instructions in the INSTALL file said to type ./configure make and then some more stuff, but my computer refused to make, saying something like Error: C compiler cannot create executables. If anyone could help me get around any of these problems, it would be greatly appreciated. Thanks, -Kyle ___ 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] 802.15.4 TinyOS Qs
On Sep 5, 2008, at 12:56 PM, Eric Decker wrote: A suggestion: Can someone with write access to the tree add some comments to this effect to the source code? eric On Fri, Sep 5, 2008 at 8:55 AM, David Moss [EMAIL PROTECTED] wrote: Length = length of the header + payload of the packet, minus the size of the length byte itself (1). This is what allows for variable length packets. Well, this is the 802.15.4 specification, so... Phil ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] CTP TEP 123
Thanks for the clarification professor! Nahr Elk 2008/9/5, Philip Levis [EMAIL PROTECTED]: On Sep 5, 2008, at 3:12 AM, Nahr ... wrote: Hi! As it is mentionned in tep 123 CTP is designed for relatively low traffic rates? First question: data rate isn't it? Data says something about the contents of packets. E.g., one could imagine sending CTP packets with no payload as heartbeats. What's the data rate then? Second why ? which are the restrictions that cause that ? It doesn't have congestion control. Phil ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help