Hi, Is there any limit to the packet size inclusive of all the headers and crc? The CC2420 TEP, says that the max size is 128 bytes according to 802.15.4 spec, but it also says that you can increase the size by changing the TOSH_DATA_LENGTH with a trade-off of potential interferences. Can I assume that excepting the consequences, there is no limit on the packet size?
Regards, Pratibha On Wed, Feb 25, 2009 at 10:43 AM, < [email protected]> wrote: > Send Tinyos-help mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tinyos-help digest..." > > > Today's Topics: > > 1. Re: Development Platform Question ([email protected]) > 2. Re: need help with understanding Tinyos (Urs Hunkeler) > 3. Re: need help with understanding Tinyos (Urs Hunkeler) > 4. Re: Change packet rate (Poonam Hiwal) > 5. Re: LogWrite appendDone failure (error_t error=FAIL) (Parkurm) > 6. Re: 4 bit Link Estimator. (Omprakash Gnawali) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 24 Feb 2009 20:00:28 +0000 > From: [email protected] > Subject: Re: [Tinyos-help] Development Platform Question > To: Janos Sallai <[email protected]>, David Li > <[email protected]>, [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Thank you all for the responses. > > It looks like going for Linux (either virtual or real) is the best option > for development. Hardware doesn't matter as none of the platform provides > SDR capability anyway. > > Another question about tools/source install for TinyOS 2.1: Is there any > one stop shop that ALL necessary packages can be downloaded and installed > at once? Or do I have to go through the 5 or 6 steps to do all these > manually? From what I have read, the one stop option (Linux Live CD) > doesn't currently work. So the next option is a two-step approach using > apt-get. But the "sudo apt-get install tinyos" failed in my case because it > complained about lots of missing dependencies. So my conclusion is you have > to do this manually. Did I miss something? > > Thanks. > > David > > > On Feb 24, 2009 8:30am, Janos Sallai <[email protected]> wrote: > > > 1. Which software platform is better for development in terms of ease > > > > of use? I have seen Windows and Linux. For Linux is it Ubuntu or > > > > Fedora? > > > I suggest that you use a virtual machine image that runs under VMWare > > > Player. Then it does not matter what host operating system you use. > > > This is the easiest way to get started with TinyOS. > > > > > > 2. Which hardware platform is better to use, Mica based or Telos > > > > based? Consider the factor that I might have to customize the radio > > > > waveform (software defined radio), and other high level power control > > > > stuff in the future. > > > Both micaz and telos use the CC2420 802.15.4 compliant transceiver > > > (DSSS/O-QPSK), so you will not be able to experiment with the > > > waveform. > > > > > Janos > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090224/10eab454/attachment-0001.htm > > ------------------------------ > > Message: 2 > Date: Tue, 24 Feb 2009 22:06:04 +0100 > From: Urs Hunkeler <[email protected]> > Subject: Re: [Tinyos-help] need help with understanding Tinyos > To: [email protected] > Cc: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Mohamed, > > TinyOS is an embedded operating system. To save memory space, the > operating system is not installed as a separate software module, but > rather the programs that you want to use are compiled into a single > binary, which then is installed on the motes. In addition, the > development environment (without which you cannot use TinyOS) provides > libraries which run on the base station (computer) and facilitate > communication between the wireless sensor network and applications > running on the base station. > > To summarize: > - TinyOS is primarily installed on the motes (sensor nodes, such as > MicaZ or TelosB). > - TinyOS is not very useful by itself, you need an application to go > with it (e.g. Deluge). > - The development environment for TinyOS provides libraries to be > installed on the base station. > > To get started with TinyOS you might want to read the tutorials: > http://docs.tinyos.net/index.php/TinyOS_Tutorials > > Cheers, > Urs > > > Mohamed H. Seddik wrote: > > Hi ALL > > > > I'd like to know, we install the tinyos (the operating system) on the > mote or the base station ? if not the mote, what we use with the mot ? > > > > or we just use the tinyos for installing the application on the mote. > > > > I am really confused with this. > > > > last quest. is there any codes can be used to monitor the mote battery > level ? > > > > > > > > thanks > > > > > > Mohamed > > > ------------------------------ > > Message: 3 > Date: Tue, 24 Feb 2009 22:32:53 +0100 > From: Urs Hunkeler <[email protected]> > Subject: Re: [Tinyos-help] need help with understanding Tinyos > To: [email protected], tinyos-help_list > <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Mohamed, > > The battery voltage can be measured. I think this functionality should > be provided by a component called VoltageC. However, the battery voltage > is not always a good indicator for the remaining battery capacity. If > you use rechargeable batteries, the voltage tends to remain at a stable > level for a long time and then drops suddenly. In this case you would > need a means of measuring the actual energy consumed and subtract it > from the capacity of the batteries (this is what is for instance done in > laptops). If you search the list you will find a lot of discussions on > this subject. > > Cheers, > Urs > > Mohamed H. Seddik wrote: > > Thansk alot, I really appreciate your answer. > > > > just one more question, Is there any code can be used to monitor the mote > battery level and gives these reads back > > > > thanks again > > > > > > Mohamed > > > > --- On Tue, 2/24/09, Urs Hunkeler <[email protected]> wrote: > > > > From: Urs Hunkeler <[email protected]> > > Subject: Re: [Tinyos-help] need help with understanding Tinyos > > To: [email protected] > > Cc: [email protected] > > Date: Tuesday, February 24, 2009, 11:06 PM > > > > Hi Mohamed, > > > > TinyOS is an embedded operating system. To save memory space, the > operating > > system is not installed as a separate software module, but rather the > programs > > that you want to use are compiled into a single binary, which then is > installed > > on the motes. In addition, the development environment (without which you > cannot > > use TinyOS) provides libraries which run on the base station (computer) > and > > facilitate communication between the wireless sensor network and > applications > > running on the base station. > > > > To summarize: > > - TinyOS is primarily installed on the motes (sensor nodes, such as MicaZ > or > > TelosB). > > - TinyOS is not very useful by itself, you need an application to go with > it > > (e.g. Deluge). > > - The development environment for TinyOS provides libraries to be > installed on > > the base station. > > > > To get started with TinyOS you might want to read the tutorials: > > http://docs.tinyos.net/index.php/TinyOS_Tutorials > > > > Cheers, > > Urs > > > > > > Mohamed H. Seddik wrote: > >> Hi ALL > >> I'd like to know, we install the tinyos (the operating system) on the > > mote or the base station ? if not the mote, what we use with the mot ? > >> or we just use the tinyos for installing the application on the mote. > >> I am really confused with this. > >> last quest. is there any codes can be used to monitor the mote battery > > level ? > >> > >> thanks > >> > >> Mohamed > > > > > > > > > > > > ------------------------------ > > Message: 4 > Date: Tue, 24 Feb 2009 22:17:51 +0000 > From: Poonam Hiwal <[email protected]> > Subject: Re: [Tinyos-help] Change packet rate > To: Jordi P?rez <[email protected]>, > [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > What do you mean by bit rate? You have no. of packets sent per second. The > simpliet way is that you can reduce the packets sent per second. > > Thanks, > Poonam > > On Tue, Feb 24, 2009 at 7:08 PM, Jordi P?rez <[email protected]> wrote: > > > Hi all, > > > > I am working with telosb motes and tinyos 2.x. I made an application that > > send data from mote A to mote B. I want to reduce the bit rate. How can I > do > > it? > > > > Thanks in advanced > > > > Jordi > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090224/2a8c28c6/attachment-0001.htm > > ------------------------------ > > Message: 5 > Date: Tue, 24 Feb 2009 21:29:39 -0500 > From: Parkurm <[email protected]> > Subject: Re: [Tinyos-help] LogWrite appendDone failure (error_t > error=FAIL) > To: "Chieh-Jan (Mike) Liang" <[email protected]>, > [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > That really helped. Thanks!! > > On Tue, Feb 24, 2009 at 2:33 PM, Chieh-Jan (Mike) Liang > <[email protected]>wrote: > > > Try erase the volume first. > > > > Mike > > > > > > On Feb 24, 2009, at 12:13 PM, Parkurm wrote: > > > > Hi, I think I'm experiencing problem in LogWrite. When I try > >> LogWrite.append, when it signals appendDone, the error_t result is > always > >> FAIL. Can anybody point out the possible reasons for a failure in > appendDone > >> event? > >> > >> Here is my source code. When I run it (with the mote connected to the > >> programming board), I get printout like the following: > >> "Sensed data 31,writing to log..not busy, so we can write..appending > >> log..append failed, buf is original, len=0,err=FAIL" > >> > >> > >> #include "Log.h" > >> #include "printf.h" > >> module MyLogWriteP { > >> uses { > >> interface Boot; > >> interface Leds; > >> interface LogWrite; > >> interface Timer<TMilli>; > >> interface Read<uint16_t>; > >> } > >> } > >> implementation { > >> > >> enum { > >> SENSE_INTERVAL = 2000 > >> }; > >> typedef nx_struct logentry_t { > >> nx_uint16_t data; > >> } logentry_t; > >> > >> > >> bool m_busy = FALSE; > >> logentry_t m_entry; > >> > >> event void Boot.booted() { > >> call Timer.startPeriodic(SENSE_INTERVAL); > >> } > >> > >> > >> > >> event void Timer.fired() { > >> call Leds.led0On();//start sensing > >> call Read.read(); > >> } > >> event void Read.readDone(error_t result,uint16_t data) { > >> call Leds.led0Off();//end sensing > >> if (result==SUCCESS) { > >> printf("Sensed data %d,writing to log..",data); > >> m_entry.data=data; > >> if (!m_busy) { > >> m_busy=TRUE; > >> printf("not busy, so we can write.."); > >> call Leds.led1On();//start logging > >> if (call LogWrite.append(&m_entry,sizeof(m_entry))!=SUCCESS) { > >> m_busy=FALSE; > >> printf("Failed to initiate append log\n"); > >> call Leds.led1Off();//log failure > >> } > >> else { > >> printf("appending log.."); > >> } > >> } > >> else { > >> printf("busy, so this data is abandoned\n"); > >> } > >> } > >> } > >> > >> event void LogWrite.eraseDone(error_t err) { > >> printf("Errase Done\n"); > >> } > >> event void LogWrite.appendDone(void* buf, storage_len_t len, > >> bool recordsLost, error_t err) { > >> if (err==SUCCESS) { > >> printf("append success!\n"); > >> call Leds.led2Toggle(); > >> } > >> else { > >> > >> printf("append failed, "); > >> printf("buf %s original, ",buf==&m_entry?"is":"is not"); > >> printf("len=%d,",len); > >> if(err==ESIZE) > >> printf("err=ESIZE\n"); > >> if(err==FAIL) > >> printf("err=FAIL\n"); > >> else > >> printf("err unknown\n"); > >> } > >> call Leds.led1Off(); > >> m_busy=FALSE; > >> } > >> > >> event void LogWrite.syncDone(error_t err) { > >> printf("Does anything happen here?\n"); > >> } > >> > >> } > >> > >> _______________________________________________ > >> Tinyos-help mailing list > >> [email protected] > >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > >> > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090224/d6539bbe/attachment-0001.htm > > ------------------------------ > > Message: 6 > Date: Tue, 24 Feb 2009 18:43:03 -0800 > From: Omprakash Gnawali <[email protected]> > Subject: Re: [Tinyos-help] 4 bit Link Estimator. > To: "M. Onur Ergin" <[email protected]>, TinyOS_Help > <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Feb 19, 2009 at 1:16 PM, M. Onur Ergin <[email protected]> > wrote: > > Hi! Thank you for the quick reply.. > > CTP is working and the packets are delivered successfully. I am also > > printing the readings to the console using the Printf of tossim. Those > > (constant values from 8 to 25) are the return values of getLinkQuality > for > > sure. In the TCP, you've written that these values should be between 0 > and > > 255. Is 255 the best quality? And, since Sept 2008, have you updated the > > implementation? May be I am implementing on an old version. > > The return values are EETX. Does this help explain those small numbers? > > > I've back-traced the CTP code. As far as I see, all packet traffic of CTP > > is passing through 4bitle LinkEstimator, isn't it? > > Yes, the routing beacons pass through the link estimator. > > - om_p > > > ------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > End of Tinyos-help Digest, Vol 70, Issue 74 > ******************************************* >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
