Bluetooth Tutorial: Radio, Baseband, L2Cap and LMP Specifications
Bluetooth Tutorial: Radio, Baseband, L2Cap and LMP Specifications
Radio, Baseband,
L2CAP and LMP
Specifications
Apurva Kumar
(www.research.ibm.com/people/k/kapurva)
Research Staff Member
IBM India Research Lab
Bluetooth Physical Layer:
Radio Specifications
Transmitter
Operates in the 2.4 GHz unlicensed ISM band.
79 hop frequencies: f = 2402+k MHz, k= 0,..78.
Nominal output power = 0 dBm (1 mW).
GFSK modulation: BT=0.5, 0.28 < m < 0.35.
Bluetooth Radio Specification
Receiver
BER < 10-3 for:
–70dBm input power level.
11 dB carrier to co-channel interference ratio.
Bluetooth Baseband: General
Major states:
– Standby
– Connection
7 sub-states: used
in device discovery
procedures.
Baseband: Inquiry procedure
To discover other units in range.
ID packets containing GIAC are transmitted by inquiring device.
ID packets sent on inquiry hopping sequence derived from GIAC.
Inquirer sends 2 ID packets at different frequencies in even slots
and waits for response(s) in the odd slots.
32 inquiry hop frequencies are split in two 16 hop parts (trains) A
and B. Each train lasts 10msec (16 slots).
A scanning device listens at one of 32 inquiry frequencies for
11.25 msec at least once every 2.56 sec.
A/B trains of ID packets are repeated 256 times each.
Baseband: Inquiry and inquiry scan
Freq: 0-15 18-31, 0-1 4-19 22-31, 0-5
A B B Inquiring
A Time
7.68 10.24 (sec) device
0.00 2.56 5.12
Active mode:
– Bluetooth unit listens for each master transmission.
– Slaves not addressed can sleep through a
transmission.
– Periodic master transmissions used for sync.
Sniff mode:
– Unit does not listen to every master transmission.
– Master polls such slaves in specified sniff slots.
Baseband: Connection state
Hold mode
– Master and slave agree on a time duration for which the slave
is not polled.
– Typically used for scanning, paging, inquiry or by bridge slaves
to attend to other piconets.
Park mode
– Slave gives up AM_ADDR.
– Listens periodically for a beacon transmission to synchronize
and uses PM_ADDR/AR_ADDR for unparking.
Baseband: Payload header
2 1 5 2 1 9 4
Single slot packet Multi-slot packet
L_CH field: type of logical channel.
– 00 reserved.
– 01/10 L2CAP.
– 11 LMP.
Flow bit: used to restrict L2CAP traffic on the ACL link.
Length: number of bytes in the payload body.
Link Manager Protocol (LMP)
LMP_accepted PDU
– Opcode = 3
– Content = Opcode accepted.
LMP_not_accepted PDU
– Opcode = 4
– Content
Opcode rejected
Reason
LMP: Connection Establishment
Paging Paged
unit unit
Baseband page procedures
LMP procedures requiring no
interaction between LM and
higher layers
LMP_host_connection_request
LMP_accepted/LMP_not_accepted
Other LMP procedures
LMP_setup_complete
LMP_setup_complete
LMP: Other procedures
Signaling
command are sent on CID=0x0001.
L2CAP signaling is used for:
– L2CAP channel establishment.
– Configuring parameters related to
Qualityof service.
Specifying MTU.