Bluetooth: Tutorial & Simulation COE 543 Louai Al-Awami

Download Report

Transcript Bluetooth: Tutorial & Simulation COE 543 Louai Al-Awami

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
Clock
FHSS
(79 Freq. Hops)
3.2 kHz
Duplexing
TDD
Range
10cm,10m, 100m
(NLOS)
780 kbps
Worldwide
Cable Replacement
WLAN- AP
Data rate
Acceptance
Applications
Piconets Vs. Scatternet
Piconet
Scatternet
Modes of Operation
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
Inquiry
Paging
Connected
Standby
Inquiry
Paging
Connected
Doing nothing
Searching
Request for connection
Active connection
Inquiry & Paging
Connection
0
1
2
3
4
5
6
7
Master
Slave 1
Slave 2
Slave 3
Slave 4
625 us
ACL
SCO
ACL
SOC
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