Generic Access Profile(GAP)
• The
Generic Access Profile (GAP) block represents the base functionality common to
all Bluetooth devices such as modes and access procedures used by the
transports, protocols and application profiles.
• GAP
services include device discovery, connection modes, security, authentication,
association models and service discovery.
Security Manager Protocol(SMP)
• The
Security Manager Protocol (SMP) is the peer-to-peer protocol used to generate
encryption keys and identity keys.
• This
block is only used in LE systems.
• Similar
functionality in the BR/EDR system is contained in the Link Manager block in
the Controller.
• The
protocol operates over a dedicated fixed L2CAP channel.
• The SMP
block also manages storage of the encryption keys and identity keys and is
responsible for generating random addresses.
Attribute Protocol(ATT)
• The
Attribute Protocol (ATT) block implements the peer-to-peer protocol between an
attribute server and an attribute client.
• The ATT
client communicates with an ATT server on a remote device over a dedicated
fixed L2CAP channel.
Service Discovery Protocol(SDP)
• The
Service Discovery Protocol allows a device to discover services offered by
other devices, and their associated parameters.
• Each
service is identified by a Universally Unique Identifier (UUID), with official
services (Bluetooth profiles) assigned a short form UUID (16 bits rather than
the full 128).
•
Advanced Media Protocol(AMP)
• The AMP
manager is a layer that uses L2CAP to communicate with a peer AMP Manager on a
remote device.
• It is
responsible for discovering remote AMP(s), determining their availability and
information.
• This
information is used to set up and manage AMP physical links.
• The AMP
manager uses a dedicated L2CAP signaling channel to communicate with remote AMP
manager(s).
•
Radio Frequency Communication(RFCOMM)
• The
Bluetooth protocol RFCOMM is a simple set of transport protocols, made on top
of the L2CAP protocol.
• RFCOMM
is sometimes called serial port emulation.
• Enforces the
security policy for dial-up networking and other services relying on a serial
port.
Logical Link Control and Adaptation Protocol(L2CAP)
• Manages
the creation and termination of virtual connections called channels with other
devices.
•
Negotiates and dictates security parameters for channel establishment.
• The
Logical Link Control and Adaptation Protocol used to multiplex multiple logical
connections between two devices. Provides segmentation and reassembly of on-air
packets.
• In
Retransmission and Flow Control modes, L2CAP can be configured either for
isochronous data or reliable data per channel by performing retransmissions and
CRC checks.
• There
are two modes which effectively deprecate original Retransmission and Flow
Control modes:
• Enhanced
Retransmission Mode (ERTM): This mode is an improved version of the original
retransmission mode. This mode provides a reliable L2CAP channel.
•
Streaming Mode (SM): This is a very simple mode, with no retransmission or flow
control. This mode provides an unreliable L2CAP channel.
•
Adopted Protocols:
Adopted protocols are defined by other standards-making
organizations and incorporated into Bluetooth’s protocol stack, allowing
Bluetooth to code protocols only when necessary.
Point-to-Point Protocol (PPP): Internet
standard protocol for transporting IP datagrams over a point-to-point link.
TCP/IP/UDP:
Foundation Protocols for TCP/IP protocol suite.
Object Exchange Protocol (OBEX):
Session-layer protocol for the exchange of objects, providing a model for
object and operation representation.
Wireless Application
Environment/Wireless Application Protocol (WAE/WAP): WAE
specifies an application framework for wireless devices and WAP is an open
standard to provide mobile users access to telephony and information services.
Bluetooth Profiles
Advanced Audio Distribution Profile
(A2DP):
This profile
defines how multimedia audio can be streamed from one device to another over a
Bluetooth connection
Audio/Video Remote Control Profile
(AVRCP):
This profile is
designed to provide a standard interface to control TVs, all of the A/V
equipments to allow a single remote control
Basic Imaging Profile (BIP):
This profile is
designed for sending images between devices and includes the ability to resize,
and convert images to make them suitable for the receiving device.
Basic Printing Profile (BPP):
This allows
devices to send text, e-mails, vCards, or other items to printers based on print jobs.
Cordless Telephony Profile (CTP):
This is designed
for cordless phones to work using Bluetooth.
Device ID Profile (DIP):
It provides
identification of the manufacturer, product id, product version, and the
version of the Device
Dial-up Networking Profile (DUN):
This profile
provides a standard to access the Internet and other dial-up services over
Bluetooth.
Fax Profile (FAX):
This profile is
intended to provide a well-defined interface between a mobile phone or
fixed-line phone and a PC with Fax software installed.
File Transfer Profile (FTP):
Provides the
capability to browse, manipulate and transfer objects (files and folders) in an
object store (file system) of another system.
Generic Audio/Video Distribution
Profile (GAVDP):
GAVDP provides
the basis for A2DP and VDP, the basis of the systems designed for distributing
video and audio streams using Bluetooth technology.
Generic Access Profile (GAP):
Provides the
basis for all other profiles. GAP defines how two Bluetooth units discover and
establish a connection with each other.
Health Device Profile (HDP):
Health
Thermometer profile (HTP) and Heart Rate Profile (HRP) fall under this category
as well.
Hands-Free Profile (HFP):
This allow car
hands-free kits to communicate with mobile phones in the car. It commonly uses
Synchronous Connection Oriented link (SCO).
Human Interface Device Profile (HID):
Provides support
for devices such as mice, joysticks, keyboards, as well as sometimes providing
support for simple buttons and indicators on other types of devices.
Headset Profile (HSP):
This is the most
commonly used profile, providing support for the popular Bluetooth headsets to
be used with mobile phones.
LAN Access Profile (LAP):
LAN Access
profile makes it possible for a Bluetooth device to access LAN, WAN or Internet
via another device that has a physical connection to the network.
Message Access Profile (MAP):
Message Access
Profile (MAP) specification allows exchange of messages between devices.
Object Push Profile (OPP):
A basic profile
for sending "objects" such as pictures, virtual business cards, or
appointment details. It is called push because the transfers are always
instigated by the sender (client), not the receiver (server).
Personal Area Networking Profile (PAN):
This profile is
intended to allow the use of Bluetooth Network Encapsulation Protocol on Layer
3 protocols for transport over a Bluetooth link.
Phone Book Access Profile (PBAP, PBA):
Phone Book Access
(PBA) or Phone Book Access Profile (PBAP) is a profile that allows exchange of
Phone Book Objects between devices.
Serial Port Profile(SPP):
This profile
emulates a serial cable to provide a simple substitute for existing RS-232,
including the familiar control signals.
Pairing Process
During
pairing, the two devices establish a relationship by creating a shared secret
known as a link key. If both devices store the same link key, they are said to
be paired or bonded.
Legacy pairing:
This is available in Bluetooth v2.0 and before. Each
device must enter a PIN code; pairing is only successful if both devices enter
the same PIN code. Any 16-byte UTF-8 string may be used as a PIN code; however,
not all devices may be capable of entering all possible PIN codes.
Secure Simple Pairing (SSP):
This is required by Bluetooth v2.1, although a Bluetooth
v2.1 device may only use legacy pairing to interoperate with a v2.0 or earlier
device. Secure Simple Pairing uses a form of public key cryptography, and some
types can help protect against man in the middle, or MITM attacks.
Bluetooth Network configurations
Piconets:
• Two or more Bluetooth
units sharing the same channel.
• One device acts as a
master and the devices connected to it act as slaves.
• Slaves can not directly
send data to each other.
• In effect, the master acts
as a switch for the piconet and all traffic must pass
through the master.
• There can be up to 7
active slaves in a piconet but only one master.
Scatternets:
• A set of two or more
interconnected piconets form scatternets
• A Bluetooth unit can be a
slave in two or more piconets, but it can be a master in
only one.
• Bluetooth units can only
transmit and receive data in one piconet at a time.
• Piconets may be identified by the
master's identity and clock.