Dear all,
Can someone help me to wite a code to simulate a wireless sensor cover
I an working on ns2.26 patched with nrlsensor sim
Regards Srirupa
On Mon, 24 Jul 2006 [EMAIL PROTECTED] wrote :
>Send Ns-users mailing list submissions to
>       ns-users@isi.edu
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       http://mailman.isi.edu/mailman/listinfo/ns-users
>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 Ns-users digest..."
>
>
>Today's Topics:
>
>    1. Wireless packet size limit + wireless bandwidth question (Heo Heo)
>    2. Re: transmission power for mobile nodes (Phil Miller)
>    3. Re: Wireless packet size limit + wireless bandwidth question
>       (Phil Miller)
>    4. runnig ns with argument? (a question about DMAC) (chen guoming)
>    5. R:  how to implement DCF in NS2 (Marco Fiore)
>    6. Install the GPRS module (kaier)
>    7.  How to use SCTP application traffic ? (kerwin)
>    8. Service based classification for SFQ/DRR (S.Mehdi Sheikhalishahi)
>    9. Re: Simulate a delay and additional packet payload (Muth S)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Sat, 22 Jul 2006 17:18:26 -0700 (PDT)
> From: Heo Heo <[EMAIL PROTECTED]>
>Subject: [ns] Wireless packet size limit + wireless bandwidth question
>To: ns-users@ISI.EDU
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=iso-8859-1
>
>   Hi all,
>
>   I was doing a simple wireless simulation in which 2 nodes send are
>placed next to each other, with one being the sender and the other being
>the receiver (based on the Simple.tcl on ns website). The sender sends
>500 packets to the receiver.
>
>   1) I tried to change the packet size from 512 to 1024 bytes. I parsed
>the trace file I find out that:
>   - If the packet size is 512 bytes, 500 packets were sent.
>   - If the packet size is 1024 bytes, 1000 packets were sent.
>
>   It seems to me that some layer has automatically split up the 1024-byte 
> packets
>into smaller parts.
>
>   So, my question is: what is the default wireless packet size, and how
>to change it ? and Which layer actually split up the big packets ?
>
>   2) My next question is about the wireless bandwidth.
>
>     By default, ns uses a wireless link bandwidth of 2 Mbps. By
>changing the packet interval, I have at most 670 Kbps. Because there are only
>2 nodes, the 2 nodes must be using full bandwidth for this. Given that
>there are some overhead (RTS/CTS, packet headers, etc.), I would think
>I should get about 1.5Mbps. So, why is the actual speed so much lower
>than that ? Is it natural ?
>
>   Thanks a lot for your help.
>
>   Heo
>
>
>
>
>---------------------------------
>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
>starting at 1?/min.
>
>------------------------------
>
>Message: 2
>Date: Sun, 23 Jul 2006 00:45:20 -0400
> From: "Phil Miller" <[EMAIL PROTECTED]>
>Subject: Re: [ns] transmission power for mobile nodes
>To: "M. Akif YAZICI" <[EMAIL PROTECTED]>
>Cc: ns-users@ISI.EDU
>Message-ID:
>       <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> > Hello everyone,
> > I am trying to simulate CAP-SV routing protocol for ad hoc networks,
> > derived from AODV. I need to control the transmission power of each
> > node and vary it according to the next hop since my protocol logs the
> > min. power to reach each neighbor. Is there anyone who knows how to
> > achieve this through C++? I tried the following and it did not work:
> >
> > Tcl& tcl = Tcl::instance();
> > tcl.evalf("Phy/WirelessPhy set Pt_ %f", myPower);
> >
> > Or, can I reach the WirelessPhy object through mac/mac-802_11.cc?
> > There is a variable called "netif_" through which I can reach the
> > nodes and their energy modules as netif_->node()->energy_model(), but
> > the problem is netif_ is a "Phy *" instance, not "WirelessPhy *".
>
>Try casting it, something like
>(WirelessPhy*)netif_->node()->energy_model()
>
> > Another thing is what is the relation between Pt_ and Pt_consume_?
>
>My best guess would be that in simulations where energy consumption is
>relevant, Pt_ is the power output used to compute signal propagation
>and reception, while Pt_consume_ is the power that the node expends
>per unit time that it is transmitting.
>
> > I am supposed to complete my MS thesis in a month or so, so I am very
> > short on time. Any help is appreciated. Thanks,
>
>Good luck with it!
>
>Phil
>
>
>
>------------------------------
>
>Message: 3
>Date: Sun, 23 Jul 2006 01:08:56 -0400
> From: "Phil Miller" <[EMAIL PROTECTED]>
>Subject: Re: [ns] Wireless packet size limit + wireless bandwidth
>       question
>To: "Heo Heo" <[EMAIL PROTECTED]>
>Cc: ns-users@ISI.EDU
>Message-ID:
>       <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Heo,
>
>Have a look at
><http://www-ece.rice.edu/~jpr/ns/docs/ns-802_11b.html>.
>It answers your direct questions.
>
>You may also wish to look at
><http://www.telematica.polito.it/fiore/index.html#downloads>
>if you're interested in adjustments to simulate more recent chipsets 
>accurately.
>
>Phil
>
>On 7/22/06, Heo Heo <[EMAIL PROTECTED]> wrote:
> >
> >   Hi all,
> >
> >   I was doing a simple wireless simulation in which 2 nodes send are
> > placed next to each other, with one being the sender and the other being
> > the receiver (based on the Simple.tcl on ns website). The sender sends
> > 500 packets to the receiver.
> >
> >   1) I tried to change the packet size from 512 to 1024 bytes. I parsed
> > the trace file I find out that:
> >   - If the packet size is 512 bytes, 500 packets were sent.
> >   - If the packet size is 1024 bytes, 1000 packets were sent.
> >
> >   It seems to me that some layer has automatically split up the 1024-byte 
> > packets
> > into smaller parts.
> >
> >   So, my question is: what is the default wireless packet size, and how
> > to change it ? and Which layer actually split up the big packets ?
> >
> >   2) My next question is about the wireless bandwidth.
> >
> >     By default, ns uses a wireless link bandwidth of 2 Mbps. By
> > changing the packet interval, I have at most 670 Kbps. Because there are 
> > only
> > 2 nodes, the 2 nodes must be using full bandwidth for this. Given that
> > there are some overhead (RTS/CTS, packet headers, etc.), I would think
> > I should get about 1.5Mbps. So, why is the actual speed so much lower
> > than that ? Is it natural ?
> >
> >   Thanks a lot for your help.
> >
> >   Heo
>
>
>
>------------------------------
>
>Message: 4
>Date: Sun, 23 Jul 2006 16:22:53 +0800
> From: "chen guoming" <[EMAIL PROTECTED]>
>Subject: [ns] runnig ns with argument? (a question about DMAC)
>To: ns-users@ISI.EDU
>Message-ID:
>       <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Dear All:
>     I tried to implement DMAC into NS2.29 today and had some trouble.In the
>simulation scripts, there is a file named ns-cbr-chain.csh.
>the code is like below:
>         ns cbrchain.tcl -interval $interval -seed $seed -dst $dst -tr
>cbrchain-${interval}-${dst}-${seed}.tr;
>
>         ns-adap cbrchain.tcl -interval $interval -seed $seed -dst $dst -tr
>cbrchain-adap-${interval}-${dst}-${seed}.tr;
>
>         ns-more cbrchain-more.tcl -interval $interval -dst $dst -seed $seed
>-tr cbrchain-more-${interval}-${dst}-${seed}.tr;
>
>   We know we use "ns aaa.tcl" to exect a tcl file, but what's the meaning
>of  "ns-adap"  and "ns-more"
>Thank you very much!
>Best regards!
>David
>
>
>------------------------------
>
>Message: 5
>Date: Sun, 23 Jul 2006 10:04:21 +0100 (GMT+01:00)
> From: Marco Fiore <[EMAIL PROTECTED]>
>Subject: [ns] R:  how to implement DCF in NS2
>To: <[EMAIL PROTECTED]>, <ns-users@ISI.EDU>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain;charset="UTF-8"
>
>Hi,
>
>if you mean 802.11 DCF, it is already implemented.
>See the ns
>manual.
>
>bye,
>
>Marco
>
> >----Messaggio originale----
> >Da:
>[EMAIL PROTECTED]
> >Data: 22-lug-2006 5.40 PM
> >A: <ns-users@ISI.EDU>
> >Ogg: [ns] how to implement DCF in NS2
> >
> >
> >Hi
> >  I want to implement
>DCF in NS2, can anybody help me in this regard.
> >
> >  thank you very
>much.
> >
> >  BYE
> >
> >
> >---------------------------------
> >See the
>all-new, redesigned Yahoo.com.  Check it out.
> >
>
>
>
>
>------------------------------
>
>Message: 6
>Date: Sun, 23 Jul 2006 20:02:37 +0800 (CST)
> From: "kaier" <[EMAIL PROTECTED]>
>Subject: [ns] Install the GPRS module
>To: ns-users@ISI.EDU
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="gb2312"
>
>Hello all
>I want to try GPRS simulation using Network Simulator. I have gotten that gprs 
>module but I can't install it successfully,when i run "ns",mistake show 
>as:invalid command name "Agent/NOAH" while executing "Agent/NOAH; set sport_   
> 0"
>i guess the noah was not installed.but i dont know how to install it,anybody 
>knows?
>can you mail me the answer?
>thanks
>
>
>
>
>------------------------------
>
>Message: 7
>Date: Mon, 24 Jul 2006 00:06:33 +0800
> From: kerwin <[EMAIL PROTECTED]>
>Subject: [ns]  How to use SCTP application traffic ?
>To: ns-users@ISI.EDU
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=big5
>
>Hi all,
>I saw the "sctp.{h, cc}" source codes in "~ns-2.29\apps" directory.
>How to use the SCTP application traffic in tcl scripts ?
>Thank a lot !
>
>kerwin
>
>
>
>[EMAIL PROTECTED] ?qXuite?}?l
>http://www.xuite.net
>
>
>------------------------------
>
>Message: 8
>Date: Sun, 23 Jul 2006 21:07:24 +0430
> From: "S.Mehdi Sheikhalishahi" <[EMAIL PROTECTED]>
>Subject: [ns] Service based classification for SFQ/DRR
>To: ns-users <ns-users@ISI.EDU>, [EMAIL PROTECTED],    Paul McKenney
>       <[EMAIL PROTECTED]>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hello,
>  I changed SFQ/DRR to support service based classification for SFQ/DRR.
>Please take a look at this queueing and give me results about your ideas
>and evaluation.
>
>--
>Best Regards,
>S.Mehdi Sheikhalishahi,
>Bye.
>
>
>------------------------------
>
>Message: 9
>Date: Sat, 22 Jul 2006 13:37:41 -0700 (PDT)
> From: Muth S <[EMAIL PROTECTED]>
>Subject: Re: [ns] Simulate a delay and additional packet payload
>To: [EMAIL PROTECTED], ns-users@ISI.EDU
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=iso-8859-1
>
>Hi
>   thanx Mr Sanjay ... additional to what i asked u in your email
>   did u mean
>
>   for the packet extra payload u said in ns-default.tcl .... but which value 
> should be changed? shoul i add to the changed parameter the payload i need+ 
> default size or remove the previous size and replace it with the new one
>
>   As for the extra additional delay delay...when u link 2 nodes u will 
> specify the delay between them... is that means its the extra delay on 
> delievering the packet...
>   ex:
>   #Create links between the nodes
>$ns duplex-link $n0 $n2 2Mb 10ms DropTail
>
>   so here the delay is 10ms.... is it correct or schedule function  is 
> something else
>
>   thanx in advance
>
>
>Sanjay Raghani <[EMAIL PROTECTED]> wrote:
>     Hi,
>       To introduce packet payload, you can modify the size parameter of a 
> packet. The default values are specified in ns-default.tcl.
>
>   To introduce the delay, use the schedule function instead of send function. 
> Delay value can be specified as one of its arguments.
>
>   Sanjay Raghani
>
>   ------------------------------
>
>
>
>
>
>---------------------------------
>Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
>
>------------------------------
>
>_______________________________________________
>Ns-users mailing list
>Ns-users@isi.edu
>http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
>End of Ns-users Digest, Vol 31, Issue 25
>****************************************

Reply via email to