Title: Bluetooth Wireless System
1Bluetooth Wireless System
- Joe Decuir
- Microsoft
- Chair, Seattle COM-19
- Jdecuir_at_ieee.org
2Agenda
- Wireless Overview (from Tim Moore of Microsoft)
- Bluetooth System Overview (from Jim Kardach of
Intel) - Windows Bluetooth Stack (from Ken Ray and Stan
Adermann of Microsoft) - References
- http//www.microsoft.com/winhec
3Windows Wireless ArchitectureTim MooreLead
Program ManagerWindows NetworkingMicrosoft
Corporation
4Wireless Overview Agenda
- Wireless trends
- WAN, LAN, PAN
- Scenarios
- Adhoc, home, small business
- Enterprise, ISP
5Wireless Trends
- IP networks
- Always connected
- Increased bandwidth
- Convenience
- Moving from vertical market to horizontal markets
- Moving from proprietary to standards based
- Proliferation of smart devices
- New scenarios enabled
- Outsourcing
- Adhoc networks
6Information Anytime, AnywhereConnecting
Everything
Desktop
Intelligent appliance
Services
Servers
Smart object
7Wide-Area Wireless
Wide Area Wireless
US Summary
Mobitex 8, DataTAC 19.2 Packet
CDPD 19.2 Packet
GSM 9.6 Circuit-Switched
General Deployment
iDEN - Nextel - 9.6 Packet and
Circuit-Switched
Trials Start
General Deployment
Trials
cdmaOne Circuit-Switched
AirTouch
14.4 - IS-95A
GTE, Sprint
Limited Deployment
cdma2000 1XRTT
Trials
Start
153 Kbps - Packet
General Deployment
19.2 Rx/9.6 Tx
57.6 Kbps
Trials
GSM GPRS Technologies
Start
38.4 Rx/9.6 Tx
Limited Deployment
EDGE
Trials Start
384 Kbps Packet
General Deployment
Materials from Andrew Seybold-Microsoft Exchange
Conference 1999
8Local-Area Wireless
Local Area Network
1999
2000
2001
2002
2003
Technology
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
802.11 (FHSS) 2.4 GHz
1 Mbps
Freq. Hopped Spread Spectrum
802.11 (DSSS) 2.4 GHz
1 or 2 Mbps
Direct Sequence Spread Spectrum
Hiperlan
Initial
23.5 Mbps
Shipments
High Performance Radio LAN
P802.11b (DSSS) 2.4 GHz
Initial
11 Mbps
Shipments
Direct Sequence Spread Spectrum
Final
Specification
Initial Mobile
P802.11a 5 GHz
Shipments
Specifications
54 Mbps
Approved
Direct Sequence Spread Spectrum
Materials from Andrew Seybold-Microsoft Exchange
Conference 1999
9Personal Area Wireless
Local Area Network
1999
2000
2001
2002
2003
Technology
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
IrDA
4Mbps
Computer Integrated Products
Initial Shipments
Bluetooth
Integrated Handsets
721 Kbps
PC Card and CF Module
Materials from Andrew Seybold-Microsoft Exchange
Conference 1999
10Ad Hoc Networks
Many diverse devices to be connected
11A Connected Home
1394
STB
IrDA
802.11
Ethernet/1394b
Internet
Bluetooth
PLC
xDSL Cable Satellite POTS, ISDN
Phone
Residential Gateway
12A Connected Small Office
Phone
Small Business Server
802.11
Internet
Bluetooth
T1, T3,
Ethernet
Edge Server
13Enterprise
GPRS
- Information at your fingertips
- At meetings, in the office, on the road
- Reliable, secure, multimedia LAN
GPRS
IrDA
GPRS
Bluetooth
Internet
Web Server
802.11
T1, T3,
Ethernet
Proxy Server
14An ISP Connected Public Space
- Discovery of proximity services (flight schedules
at airport, mall directories, )
Bluetooth
Phone
GPRS
IrDA
Internet
Web Server
802.11
T1, T3,
Ethernet
Proxy Server
15Wireless Architecture
- Just works
- Always connected
- Unified transport IP
- Mobility
- Unified security model
- Adhoc
- QoS
- Performance
16Wireless Architecture
Networking APIs
TAPI 3.0
Dial-up Networking APIs
RoutingAPIs
Networkstreaming (DirectX)
WinSock 2.0
RSVP
Networking Services
DHCP
802.1X
DNS
Network Location
UPnP
NetBT
TCP/IP
Protocolstacks
IP packetfiltering
IP forwarder
Route table
Packet classifier
Packet scheduler
IGMP
IRDP
NDIS 5.1
NDIS WAN
Ethernet
TR
802.11
Affected by Wireless
PPTP
Async
Bluetooth
RNDIS
802.1D
17Just Works
- No configuration
- Especially when roaming
- CDPD
- Configure Network Equipment Identifier
- 802.11
- Configure network name and security keys
- Per location
- Bluetooth
- Configure PIN numbers
- Per device
18Adhoc Architecture
FTP
OBEX
Networking Services
802.1X
WinSock 2.0
RSVP
DHCP
EAP-TLS
Network Location
UPnP
Netbt
RFCOMM
IrDA
Protocolstacks
TCP/IP
NDIS 5.1
802.1D
Ethernet
802.11
BthNet
1394
Bluetooth
IrDA
19What is an adhoc network?
- No network infrastructure at all
- E.g. back to back Ethernet
- APIPA when no DHCP server
- NetBT broadcast for adhoc name resolution
- Interconnections not managed
- Multiple interconnections to destinations
- Loops in the network
- Home network
- ICS contains DNS proxy and DDNS support for the
adhoc home network - Service Discovery Protocols
- SSDP protocol enables UPnP discovery
- SDP protocol enables Bluetooth wireless
technology discovery - IrLAP protocol enables IrDA discovery
20IrDA/Bluetooth Architecture
FTP
IrTRAN-P server
Print monitor
OBEX
Unimodem
IPOb
BthOb
IrOb
Winsock
UPnP
RFComm
BthMDM
NDISWAN
IrDial
TCP/IP
IrLPT
IrCOMM
TinyTP
IrLMP
IrLAP
KsMixer
HID
802.1D
IrSIR
FIR driver
NDIS
BtAudio
BtHID
BthNet
BthPORT
SERIAL
BthPCCARD
BthUSB
Hardware
USBD
PCMCIA
IrDA hardware
BT hardware
21IrDA Applications
- File transfer
- Integrated into shell
- Image exchange from camera
- Dial-up networking via cellphone
- Printing
- Synchronization
- ActiveSync
22Bluetooth Applications
- Subset of IrDA
- File transfer
- Integrated into IrDA ftp transfer
- Dial-up Networking via cellphone
- IR and Bluetooth applications are tied to
particular media - Do not inter-operate
23Bluetooth Architecture Overview Andrew
LiuTechnical Marketing ManagerIntel
Architecture LabsIntel Corporation
"The Bluetooth Specification is still
preliminary All information regarding Bluetooth
is subject to change without notice"
24Agenda
- Bluetooth SIG update
- Bluetooth architectural overview
- Summary/call to action
25What Does Bluetooth Wireless Technology Do For
You?
Landline
Cable Replacement
Data/Voice Access Points
Personal Ad-hoc Networks
26Program Update
- Final specification published Monday 7/26/99
- Core technology specs and Profile requirements
- Result of work from 200 engineers
- Bluetooth membership exceeds 1,800 companies!
- Bluetooth wireless technology becoming the choice
for wireless connectivity - Full list of member companies on Web site
www.bluetooth.com - Bluetooth program on track for products available
in 2000 - Products available this year
- Next step is qualification program
- SIG now focusing on ensuring product
interoperability - Bluetooth qualification program started
- Bluetooth wireless technology is the basis for
the IEEE 802.15.1 standard - Bluetooth SIG has expanded
- New contracts and membership types
27The SIG Formally Known As Bluetooth )
- New Contracts
- Adopter/Early Adopter Early Adopter
- Early Adopter Contract
- Early Adopter in working group Associate
- Early Adopter Contract, Associate Amendment
- Open IP license to Bluetooth wireless technology
- Original Foundation Specifications
- New technology in and around the 12 specification
working groups - Only need to sign 1 contract to use any Bluetooth
wireless technology (the new one)
28Bluetooth Momentum
29Future Directions for Bluetooth
- Bluetooth Second Generation Radio
- Bluetooth Personal Area Networking
- Bluetooth in and around the Car
- Bluetooth Wake-up
- Bluetooth Human Interface Devices (HID)
- Bluetooth Audio/Visual
- Bluetooth ISM interference/Interoperability
- Bluetooth Printing
- Bluetooth Still Image
- Bluetooth Extended Service Discovery Protocols
- Bluetooth Local Positioning
- Bluetooth UDI
30What is Bluetooth?
Application Framework and Support
Host Controller Interface
Link Manager and L2CAP
Radio Baseband
Latest Version on Bluetooth Website www.Bluetoot
h.com
- A hardware description
- An application framework
31What is Bluetooth?
- A hardware description
- An application framework
Modules
32Testing to Specification
Application Framework Certification
Basic Layer Certification
- Bluetooth devices will be tested against the
specification - Bluetooth Qualified Test Facilities (BQTF)
33What does Bluetooth Do?
34Who is Bluetooth?
- Harald Blaatand Bluetooth II
- King of Denmark 940-981
- Son of Gorm the Old (1st King of Denmark) and
Thyra Danebod (daughter of King Ethelred of
England)
- This is one of two Runic stones erected in his
capitol city of Jelling (central Jutland) - This is the front of the stone depicting the
chivalry of Harald. - The stones inscription (runes) say
- Harald christianized the Danes
- Harald controlled Denmark and Norway
- Harald thinks notebooks and cellular phones
should seamlessly communicate
35Bluetooth RF Specifications
- Specified for low cost, single chip
implementation - Noise floor margin for substrate noise and low
current LNA - Linearity set by near-far problem
- In-band image allows low-cost low IF
- VCO phase noise enables integrated VCO
- TX-RX turn around time enables single synthesizer
- 2.4 ISM band chosen for global use and process
capabilities - Sensitivity traded for low cost integration of
transceiver and baseband
36Basic Baseband Protocol
One
Slot
Packet
- Spread spectrum frequency hopping radio
- 79/23 one MHz channels
- Hops every packet
- Packets are 1, 3, or 5 slots long
- Frame consists of two packets
- Transmit followed by receive
- Nominally hops at 1600 times a second (1 slot
packets)
37Network Topology
- Radio Designation
- Connected radios can be master or slave
- Radios are symmetric (same radio can be master or
slave) - Piconet
- Master can connect to 7 simultaneous or 200
active slaves per piconet - Each piconet has maximum capacity (1 MSPS)
- Unique hopping pattern/ID
- Scatternet
- High capacity system
- Minimal impact with up to 10 piconets within
range - Radios can share piconets!
S
P
M
M
sb
P
S
sb
P
S
S
38The Piconet
- All devices in a piconet hop together
- In forming a piconet, master gives slaves its
clock and device ID - Hopping pattern determined by device ID (48-bit)
- Phase in hopping pattern determined by Clock
- Non-piconet devices are in standby
- Piconet Addressing
- Active Member Address (AMA, 3-bits)
- Parked Member Address (PMA, 8-bits)
39Functional Overview
- Standby
- Waiting to join a piconet
- Inquire
- Ask about radios to connect to
- Page
- Connect to a specific radio
- Connected
- Actively on a piconet (master or slave)
- Park/Hold/Sniff
- Low Power connected states
Unconnected
Standby
Standby
Disconnect
T
typical2s
Connecting
Inquiry
Page
States
T
typical0.6s
Transmit
Connected
Active
data
AMA
States
AMA
T
T
T
typical2 ms
typical2 ms
typical2 ms
Releases
HOLD
PARK
SNIFF
Low Power
AMA
AMA
PMA
AMA
States
Address
40Packet Types/Data Rates
- ASL Packet like behavior
- SCO Circuit like behavior
41Mobile Battery Life
- Low power consumption
- Standby current lt 0.3 mA
- Þ 3 months
- Voice mode 8-30 mA
- Þ 75 hours
- Data mode average 5 mA
- (0.3-30mA, 20 kbit/s, 25)
- Þ 120 hours
- Low Power Architecture
- Programmable data length (else radio sleeps)
- Hold and Park modes 60 µA
- Devices connected but not participating
- Hold retains AMA address, Park releases AMA, gets
PMA address - Device can participate within 2 ms
- Estimates calculated with 600 mAh battery and
internal amplifier, power will vary with
implementation
42Error Handling
0-2745b
72b
54b
access code
header
payload
- Forward-error correction (FEC)
- headers are protected with 1/3 rate FEC and HEC
- payloads may be FEC protected
- 1/3 rate simple bit repetition (SCO packets
only) - 2/3 rate (10,15) shortened Hamming code
- 3/3 rate no FEC
- ARQ (ACL packets only)
- 16-bit CRC (CRC-CCITT) 1-bit ACK/NACK
- 1-bit sequence number
43Bluetooth Security Features
- Fast Frequency Hopping (79 channels)
- Low Transmit Power (range lt 10m)
- Authentication of remote device
- Based on link key (128 Bit)
- May be performed in both directions
- Encryption of payload data
- Stream cipher algorithm (? 128 Bit)
- Affects all traffic on a link
- Initialization
- PIN entry by user
44Application Level Security
- Builds on-top of link-level security
- Creates trusted device groups
- Security levels for services
- Authorization required
- Authentication required
- Encryption required
- Different or higher security requirements could
be added - Personal authentication
- Higher security level
- Public key
45Application level security
- Builds on-top of link-level security
- creates trusted device groups
- Security levels for services
- authorization required
- authentication required
- encryption required
- Different or higher security requirements could
be added - Personal Authentication
- Higher Security Level
- Public Key
46Bluetooth Is Global
- One version for the world
- Architecture compliant with global emission rules
(2.4 GHz ISM band) - Working through FCC, EC, MPT for spectrum, and
power harmonization - Architecture compliant and safe for use on
airlines - Working with FAA, JAA, FCC, airplane
manufacturers, and airlines - Reviewing security architecture with affected
countries
47Bluetooth Radio Modules
- Complete radio on a module
- Designed to meet Limited Module Compliance
(LMA) requirements - Pre-certified to meet global regulatory
requirements - Allows devices assembled with modules to be
self-certified - USB Interface
- Solder-ball connections
- External Antennae
25 mm dia
17x33mm
36x43mm
48Bluetooth Protocols
vCard/vCal
WAE
Audio
Printing
Still Image
OBEX
WAP
RFCOMM
TCP/UDP
HID
IP
Service Discovery
TCS
L2CAP
Host Controller Interface
- Bluetooth Specific
- Reused Spec
- Modified
49Bluetooth protocols
- Host Controller Interface (HCI)
- provides a common interface between the Bluetooth
host and a Bluetooth module - Interfaces in spec 1.0 USB UART RS-232
- Link Layer Control Adaptation (L2CAP)
- A simple data link protocol over baseband
- connection-oriented connectionless
- protocol multiplexing
- segmentation reassembly
- QoS flow specification per connection (channel)
- group abstraction
50Bluetooth protocols
- Service Discovery Protocol (SDP)
- Defines a service record format
- Information about services provided by attributes
- Attributes composed of an ID (name) and a value
- IDs may be universally unique identifiers (UUIDs)
- Defines a inquire/response protocol for
discovering services - Searching for and browsing services
51Bluetooth protocols
- RFCOMM (based on GSM TS 07.10)
- emulates a serial-port to support a large base of
legacy (serial-port-based) applications - allows multiple ports over a single physical
channel between two devices - Telephony Control Protocol Spec (TCS)
- call control (setup release)
- group management for gateway serving multiple
devices - Legacy protocol reuse
- resuse existing protocols, e.g., IrDAs OBEX, or
WAP for interacting with applications on phones
52Interoperability And Profiles
- Represents default solution for usage model
- Vertical slice through the protocol stack
- Basis for interoperability and logo
requirements - Each Bluetooth device supports one or more
profiles
Applications
Protocols
Profiles
53Summary
- Bluetooth is a global, RF-based (ISM 2.4GHz
band), short-range, connectivity technology and
solution for portable, personal devices - It is not just a radio
- Create piconets on-the-fly (approximately 1Mbps)
- Piconets may overlap in time and space for high
aggregate bandwidth - The Bluetooth spec comprises
- A hardware and software protocol specification
- Usage case scenario profiles and
interoperability requirements - To learn more http//www.bluetooth.com
54Call To Action
- Join the SIG if you haven't already
- Help advance Bluetooth functionality by
supporting the working groups committees - Got a new usage model? Submit a request
- Learn how Bluetooth wireless technology works
NOW! - See Microsoft's presentation on Bluetooth
wireless technology - Big conference in Monte Carlo - check it out!
- More information http//www.Bluetooth.com
- Implement Bluetooth software and hardware in your
products and systems - Insure interoperability via Un-plugfests
- Help support native operating system development
- Provide test hardware to Microsoft
55Bluetooth StackIn Windows Ken Ray and Stan
AdermannSoftware Development EngineersWindows
DivisionMicrosoft Corporation
56Agenda
- Bluetooth Architecture in Windows
- Goals
- Components of the Stack
- Functionality
- Opportunities for IHVs and ISVs
- Applications
- Services
- Devices
57High Level Goals
- PC work with all devices
- Bluetooth Devices as PC peripherals
- Bluetooth Devices as PC companions
- Bluetooth Devices bridge to network resources
through a PC - Easy to configure and operate
- Extensible architecture
- Platform for third parties to add value
58Scenarios
- Device configuration
- Discovery
- Bonding
- Syncing and transfer through OBEX
- Files
- Pictures
- Vcards
- Dial up Networking
- Cell as modem
- Null Modem for Peer to peer
- Generic RFComm applications
- Non-OBEX synchronization
- Other serial-type applications
59Technical Requirements
- Bluetooth 1.0 Type II device classification
supported - Required profiles
- Bus Management Infrastructure
- Device and radio configuration
- Control panels
- System Trays
- Extensible framework for value adds
- Devices
- Profiles
- Bus mgmt software
- RFComm applications
- Object Exchange and special object handling
- RAS and TAPI over Unimodem
60Bluetooth Stack Diagram
TAPI
OBEX.DLL
SDP/Advisor
WinSock2
UNIMODEM.TSP
MODEM.SYS
AFD.SYS
BTHMODEM.SYS
AUDIO
RFCOMM.SYS
HID
BTHPORT.SYS
61Stack Components
- BthPort
- L2Cap / HCI
- Hardware abstraction Serial, USB
- Enumeration of Found Bound Services
- SDP/Management UI
- Bus management
- User notification of newly discovered devices
- User assisted Configuration and Bonding
- Configuration of radio
- Local Service Exposure and Publication
62Stack Components
- RFCOMM
- RFComm Profile
- TDI interface for WinSock (AFD)
- Bus enumeration for DUNs
- BthModem (a WDM modem)
- OBEX.DLL
- Object Exchange 1.2
- Bus Agnostic
63BthPort
- Support Currently Defined buses USB, Serial,
16550 - Plug and Play events
- Bluetooth Request Blocks
64SDP
- Provide a builder interface to easily create a
service record - Kernel mode
- Client drivers can submit a list of UUIDs to
search for on all newly discovered devices or
initiate a SDP search outside of device discovery - BThPort will search for all the services in the
browse group hierarchy - User mode
- Initiate searches
- Browse service records
65Management UI
- Present user with devices in range and bound
devices - Allows the user to easily change the relationship
with remote device - Provide unobtrusive PIN and authorization
notifications - UI is accessible from third-party applications
for a standard user experience - Advanced features
- Filter devices based on COD or address
- Local radio settings
- Manage power policies
66OBEX
- Full OBEX 1.2 implementation
- Put
- Get
- SetPath
- Definable transactions
- COM API
- Extensible to other media and transports
67OBEX
OBEX.DLL
?
OBEXBT.DLL
OBEXIrDA.DLL
OBEXIP.DLL
WINSOCK 2
SDP
68RFCOMM
RFCOMM.SYS
BTHPORT.SYS
File Transfer/OBEX
DUN/Lan Access
69Opportunities To Add Value
- RF comm applications
- OBEX applications/extensions
- Bluetooth management application
- New device types and/or class drivers
- Radios on new hardware buses
70RF Comm Applications
- Applications looking for virtual serial ports not
supported - Legacy TAPI/Unimodem applications see peer
devices as NULL Modems - Applications enumerate Modem/Serial Devices
through Unimodem
71RF Comm Applications
- Winsock allows for dynamic discovery and
communication - Talk to the device, not to the conduit (My
Laserjet versus LPT2) - Once bonded device is in range the application
can find and use it - Allows for multiple remote connection to same
service - Not necessary to manage multiple virtual COMx
ports
72OBEX Applications
- Examples
- Photos
- Vcards (not in the box)
- Simple databases
- Server
- Registration
- New Obex Commands and types
- Application can register as handler for custom
commands - Client
- Discovery
- Navigate directory structure (enumerate objects)
- Push Pull objects