Re: [Tinyos-help] topology generation

2010-09-15 Thread Philip Levis

On Sep 6, 2010, at 8:23 AM, mojtaba raznahan wrote:

 
 This is my problem too!!
 
 fix the transmission range of each node to 40m only
 
 Any help would be appreciated.
 
 On Mon, Sep 6, 2010 at 12:37 AM, avinash chaurasia 
 avinash.aviank2...@gmail.com wrote:
 hello all,
 I have to generate topology such that, there are nine grids in a rectangle 
 and each grid contains 100 nodes distributed in random fashion  if i do it 
 randomly, then i have to do it for 900 nodes. please help me. also i dont 
 understand how to calculate db in order to fix the transmission range of each 
 node to 40m only. thanks in advance.
 
 Thanks
 Avinash Kumar Chaurasia
 Department of Computer Science
 IIT Kanpur, India

Wireless radios don't behave in this way. Any results you obtain from such a 
network has no relevance to reality and is purely of theoretical interest; so 
why not just use a much simpler simulator or programming model than TinyOS?

Phil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] topology generation

2010-09-06 Thread mojtaba raznahan
This is my problem too!!

*fix the transmission range of each node to 40m only*

Any help would be appreciated.

On Mon, Sep 6, 2010 at 12:37 AM, avinash chaurasia 
avinash.aviank2...@gmail.com wrote:

 hello all,
 I have to generate topology such that, there are nine grids in a rectangle
 and each grid contains 100 nodes distributed in random fashion  if i do it
 randomly, then i have to do it for 900 nodes. please help me. also i dont
 understand how to calculate db in order to fix the transmission range of
 each node to 40m only. thanks in advance.

 Thanks
 Avinash Kumar Chaurasia
 Department of Computer Science
 IIT Kanpur, India

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Mojtaba Raznahan
BS of Computer engineering
TMU university
www.raznahan.com
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] topology generation

2010-09-06 Thread avinash chaurasia
first part i automate in C, but i still dont understand db part.
Thanks
Avinash Kumar Chaurasia
Department of Computer Science
IIT Kanpur, India


On Mon, Sep 6, 2010 at 8:53 PM, mojtaba raznahan mojtaba.razna...@gmail.com
 wrote:


 This is my problem too!!


 *fix the transmission range of each node to 40m only*

 Any help would be appreciated.

 On Mon, Sep 6, 2010 at 12:37 AM, avinash chaurasia 
 avinash.aviank2...@gmail.com wrote:

 hello all,
 I have to generate topology such that, there are nine grids in a rectangle
 and each grid contains 100 nodes distributed in random fashion  if i do it
 randomly, then i have to do it for 900 nodes. please help me. also i dont
 understand how to calculate db in order to fix the transmission range of
 each node to 40m only. thanks in advance.

 Thanks
 Avinash Kumar Chaurasia
 Department of Computer Science
 IIT Kanpur, India

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




 --
 Mojtaba Raznahan
 BS of Computer engineering
 TMU university
 www.raznahan.com

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] topology generation

2010-09-05 Thread avinash chaurasia
hello all,
I have to generate topology such that, there are nine grids in a rectangle
and each grid contains 100 nodes distributed in random fashion  if i do it
randomly, then i have to do it for 900 nodes. please help me. also i dont
understand how to calculate db in order to fix the transmission range of
each node to 40m only. thanks in advance.

Thanks
Avinash Kumar Chaurasia
Department of Computer Science
IIT Kanpur, India
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] topology creation and sending data

2009-06-08 Thread Swetha R
Hello,

  I want to create this topology and then store this routing information in 
every node. I need to send data from node 2 to all other nodes based on least 
hop count. I want to check for the least hop count in the routing table of 
node2 and send data to nodes with hop count of 1 and then hop count of 2 so 
on...I want to simulate this in TOSSIM. Please help me out in giving me idea 
how i can do this ? Can i store this routing information in an array and then 
retrieve the destination ? and send the data to the respective destination.Hope 
this is clear .Please help me out in coding of this scenario in nesC.
For Example:3 by 3 grid
0   1   2 
3   4   5 
6   7   8
Now if i want to add the routing table information into node2 and so on for all 
nodes too. how can i do it ? At Node2
Destination   Nexthop   hopcount
 012
 111
 200
 313
 412
 551 
 614 
 713 
 85   2 


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] topology file

2009-01-21 Thread Adeel Akhtar
-- Hi All
  how can make a topology file and run the simulation with it in
tinyos1.x


Thanks  Best Regards

Adeel Akhtar
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-07-04 Thread drirawmailbox-tos
Hi all, 
Can some one tell me how to specify node coordinates (x, y) in TOSSIM 2.x?
regards;
Wassim Drira

Hi Tal,

The LinkLayerModel application generates two files, topology.out and
linkgain.out.
I don't know exactly what to do with the values.

1) The snippet of Python code create nodes:
f = open(topology.out, r)
lines = f.readlines()
for line in lines:
  s = line.split()
  if (len(s)  0):
m = t.getNode(s[0])
Here I create nodes with the IDs in the file, but where should I set
the dimension x/y? Which method should I use for this?

2) The snippet of Python code add a link from src to dest with gain.:
f = open(linkgain.out, r)
lines = f.readlines()
for line in lines:
  s = line.split()
  if (len(s)  0):
if (s[0] == gain):
   r.add(int(s[1]), int(s[2]), float(s[3]))
Here I understood.

3) The snippet of Python code to create the noise model. Is it correct?
f = open(linkgain.out, r)
lines = f.readlines()
for line in lines:
  s = line.split()
  if (len(s)  0):
if (s[0] == noise):
  t.getNode(int(s[1])).addNoiseTraceReading(int(s[2])l)
  t.getNode(int(s[1])).addNoiseTraceReading(int(s[3])l)
for i in range(0, 16):
t.getNode(i).createNoiseModel()

Thanks and best regards



On Fri, Jun 6, 2008 at 3:12 PM, Tal  Rusak [EMAIL PROTECTED] wrote:
 Here is an example of importing a topology file from the tutorials:
 f = open(15-15-tight-mica2-grid.txt, r)

 lines = f.readlines()
 for line in lines:
  s = line.split()
  if (len(s)  0):
if (s[0] == gain):
  r.add(int(s[1]), int(s[2]), float(s[3]))
 (http://docs.tinyos.net/index.php/TOSSIM)

 Tal

 I understood how to generate the topology file, my doubt now is:
 Which command should I use to input these values?


 On Fri, Jun 6, 2008 at 11:21 AM, Daniel Pereira [EMAIL PROTECTED]
 wrote:
 I didn't understand how to configure the network topology for TOSSIM.
 The snippet of Python code create seven nodes.
 for i in range(0, 7):
t.getNode(i).createNoiseModel()

 How can I relate this nodes with the network topology?
 Should I set the Channel, Radio and Topology parameters in the Python?

 Thanks all




 On Thu, Jun 5, 2008 at 12:14 PM, Tal  Rusak [EMAIL PROTECTED] wrote:
 Hi,
 There are two components to the link model in TOSSIM 2.0.2: noise
 and
 gain. Noise is the external interference and noise from sources other
 than the TinyOS network, which gain is the strength at which nodes in
 the network can hear packets that other nodes send. The probability
 of receiving a packet is given by the signal to noise ratio, which is
 gain - noise in the dB scale considered here. This is explained in
 http://sing.stanford.edu/pubs/ipsn07-noise.pdf
 TOSSIM currently considers that gain is constant per node pair, and
 network topologies can be constructed using the tool discussed at
 http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/usc-topologies.html
 The TOSSIM tutorial shows how to use python to parse this tool's output
 and to input the gain values to the simulator. Search for topo.txt in
 this entry:
 http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network
 Regarding the noise values, you can collect noise samples from your
 environment using
 tinyos-2.x-contrib/stanford-sing/apps/RssiSample
 To create an artificial low noise environment, you can create a
 text file with very low values. If your values in the noise file are
 all at least 14 below the values used for gain, then all packets are
 received. Just be sure to have at least 100 entries in the file.

 Thanks,
 Tal

 Hello

 How can I use a topology file in TOSSIM
 (http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/usc-topologies.html)
 once I have the .out
 files?

 The Tossim wiki show how to integrate a text file noise model like
 heavy-meyer but I didn't find how to use this outpouts.

 best 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





nk



  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Topology

2008-06-27 Thread ndessart
hello

I can I set nodes topology in tossim?

Which function I must use?


thanks all

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Topology

2008-06-27 Thread Tal Rusak
 TOSSIM topology is represented by varying the noise and gain levels
of the links between radios. How to do this is discussed in
http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network

Thanks,
Tal

 hello

 I can I set nodes topology in tossim?

 Which function I must use?


 thanks all

 ___
 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] topology and linkgain.out

2008-06-25 Thread Tal Rusak
Hi,
 I believe that the topology generation tool generates one value of
noise to be consistent with an older version of TOSSIM.
 The way the current version is intended to be used is that you
collect a noise trace in your environment (at least 100 samples long)
and then input this trace into the simulation. There is an
application
tinyos-2.x-contrib/stanford-sing/apps/RssiSample
that will accomplish this.
 However, if it is not possible to collect noise samples, one possible
simplification is to repeat the constant noise value from the
generator 100 times. This will mean that the link model will assume a
constant noise value. However, this will lower the quality of the
link simulation. You can also use the example provided,
meyer-heavy.txt.

Thanks,
Tal

 hello

 I've generated the two files linkgain.out and topology.out with
 LinkLayerModel.

 Topology.out give me a file with the gain between all pairs of nodes
 and the noise for each node.

 But , for the noise it give me only 2 values, how can I use these
 values with the addNoiseTraceReading function ? I know that it must
 have at least 100 entries using the addNoiseTraceReading function.

 Can somebody give me a link wich fully explain the structure of the
 topology file, values, meaning (i've already seen this :
 http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/usc-topologies.html)

 best 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] topology and linkgain.out

2008-06-24 Thread ndessart
hello

I've generated the two files linkgain.out and topology.out with  
LinkLayerModel.

Topology.out give me a file with the gain between all pairs of nodes  
and the noise for each node.

But , for the noise it give me only 2 values, how can I use these  
values with the addNoiseTraceReading function ? I know that it must  
have at least 100 entries using the addNoiseTraceReading function.

Can somebody give me a link wich fully explain the structure of the  
topology file, values, meaning (i've already seen this :  
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/usc-topologies.html)

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] TOPOLOGY FILE IN TOSSIM

2008-06-06 Thread Daniel Pereira
I didn't understand how to configure the network topology for TOSSIM.
The snippet of Python code create seven nodes.
for i in range(0, 7):
t.getNode(i).createNoiseModel()

How can I relate this nodes with the network topology?
Should I set the Channel, Radio and Topology parameters in the Python?

Thanks all




On Thu, Jun 5, 2008 at 12:14 PM, Tal  Rusak [EMAIL PROTECTED] wrote:
 Hi,
 There are two components to the link model in TOSSIM 2.0.2: noise and
 gain. Noise is the external interference and noise from sources other
 than the TinyOS network, which gain is the strength at which nodes in
 the network can hear packets that other nodes send. The probability
 of receiving a packet is given by the signal to noise ratio, which is
 gain - noise in the dB scale considered here. This is explained in
 http://sing.stanford.edu/pubs/ipsn07-noise.pdf
 TOSSIM currently considers that gain is constant per node pair, and
 network topologies can be constructed using the tool discussed at
 http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/usc-topologies.html
 The TOSSIM tutorial shows how to use python to parse this tool's output
 and to input the gain values to the simulator. Search for topo.txt in
 this entry:
 http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network
 Regarding the noise values, you can collect noise samples from your
 environment using
 tinyos-2.x-contrib/stanford-sing/apps/RssiSample
 To create an artificial low noise environment, you can create a
 text file with very low values. If your values in the noise file are
 all at least 14 below the values used for gain, then all packets are
 received. Just be sure to have at least 100 entries in the file.

 Thanks,
 Tal

 Hello

 How can I use a topology file in TOSSIM
 (http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/usc-topologies.html)
 once I have the .out
 files?

 The Tossim wiki show how to integrate a text file noise model like
 heavy-meyer but I didn't find how to use this outpouts.

 best 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 mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-06 Thread Daniel Pereira
I understood how to generate the topology file, my doubt now is:
Which command should I use to input these values?


On Fri, Jun 6, 2008 at 11:21 AM, Daniel Pereira [EMAIL PROTECTED] wrote:
 I didn't understand how to configure the network topology for TOSSIM.
 The snippet of Python code create seven nodes.
 for i in range(0, 7):
t.getNode(i).createNoiseModel()

 How can I relate this nodes with the network topology?
 Should I set the Channel, Radio and Topology parameters in the Python?

 Thanks all




 On Thu, Jun 5, 2008 at 12:14 PM, Tal  Rusak [EMAIL PROTECTED] wrote:
 Hi,
 There are two components to the link model in TOSSIM 2.0.2: noise and
 gain. Noise is the external interference and noise from sources other
 than the TinyOS network, which gain is the strength at which nodes in
 the network can hear packets that other nodes send. The probability
 of receiving a packet is given by the signal to noise ratio, which is
 gain - noise in the dB scale considered here. This is explained in
 http://sing.stanford.edu/pubs/ipsn07-noise.pdf
 TOSSIM currently considers that gain is constant per node pair, and
 network topologies can be constructed using the tool discussed at
 http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/usc-topologies.html
 The TOSSIM tutorial shows how to use python to parse this tool's output
 and to input the gain values to the simulator. Search for topo.txt in
 this entry:
 http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network
 Regarding the noise values, you can collect noise samples from your
 environment using
 tinyos-2.x-contrib/stanford-sing/apps/RssiSample
 To create an artificial low noise environment, you can create a
 text file with very low values. If your values in the noise file are
 all at least 14 below the values used for gain, then all packets are
 received. Just be sure to have at least 100 entries in the file.

 Thanks,
 Tal

 Hello

 How can I use a topology file in TOSSIM
 (http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/usc-topologies.html)
 once I have the .out
 files?

 The Tossim wiki show how to integrate a text file noise model like
 heavy-meyer but I didn't find how to use this outpouts.

 best 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 mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-06 Thread Tal Rusak
 Here is an example of importing a topology file from the tutorials:
f = open(15-15-tight-mica2-grid.txt, r)

lines = f.readlines()
for line in lines:
  s = line.split()
  if (len(s)  0):
if (s[0] == gain):
  r.add(int(s[1]), int(s[2]), float(s[3]))
(http://docs.tinyos.net/index.php/TOSSIM)

Tal

 I understood how to generate the topology file, my doubt now is:
 Which command should I use to input these values?


 On Fri, Jun 6, 2008 at 11:21 AM, Daniel Pereira [EMAIL PROTECTED]
 wrote:
 I didn't understand how to configure the network topology for TOSSIM.
 The snippet of Python code create seven nodes.
 for i in range(0, 7):
t.getNode(i).createNoiseModel()

 How can I relate this nodes with the network topology?
 Should I set the Channel, Radio and Topology parameters in the Python?

 Thanks all




 On Thu, Jun 5, 2008 at 12:14 PM, Tal  Rusak [EMAIL PROTECTED] wrote:
 Hi,
 There are two components to the link model in TOSSIM 2.0.2: noise
 and
 gain. Noise is the external interference and noise from sources other
 than the TinyOS network, which gain is the strength at which nodes in
 the network can hear packets that other nodes send. The probability
 of receiving a packet is given by the signal to noise ratio, which is
 gain - noise in the dB scale considered here. This is explained in
 http://sing.stanford.edu/pubs/ipsn07-noise.pdf
 TOSSIM currently considers that gain is constant per node pair, and
 network topologies can be constructed using the tool discussed at
 http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/usc-topologies.html
 The TOSSIM tutorial shows how to use python to parse this tool's output
 and to input the gain values to the simulator. Search for topo.txt in
 this entry:
 http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network
 Regarding the noise values, you can collect noise samples from your
 environment using
 tinyos-2.x-contrib/stanford-sing/apps/RssiSample
 To create an artificial low noise environment, you can create a
 text file with very low values. If your values in the noise file are
 all at least 14 below the values used for gain, then all packets are
 received. Just be sure to have at least 100 entries in the file.

 Thanks,
 Tal

 Hello

 How can I use a topology file in TOSSIM
 (http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/usc-topologies.html)
 once I have the .out
 files?

 The Tossim wiki show how to integrate a text file noise model like
 heavy-meyer but I didn't find how to use this outpouts.

 best 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 mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-06 Thread Daniel Pereira
Hi Tal,

The LinkLayerModel application generates two files, topology.out and
linkgain.out.
I don't know exactly what to do with the values.

1) The snippet of Python code create nodes:
f = open(topology.out, r)
lines = f.readlines()
for line in lines:
  s = line.split()
  if (len(s)  0):
m = t.getNode(s[0])
Here I create nodes with the IDs in the file, but where should I set
the dimension x/y? Which method should I use for this?

2) The snippet of Python code add a link from src to dest with gain.:
f = open(linkgain.out, r)
lines = f.readlines()
for line in lines:
  s = line.split()
  if (len(s)  0):
if (s[0] == gain):
   r.add(int(s[1]), int(s[2]), float(s[3]))
Here I understood.

3) The snippet of Python code to create the noise model. Is it correct?
f = open(linkgain.out, r)
lines = f.readlines()
for line in lines:
  s = line.split()
  if (len(s)  0):
if (s[0] == noise):
  t.getNode(int(s[1])).addNoiseTraceReading(int(s[2])l)
  t.getNode(int(s[1])).addNoiseTraceReading(int(s[3])l)
for i in range(0, 16):
t.getNode(i).createNoiseModel()

Thanks and best regards



On Fri, Jun 6, 2008 at 3:12 PM, Tal  Rusak [EMAIL PROTECTED] wrote:
 Here is an example of importing a topology file from the tutorials:
 f = open(15-15-tight-mica2-grid.txt, r)

 lines = f.readlines()
 for line in lines:
  s = line.split()
  if (len(s)  0):
if (s[0] == gain):
  r.add(int(s[1]), int(s[2]), float(s[3]))
 (http://docs.tinyos.net/index.php/TOSSIM)

 Tal

 I understood how to generate the topology file, my doubt now is:
 Which command should I use to input these values?


 On Fri, Jun 6, 2008 at 11:21 AM, Daniel Pereira [EMAIL PROTECTED]
 wrote:
 I didn't understand how to configure the network topology for TOSSIM.
 The snippet of Python code create seven nodes.
 for i in range(0, 7):
t.getNode(i).createNoiseModel()

 How can I relate this nodes with the network topology?
 Should I set the Channel, Radio and Topology parameters in the Python?

 Thanks all




 On Thu, Jun 5, 2008 at 12:14 PM, Tal  Rusak [EMAIL PROTECTED] wrote:
 Hi,
 There are two components to the link model in TOSSIM 2.0.2: noise
 and
 gain. Noise is the external interference and noise from sources other
 than the TinyOS network, which gain is the strength at which nodes in
 the network can hear packets that other nodes send. The probability
 of receiving a packet is given by the signal to noise ratio, which is
 gain - noise in the dB scale considered here. This is explained in
 http://sing.stanford.edu/pubs/ipsn07-noise.pdf
 TOSSIM currently considers that gain is constant per node pair, and
 network topologies can be constructed using the tool discussed at
 http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/usc-topologies.html
 The TOSSIM tutorial shows how to use python to parse this tool's output
 and to input the gain values to the simulator. Search for topo.txt in
 this entry:
 http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network
 Regarding the noise values, you can collect noise samples from your
 environment using
 tinyos-2.x-contrib/stanford-sing/apps/RssiSample
 To create an artificial low noise environment, you can create a
 text file with very low values. If your values in the noise file are
 all at least 14 below the values used for gain, then all packets are
 received. Just be sure to have at least 100 entries in the file.

 Thanks,
 Tal

 Hello

 How can I use a topology file in TOSSIM
 (http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/usc-topologies.html)
 once I have the .out
 files?

 The Tossim wiki show how to integrate a text file noise model like
 heavy-meyer but I didn't find how to use this outpouts.

 best 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







nk
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-05 Thread Tal Rusak
Hi,
 There are two components to the link model in TOSSIM 2.0.2: noise and
gain. Noise is the external interference and noise from sources other
than the TinyOS network, which gain is the strength at which nodes in
the network can hear packets that other nodes send. The probability
of receiving a packet is given by the signal to noise ratio, which is
gain - noise in the dB scale considered here. This is explained in
http://sing.stanford.edu/pubs/ipsn07-noise.pdf
 TOSSIM currently considers that gain is constant per node pair, and
network topologies can be constructed using the tool discussed at
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/usc-topologies.html
The TOSSIM tutorial shows how to use python to parse this tool's output
and to input the gain values to the simulator. Search for topo.txt in
this entry:
http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network
 Regarding the noise values, you can collect noise samples from your
environment using
tinyos-2.x-contrib/stanford-sing/apps/RssiSample
 To create an artificial low noise environment, you can create a
text file with very low values. If your values in the noise file are
all at least 14 below the values used for gain, then all packets are
received. Just be sure to have at least 100 entries in the file.

Thanks,
Tal

 Hello

 How can I use a topology file in TOSSIM
 (http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/usc-topologies.html)
 once I have the .out
 files?

 The Tossim wiki show how to integrate a text file noise model like
 heavy-meyer but I didn't find how to use this outpouts.

 best 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] Topology file 15-15-tight-mica2-grid.txt

2008-05-09 Thread Nahr ...
Hi,
I have finally solved my pb.
But please, could someone explain to me this two files:

15-15-tight-mica2-grid.txt   and  meyer-heavy.txt

the first one define gain and noise of each node grid 15 nodes * 15 nodes
tight?  distance = ??


meyer-heavy describes the propagation strengths from which empirical
conditions??


thanks

Nahr Elk
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Topology file 15-15-tight-mica2-grid.txt

2008-05-09 Thread Philip Levis

On May 9, 2008, at 12:48 AM, Nahr ... wrote:
 Hi,
 I have finally solved my pb.
 But please, could someone explain to me this two files:

 15-15-tight-mica2-grid.txt   and  meyer-heavy.txt

 the first one define gain and noise of each node grid 15 nodes * 15  
 nodes
 tight?  distance = ??


 meyer-heavy describes the propagation strengths from which empirical  
 conditions??



Please read the TOSSIM tutorial.

Phil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Topology generation of CTP

2008-04-18 Thread Gary Lee
I notice that when we run MViz application, it also has topology part. Is
this topology accurate? Frankly, I can come up with the topology, but I
cannot get much information from this topology. That is, I do not think this
topology is very useful.

Any comments about this are appreciated.

Gary

On Thu, Apr 17, 2008 at 10:02 PM, Omprakash Gnawali [EMAIL PROTECTED] wrote:

 On Thu, Apr 17, 2008 at 8:53 PM, Gary Lee [EMAIL PROTECTED] wrote:
 
  Hi,
 
  Could some expert show me: using CTP (like MulhopOscilloscope in T2),
 how do
  generate Figure 2 in page 4 of this paper:
 
  http://sing.stanford.edu/pubs/hotnets07-4b.pdf
 
  ?
 

 If you look at apps/tests/TestNetwork, you will notice that the
 application puts the parent id in the collection packet. You need to
 do something similar in MultihopOscilloscope. When you receive that
 collection packet at the base station, you can grab the parent id and
 origin for each node. Once you have a set of directed edges, you can
 use graphviz or other graph drawing tools to draw the topology.

 - om_p

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Topology generation of CTP

2008-04-18 Thread Omprakash Gnawali
On Fri, Apr 18, 2008 at 6:33 AM, Gary Lee [EMAIL PROTECTED] wrote:
 I notice that when we run MViz application, it also has topology part. Is
 this topology accurate? Frankly, I can come up with the topology, but I
 cannot get much information from this topology. That is, I do not think this
 topology is very useful.

 Any comments about this are appreciated.

The topology could be useful to debug your network - for example, if
you are getting 10 hop paths in a small room, or if the topology is
changing a lot, that is probably not a good sign...

- om_p
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Topology generation of CTP

2008-04-17 Thread Gary Lee
 Hi,

Could some expert show me: using CTP (like MulhopOscilloscope in T2), how do
generate Figure 2 in page 4 of this paper:

http://sing.stanford.edu/pubs/hotnets07-4b.pdf

?

Thanks,

Gary
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Topology generation of CTP

2008-04-17 Thread Omprakash Gnawali
On Thu, Apr 17, 2008 at 8:53 PM, Gary Lee [EMAIL PROTECTED] wrote:

 Hi,

 Could some expert show me: using CTP (like MulhopOscilloscope in T2), how do
 generate Figure 2 in page 4 of this paper:

 http://sing.stanford.edu/pubs/hotnets07-4b.pdf

 ?


If you look at apps/tests/TestNetwork, you will notice that the
application puts the parent id in the collection packet. You need to
do something similar in MultihopOscilloscope. When you receive that
collection packet at the base station, you can grab the parent id and
origin for each node. Once you have a set of directed edges, you can
use graphviz or other graph drawing tools to draw the topology.

- om_p
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] topology control (e.g XTC, ATPC, LMST)

2008-02-26 Thread Paul
Hi all

I am looking for the tinyos implementation for any topology control such as
XTC.

Thanks.
Paul
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Topology

2007-07-12 Thread Nicole Caruso

Hello.

I wrote a small program that defines events for an active node.  It
compiles in TOSSIM.



I am having trouble defining a topology.  In the Active folder, I
have a Topo.txt file with contains the following (node, x, y):
0 1.0 1.0
1 1.0 10.0

I get the following error when trying to identify the topology file:


TOPOLOGY = 4
TOPOLOGY_FILE = Topo.txt

Traceback (most recent call last):
 File stdin, line 1, in ?
NameError: name 'Topo' is not defined



Thank you very much.

Nicole Caruso
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help