Re: [Tinyos-help] simulation of ctp in tinyos 2.1.1

2012-05-18 Thread Omprakash Gnawali
You might want to look at TOSSIM tutorial on tinyos.net and
apps/tests/TestNetwork/test.py to get ideas on how to proceed.

- om_p

On Thu, May 17, 2012 at 10:11 AM, jeni john jenij...@rediffmail.com wrote:

 How can I simulate ctp protocol of tinyos-2.1.1/tos/lib/ctp in tossim. I
 have successfully run
 TestDissemination of apps/tests and also on process of simulating
 TestNetwork of apps/tests. I am
 really confused on how to write python code for tossim to simulate ctp, as
 I have to show
 simulation of ctp protocol at the earliest.

 Please do help me as early as possible.

 thanking you, in advance
 -jeni

 http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?
 Follow *Rediff Deal ho 
 jaye!http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=rediffmailsignature___cmp=signaturelnk=rediffmailsignaturenewservice=deals
 * to get exciting offers in your city everyday.
 ___
 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] Help: MultiHop Routing on TelosB motes

2012-05-18 Thread Omprakash Gnawali
You might want to check out various network protocols in TinyOS 2.x.
Here is a good place to start:
http://docs.tinyos.net/tinywiki/index.php/TinyOS_Tutorials

- om_p

On Thu, May 17, 2012 at 5:26 AM, Ravikiran Dhulipala
dhulipala.ravikira...@gmail.com wrote:
 While trying to implement a multihop routine on telosb motes with the code
 from this source

 http://www.tinyos.net/tinyos-1.x/tos/lib/MultiHopLQI/

 i get this error when i try to compile the code:

 $ make telosb
 Makefile:4: /Makefile.in: No such file or directory
 make: *** No rule to make target '/Makefile.in'. Stop.

 I'm using tinyos-1.x on windows XP.

 Please point me in the right direction.

 Thanks a lot!

 Ravi

 PS: Anybody who has successfully implemented a multihop routine on TelosB
 motes, please help me out with this.
 ___
 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] how to measure PRR

2012-05-18 Thread Omprakash Gnawali
You can look at CTP example. It computes PRR to assess the quality of
links. You can find an example that uses CTP in
apps/tests/TestNetwork. There is a test.py script in that directory.

- om_p

On Thu, May 10, 2012 at 3:25 AM, Hamza Tayeb hamza.ta...@yahoo.fr wrote:
 Hi



 i want to realize a simulation through TOSSIM that allow to calculate PRR
 and i don't know what example to take. could you give some advices please

 any help would be appreciated
 Regards

 ___
 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] error: avr/pgmspace.h: No such file or directory

2012-05-18 Thread Hanen Rekik
Hi,
I use TOS 2.1.1 and I am trying to read/write flash memory in tinyos
application.
I included the following head in my source: #include avr/pgmspace.h
then, to store the data in flash:
unsigned char number[] PROGMEM = { 31,   0,   6, 107,   2,   6, 116}
But I have this error : error: avr/pgmspace.h: No such file or directory.
How should I write the code?
Please help.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help