[go: up one dir, main page]

0% found this document useful (0 votes)
131 views20 pages

Bluetooth Profiles: What Is A Bluetooth Profile?

Bluetooth profiles define how Bluetooth standards provide certain user functions to ensure interoperability. The Generic Access Profile (GAP) is the core profile that defines procedures for device discovery, connection establishment, and security. Other profiles such as Serial Port and LAN Access build upon GAP to define how functions like emulating a serial cable or accessing a local area network over Bluetooth are implemented.

Uploaded by

mie_1828099
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views20 pages

Bluetooth Profiles: What Is A Bluetooth Profile?

Bluetooth profiles define how Bluetooth standards provide certain user functions to ensure interoperability. The Generic Access Profile (GAP) is the core profile that defines procedures for device discovery, connection establishment, and security. Other profiles such as Serial Port and LAN Access build upon GAP to define how functions like emulating a serial cable or accessing a local area network over Bluetooth are implemented.

Uploaded by

mie_1828099
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Bluetooth Profiles

3/14/02

What is a Bluetooth profile?


Clear description of how the standard provides certain user functions Creates interoperatibility between different standard deployments Notion comes from ISO/IEC TR10000

Alberto Escudero aep@kth.se

Notion of a profile
Notion of a profile includes: Implementation options reduced to sharing same features Definiton of parameters Standard mechanisms for combining standards User interface guideliness
Alberto Escudero aep@kth.se

Definition
Bluetooth profiles ensure interoperability by providing a well defined set of higher layer procedures and uniform ways of using the lower layers

Alberto Escudero aep@kth.se

Some Bluetooth profiles


Organized in groups Each profiles builds upon the one beneath and inherits features from below LAN <= Serial Port Profile <= GAP

Alberto Escudero aep@kth.se

List of some profiles


GAP Serial Port profile Dial up networking FAX Headset LAN access Generic object exchange File transfer Object push Synchroisation
Alberto Escudero aep@kth.se

Intro to GAP profile


Core on which all the other profiles are based. Generic procedures related to discovery of BT devices and link management aspects of connection BT devices. Defines procedures related to use of different security levels. Describes how lower layers (LM/Baseband) and LMP are used.
Alberto Escudero aep@kth.se

Intro to GAP profile


Defines modes of operation that are common and generic to all profiles Defines the general procedure for how to create bonds between BT devices Defines the requirements on names, values, and coding schemes for names of parameters and procedures on the user interface level

Alberto Escudero aep@kth.se

GAP User Interface aspects


Generic user interface terms BD_ADDR (12 hex chars, 48 bits) BT Device Name (max. 248 chars) BT Passkey BT Device Type Pairing Procedures User initiates (perform bonding) User is requested to authenticate
Alberto Escudero aep@kth.se

GAP modes
Discoverable (inquiry scan) Connectable (page scan) Pairable (LM pairing, creation of link keys) Security (encryption, when and how)

Alberto Escudero aep@kth.se

GAP Discoverability
Discoverability modes
Nondiscoverable mode (no INQUIRY_RESPONSE) Limited discoverable mode (specific event, certain time, LIAC) General discoverable mode (response to general inquiry, GIAC)

Alberto Escudero aep@kth.se

10

GAP Connectivity
Connectivity Modes
Nonconnectable mode (never enters PAGE_SCAN, but listen to his ID) Connectable mode (periodically enters the PAGE_SCAN state)

Alberto Escudero aep@kth.se

11

GAP Pairing
Pairing modes
Nonpairable mode (doesnt accept creation of bonds initialized by a remote device)
LMP_in_rand => LMP_not_accepted

Pairable mode (accepts bonding)


LMP_in_rand => LMP_accepted

Alberto Escudero aep@kth.se

12

GAP & Security


Security modes
Mode 1 (security is never initiated) Mode 2 (security is not initiated until L2CAP) Mode 3 (security is initiated when ACL is established)

Alberto Escudero aep@kth.se

13

Connecting to a LAN AP
Terminal inquiries and discovers LAN AP Terminal pages LAN AP and establishes a ACL link LMP sets:
Master/Slave switch Encryption

L2CAP link setup, service record retrieve (LANAccessUsingPPP)


Alberto Escudero aep@kth.se

14

Serial Profile
Provides RS232 serial cable emulation Profile based on GSM 07.10 standard Allows multiplexing of multiple serial connections over one serial link RFCOMM provides serial port emulation

Alberto Escudero aep@kth.se

15

Steps to setup a virtual serial cable


or how to connected to an emulated serial port

Find the BT device address at the other end


Inquire and select or Enter the address directly or The device is already prepaired

Paging (create a baseband ACL) L2CAP creates a channel to the SDP

Alberto Escudero aep@kth.se

16

Steps to setup a virtual serial cableII


or how to connected to an emulated serial port

SDP retrieves the RFCOMM server channel number of the serial port service An LS2CAP channel is created to the RFCOMM of responder Applications can now send UIH frames on the RFCOMM channel

Alberto Escudero aep@kth.se

17

LAN Access Point Profile


Allows access to a fixed network via a BT link to a LAN Access Point (LAP) LAN Access profile specifies using PPP over RFCOMM LAN Access profile specifies how to layer an IP stack on the BT stack

Alberto Escudero aep@kth.se

18

Connecting to a LAN AP
Terminal inquiries and discovers LAN AP Terminal pages LAN AP and establishes a ACL link LMP sets:
Master/Slave switch Encryption

L2CAP link setup, service record retrieve (LANAccessUsingPPP)


Alberto Escudero aep@kth.se

19

Connecting to a LAN AP
PPP authentication (optional) PPP negotiation (get IP) Exchange traffic over PPP LAN AP (PPP server) Terminal (PPP client)
Alberto Escudero aep@kth.se

20

You might also like