1 / 17

Bluetooth in NS2

Bluetooth in NS2. ECM 5078 Course Experiments Kang-Lun Fan NCTU Bun Lab. Nov. 1 st , 2007. Overview. ns2 Support 802.11 (wireless) & 802.3 (wired) Bluetooth : 802.15.1 Use extended module to simulate BlueHoc (IBM) Blueware (MIT) UCBT (University of Cincinnati). Bluetooth.

nusa
Download Presentation

Bluetooth in NS2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Bluetooth in NS2 ECM 5078 Course Experiments Kang-Lun Fan NCTU Bun Lab. Nov. 1st, 2007

  2. Overview ns2 • Support 802.11 (wireless) & 802.3 (wired) • Bluetooth : 802.15.1 • Use extended module to simulate • BlueHoc (IBM) • Blueware (MIT) • UCBT (University of Cincinnati)

  3. Bluetooth • Personal Area Network (PAN) • Low power • Nominal output power = 0 dBm (1 mW) • Low cost • Short range radio • GFSK modulation: BT=0.5, 0.28 < m < 0.35 • 2.4 GHz unlicensed ISM band • Frequency hopping scheme • 79 hop frequencies: f = 2402+k MHz, k= 0,..78 • robust wireless communication

  4. Bluetooth • BER < 10-3 for: • –70dBm input power level. • 11 dB carrier to co-channel interference ratio • Symbol rate = 1 Ms/s. • Slotted channel with slot time = 625 μs. • Time-division duplex (TDD) for full-duplex. • Supports synchronous (voice) channel of 64 kbps in each direction. • Supports asynchronous channels of up to 721 kb/s (asymmetric) or 432.6 kb/s (symmetric).

  5. Bluetooth

  6. Bluetooth

  7. Bluetooth

  8. UCBT

  9. UCBT • University of Cincinnati - BlueTooth • Baseband • Above baseband • LMP • L2CAP • BNEP • 2 Physical links • Synchronous connection oriented (SCO) • Asynchronous connection less (ACL)

  10. UCBT • Use excluded ns • Different trace format • Tx/Rx/Collision/Lost • bdaddr • state • PAG:Page • CON:connection • src:slot-dst:slot • pktType • lt_addr • Accesscode

  11. UCBT • Frequency • ARQqno • SEQno • Transmission Count • Size (in bits) • Timestamp • packetID:frag# • comment • CLK • <ignore the tailing 0, or use it for you own purpose>

  12. UCBT • Define option • Configure node • $node($i) rt routingalgorithm • $node($i) SchedAlgopollingalgorithm • If using high rate (3mb) • $node(i) set-rate 3 ( node(i) is the master node ) • Set up trace (different from the 802.11 case) • trace-all-XXX [on|off|<filename>] • XXX: tx rx POLL NULL in-air

  13. UCBT • Generating Traffic • CBR on UDP • $ns at time "$node(0) make-bnep-connection $node(i)DH5 DH3 noqos “ (Default[empty] is DH1)

  14. Experiment-2 • Read bt_sample.tcl • Set up parameters • Trace • Polling algorithm • Routing algorithm • Rate • CBR + UDP traffic • Data size • Interpret Trace file • Measure throughput • Compare Polling algorithms

  15. References • http://www.ececs.uc.edu/~cdmc/ucbt/ucbt.html • http://bluehoc.sourceforge.net/

  16. Office Hour • Monday • PM 1:30~3:30 • Friday • AM 10:30~12:00 • Or by appointment via email

  17. Thank You !!

More Related