250 likes | 394 Views
Simulating Bluetooth LAN Access Profile in NS. Vinay D’souza Manish Mahajan Li Yang April 3 rd , 2001. Outline. Introduction Motivation and Problem Definition Simulation Design Current Status Future Work. Introduction. Simulating Bluetooth LAN Access Profile in NS.
E N D
Simulating Bluetooth LAN Access Profile in NS Vinay D’souza Manish Mahajan Li Yang April 3rd, 2001
Outline • Introduction • Motivation and Problem Definition • Simulation Design • Current Status • Future Work Wireless Information System
Introduction Simulating Bluetooth LAN Access Profile in NS • Bluetooth Technology • Bluetooth LAN Access Profile • Network Simulator (ns) Wireless Information System
Bluetooth • Unification of the telecom & computing industries • Enable untethered, wireless connectivity • Operates on the 2.4 GHz ISM band • Raw data rate of up to 1Mbps • Data encryption, Fast frequency-hopping • Low layer physical radio security, passwords and PINs. Wireless Information System
Bluetooth Usage Models • File transfer usage model • Internet Bridge • LAN Access Wireless Information System
Bluetooth Usage Models (Cont’d) • Synchronization • Three-in-One Phone • Ultimate Headset Wireless Information System
Bluetooth Profile • Allow interoperability • Each usage model is accompanied by a Profile • Describe the use of the lower layers of the Bluetooth protocol stack (LC and LMP). Wireless Information System
LAN Access Profile • Baseband, LMP, L2CAP are the OSI layer 1 and 2 Bluetooth protocols • RFCOMM is the Bluetooth adaptation of GSM TS 07.10 • SDP is the Bluetooth Service Discovery Protocol • PPP is the IETF Point-to-Point Protocol. Wireless Information System
LAN Access Profile scenarios • LAN Access by a Single DT • LAN Access by Multiple DTs • PC to PC Connection Wireless Information System
Motivation And Problem Definition • Evaluate existing network simulators and select the one that seems to be the most • Implement LAN Access usage model for the selected network simulator. • Construct some realistic scenarios involving the implemented protocol(s). • Identify various design issues with respect to the Usage model scenario and propose solutions Wireless Information System
Difficulty and Assumption • Difficulty • the complexity of Bluetooth LAN Access Profile protocol stack • not available of Bluetooth protocol stack • Assumption • not implement the Bluetooth LAN Access Profile Wireless Information System
Simulation Tools • NS ( network simulator ) • PARSEC (previously Maisie ) • NS Extensions for wireless networks • Adhockey • WiNs Wireless Information System
PPP Client laptop SDD Device discovery by DTs LAN Access Point Service discovery by PPP clients PPP Server Authentication by PPP Server SDD Service Request by DTs PDA Service Usage Allowed by LAP PPP Client Disconnection SDD Simulation Design • Usage Model Architecture Wired Fixed Network Wireless Mobile Network Wireless Information System
Design Outline • Representation of Entities • Initialization of Entities • LAN Session Management • Connection Establishment and Authentication • Service Discovery Session • Service Usage Session • Disconnection Wireless Information System
Representation of Entities • Entities: LAP, DT, LAN node, Service Discovery • Database (SDD) • configure a node by defining: • the type of addressing structure • the type of adhoc routing protocol for wireless nodes, etc. • Nodes in NS: fixed ,mobile,basestation node. • SDD: a linked list of Wireless Information System
set opt(chan) Channel/WirelessChannel ;# channel type set opt(prop) Propagation/TwoRayGround ;# radio-propagation model set opt(netif) Phy/WirelessPhy ;# network interface type set opt(mac) Mac/802_11 ;# MAC type set opt(ll) LL ;# link layer type set opt(ant) Antenna/OmniAntenna ;# antenna model set opt(adhocRouting) DSDV ;# routing protocol # Configuration for LAP $ns_ node-config -adhocRouting $opt(adhocRouting) \ -llType $opt(ll) \ -macType $opt(mac) \ -antType $opt(ant) \ -propType $opt(prop) \ -phyType $opt(netif) \ -channelType $opt(chan) \ -wiredRouting ON \ #create base-station node set BS(0) [ $ns_ node] Representation of Entities( cont’d) • NS Representation of a LAP • configuration of a LAP (tcl script) • creation of a LAP (tcl script) Wireless Information System
Simulation Topology in NS • Domain • wireless • wired • Routing • wired routing • ad-hoc routing in wireless domain Topology for Wired-cum-wireless Scenario Wireless Information System
Initialization of Entities • Initialization of LAPs • Maximum User Number • PPP server • Modes available on LAP (General Discoverable mode , Connectable mode,etc) • SDD • IP address • Bluetooth PIN • Initialization of DTs • SDD • Bluetooth PIN • IP address • Initialization of LAN nodes • IPaddress Wireless Information System
LAN Session Management • Connection establishment - device discovery • IP , Bluetooth PI • #create base-station node • set temp {1.0.0 1.0.1 1.0.2 1.0.3} ;# hier address to be used for • ;# wireless domain • Authentication • Bluetooth PIN based Authentication • Credentials based Authentication Wireless Information System
LAN Session Management-contd • Service Discovery Session • Service usage Session • The service is from a LAN node • The service is from another DT • Disconnection • Voluntary disconnection • InVoluntary disconnection Wireless Information System
LAN Session Management-contd Wireless Information System
NAM - Visualization tool for ns Wireless Information System
Scenarios for Simulation • Mobile nodes don’t change position after coming in range. DTs connect to LAP only • Disconnection • DT roaming from one LAP to another • DTs move rapidly and randomly. Sophisticated configuration required for adhoc routing • dynamically changing Power / Range of DTs and LAP Wireless Information System
References Wireless Information System
Thank You Questions and Answers