Bluetooth: Tutorial & Simulation COE 543 Louai Al-Awami Graduate Assistant Computer Engineering Department Tuesday, June 3 , 2003
Outline What is Bluetooth Brief History General Specifications Modes of Operation Device Discovery Network Operation Network Simulator (NS-2) Bluehoc
What is Bluetooth Open Standard for Low Power Low Cost Short Range (Pico-cellular) Ad-Hoc Voice & Data Radio Technology
What is Bluetooth
History -Initiated by Ericsson in 1994 SIG formed in 1998 (Ericsson, Intel, IBM, Toshiba and Nokia ) Now: 2000+ members
General Specifications Band 2.4 GHz (ISM) Multiple Access strategy FHSS (79 Freq. Hops) Clock 3.2 kHz Duplexing TDD Range 10cm,10m, 100m (NLOS) Data rate 780 kbps Acceptance Worldwide Applications Cable Replacement WLAN- AP
Piconets Vs. Scatternet
Modes of Operation Active Always listens to packets Sniff Hold Objective: power conservation and capacity expandability Active Always listens to packets Sniff listens to packets within certain period and sleeps the rest of the time Hold Stops listening until period expires Park Keeps synch. with master on periodic basis, but not active Standby No participating in any connection
Device Discovery Standby Doing nothing Inquiry Searching Paging Connected Paging Inquiry Standby Doing nothing Inquiry Searching Paging Request for connection Connected Active connection
Inquiry & Paging
Connection ACL ACL Master Slave 1 Slave 2 Slave 3 Slave 4 625 us 1 2 3 1 2 3 4 5 7 6 SCO SOC ACL ACL
Bluetooth Protocol Stack
Network Simulator-2 (NS-2) What is NS-2? Open Source research oriented simulator TCP- IP- UDP – FTP,…… Where To Get NS-2? http://www.isi.edu/nsnam/ns (Free) What is NS-2 Target Systems? Unix, Linux , Solaris Window (Cygwin)
Network Simulator-2 (NS-2) Components of NS-2 NS The core of NS (C\C++) TCL Tools Command Language OTCL Object-Oriented TCL TCLCL links C\C++ & OTCL NAM Network Animator Xgraph Generates Statistics
Network Simulator-2 (NS-2) File Structure Define Procedures Define nodes (type) Define Links (Data Rate, Delay) Define Agents (Protocols) Define Simulation Scenario http://nile.wpi.edu/NS/
BlueHoc Bluetooth Extension to NS-2 includes Bluetooth Radio Bluetooth Baseband Link Manager Protocol (LMP) Logical Link Control and Adaptation Protocol (L2CAP) - Scatternet is implemented in BlueScat0.6.
Simulation
Useful Links http://www.bluetooth.com http://www.isi.edu/nsnam/ns http://nile.wpi.edu/NS/ http://www-124.ibm.com/developerworks/projects/bluehoc