Bluetooth
Harrison Dempsey, Prateek Jain, Jeremy Maurice, Oliver Miles
Bluetooth Harrison Dempsey, Prateek Jain, Jeremy Maurice, Oliver - - PowerPoint PPT Presentation
Bluetooth Harrison Dempsey, Prateek Jain, Jeremy Maurice, Oliver Miles Outline: What were going to tell you I. Brief overview of wireless technologies II. What is Bluetooth? Why do we use it? III. Specification overview - radio band,
Harrison Dempsey, Prateek Jain, Jeremy Maurice, Oliver Miles
I. Brief overview of wireless technologies II. What is Bluetooth? Why do we use it? III. Specification overview - radio band, range, and power IV. Bluetooth Profiles V. Data transfer - Packets and Frequency Hopping VI. Networks - Pairing and Piconets
2 https://nksoldes2015.com/explore/notepad-clipart/
Advantages
range, mobile devices) Disadvantages
3
○ ZigBee ○ BLE (Bluetooth Low Energy)
○ Bluetooth
○ WiFi ○ WiMax/RF Each option has its strengths and weaknesses… let’s look at Bluetooth.
4
○ King who united Denmark in the 10th century
○ Ericsson, Nokia, IBM, Toshiba, Intel, and more ○ Wanted to create a unified standard to exchange data over short distances ○ Initial goal ■ Replace wires ■ “Unite devices”
5 http://daniel-mccloskey.deviantart.com/art/Harald-Bluetooth-644300366
between devices - “piconet”
○ Device control ○ File transfer
6 https://vestavialibrary.org/bluetooth-upgrade-more-speed-greater-range/
Advantages
to perform complex activities ○
audio with relatively low latency
○ Bluetooth Profiles
range
7
Disadvantages
○
Blueborne - BT stack vulnerabilities allowed for devices to be compromised without being paired
○
2.4 GHz
(https://learn.sparkfun.com/tutorials/bluetooth-basics/wireless-comparison) 8
○ Goes from 2.402 Ghz to 2.48 Ghz ○ 79 one Mhz channels
○ ~200 μsec used for synchronization
○ Every other hop is assigned to either the master or slave transmission
○ Changes frequency for each hop
9
○ 100mW Transmit Power Limit ○ Typical range: ~100 m ○ Generally requires power isolation to prevent interference
○ 2.5mW Transmit Power Limit ○ Typical range: ~10 m
○ 1mW Transmit Power Limit ○ Typical Range: ~1 m
10
What is a Bluetooth profile?
○ Defines how the device uses the Bluetooth protocol- which parts of the stack are used? ○
○ A device can support multiple profiles
Why are Bluetooth profiles important?
○ Standardized implementation- a device is guaranteed compatibility with other devices of the same profile.
11
12
○ Hands-Free Profile and Headset Profile ■ Hands-free calling ■ Earpieces ○ A/V Remote Control Profile ■ Car Audio System ○ Advanced Audio Distribution Profile ■ Headphones, Microphones
○ Serial Port Profile ■ Communication between Arduino devices ○ Human Interface Device ■ Keyboards, mice, game controllers
Bluetooth Profiles in Google Nexus/Pixel phones
13
https://support.google.com/nexus/answer/6048862?hl=en
○ Master and slave alternate transmitting and receiving ○ Master transmits during even-numbered slots ○ Slave transmits during
14
http://sna.csie.ndhu.edu.tw/~cnyang/PDF/bt_tut.pdf
packet identification
device address, type
transmission
15
http://www.ques10.com/p/2706/explain-the-frame-format-in-bluetooth-technology-1/
“burst” feature of the AHB
16
http://sna.csie.ndhu.edu.tw/~cnyang/PDF/bt_tut.pdf
bands
○ 79 frequency bands to choose from
follow
spectrum
17
18
https://www.youtube.com/watch?v=CkhA7s5GIGc
○ Receive/transmit signals
○ Error catching ○ Physical linking to all layers
○ Controls linking between devices with pairing
Adaptation Protocol (L2CAP)
○ Interface with host controller
https://www.engineersgarage.com/articles/bluetooth-protocol-basics-working 19
○ Identify themselves and their services via profiles
profile
connection without user input
passkeys are exchanged, devices can share data
config needed
20 http://manuals.denon.com/WMS/DSB-200/EM/ENG/BONDSYaaimogad.html
○ Pairing is slow
○ Increase effective phone battery by broadcasting less frequently ○ Could be broadcasting as frequently as every 6ms or as slow as once every 5s ○ Can manage in software and disable checking until required by user
21
devices ○ 6 slaves and 1 master ○ More devices can be connected in either parked or hold mode and remain synchronized
slave in another piconet ○ Forms scatter net ○ Time division multiplexed between piconets
http://sna.csie.ndhu.edu.tw/~cnyang/PDF/bt_tut.pdf 22
23
I. Brief overview of wireless technologies ○ Wireless is convenient but has higher power consumption and is slower II. What is Bluetooth? Why do we use it? ○
Standardized, cheap middle ground
III. Specification overview - radio band, range, and power ○
Moderate range, low-moderate power consumption
IV. Bluetooth Profiles ○
Profiles guarantee compatibility, different profiles for different types of data
V. Data transfer - Packets and Frequency Hopping
○ Frequency hop to avoid interference
VI. Networks - Pairing and Piconets
○ Up to 7 device to device connections
24
25
26
http://www.ques10.com/p/2706/explain-the-frame-format-in-bluetooth-technology-1/