Overview Of Bluetooth Technology

Download Report

Transcript Overview Of Bluetooth Technology

INTRODUCTION
BLUETOOTH CHAT DESIGN
JAVA ON MOBILE DEVICE
Presenters



Benjamin Boateng
Abass Omer
Venkateshwar Rao Namilakonda
JPMA PROJECT PRESENTATION (ITU)
1
INTRODUCTION
Benjamin Boateng

Introduction Bluetooth Achitecture
Abass Omer

Midlet and Testing
Venkateshwar Rao Namilakonda

Codes
JPMA PROJECT PRESENTATION (ITU)
2
Bluetooth Achitecture
Overview Of Bluetooth Technology

Bluetooth-wireless connectivity options for mobile devices characterized by short
range and low-power consumption, ad hoc networking.

Bluetooth-enabled devices are organized in groups called piconets .
A piconet consists of a master and up to seven active slaves.
A master and a single slave use point-to-point communication; if there are multiple
slaves, point-to-multipoint communication is used.


JPMA PROJECT PRESENTATION (ITU)
3
Bluetooth Achitecture
Overview Of BluetoothTechnology

The Bluetooth Protocol Stack-high-level view of the architecture:
JPMA PROJECT PRESENTATION (ITU)
4
Bluetooth Achitecture
Overview Of Bluetooth Technology
The Bluetooth Protocol Stack-high-level view of the architecture:

The radio layer : physical wireless connection.

The baseband layer: responsible for controlling and sending data packets over the
radio link.

The Link Manager Protocol (LMP): uses the links set up by the baseband to establish
connections and manage piconets.

The Host Controller Interface (HCI): the dividing line between software and hardware.

The Logical Link Control and Adaptation Protocol (L2CAP): receives application data
and adapts it to the Bluetooth format.
JPMA PROJECT PRESENTATION (ITU)
5
Bluetooth Achitecture
Overview Of Bluetooth Technology
Network Establishment Scheme

A device not connected to the piconet is in standby mode.


Inquire: the device automatically initiates an inquiry to find an access point. All nearby
access points respond with their addresses, and the device picks one.
Page: synchronizes the device with the access point.

Establish a link: The Link Manager Protocol establishes a link with the access point.

Discover services: The LMP uses the Service Discovery Protocol (SDP) to find out
what services are available from the access point. Here we assume that the email
service is available.

Create an L2CAP Channel: The LMP uses information obtained from the Service
Discovery Protocol (SDP) to create an L2CAP channel to the access point.
JPMA PROJECT PRESENTATION (ITU)
6
Bluetooth Achitecture
Overview Of Bluetooth Technology
Network Establishment Scheme

Create an RFCOMM channel: Depending on the needs of the application, an
RFCOMM channel (or another channel) is created over the L2CAP channel.

Authenticate: requires input from the user. If the access point requires authentication,
it will send an authentication request, and the user will be prompted to enter a PIN to
access the service.

Log in: If the device use the Point-to-Point Protocol (PPP) over RFCOMM, a serial
port is emulated.

Send and receive data: The email client and the access point now use standard
network protocols like TCP/IP to send and receive data.
JPMA PROJECT PRESENTATION (ITU)
7
Bluetooth Achitecture
Overview of Our Application

Midlet-based chat application using server and client

Bluetooth applications start the device discovery process

it searches and discover any existing bluetooth enabled device in the same piconet
within the Bluetooth effective range.

service discovery process then starts to obtain a reference (URL) to suitable services.
JPMA PROJECT PRESENTATION (ITU)
8
Bluetooth Achitecture
Key Steps Forming the Bluetooth Application Design
Device discovery





DiscoveryAgent class and DiscoveryListener interface provide the
necessary discovery services.
DiscoveryAgent startInquiry method.
Places the device in question into an inquiry mode.
The application specifies an event listener that will respond to
inquiry-related events.
DiscoveryListener.deviceDiscovered is called each time an inquiry
finds a device.
JPMA PROJECT PRESENTATION (ITU)
9
Bluetooth Achitecture
Service Discovery

After discovery of at least one remote device, device can begin to
search for available services.
Communication
 Server: constructs an URL placedin the service record.
 Initiates a service discovery, retrieves
the service record, construct a connection URL using the service
record,
 Opens a connection to the server as well as send and receive data
to and from the server.
JPMA PROJECT PRESENTATION (ITU)
10
Bluetooth Achitecture
Dictionary Based Typing
JPMA PROJECT PRESENTATION (ITU)
11
Bluetooth Achitecture
Address Book
JPMA PROJECT PRESENTATION (ITU)
12