Wireless Protocols for IoT Part I: Bluetooth and Bluetooth Smart

Similar documents
Guide to Wireless Communications, 3 rd Edition. Objectives

CS4/MSc Computer Networking. Lecture 13: Personal Area Networks Bluetooth

Bluetooth: Short-range Wireless Communication

ENRNG3076 : Oral presentation BEng Computer and Communications Engineering

Computer Networks II Advanced Features (T )

Wireless Sensor Networks BLUETOOTH LOW ENERGY. Flavia Martelli

Local Area Networks NETW 901

Bluetooth Demystified

Bluetooth. Bluetooth Radio

Bluetooth low energy technology Bluegiga Technologies

CS263: Wireless Communications and Sensor Networks

Amarjeet Singh. February 7, 2012

Introduction to Wireless Networking ECE 401WN Spring 2009

e-pg Pathshala Quadrant 1 e-text

12/2/09. Mobile and Ubiquitous Computing. Bluetooth Networking" George Roussos! Bluetooth Overview"

[A SHORT REPORT ON BLUETOOTH TECHNOLOGY]

UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.

ALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL

Bluetooth LE 4.0 and 4.1 (BLE)

WPAN-like Systems. UWB Ultra Wide Band. IrDA Infrared Data Association. Bluetooth. Z-Wave. WPAN Wireless Personal Area Network

Introduction to Bluetooth Wireless Technology

Wireless Protocols for IoT Part II: IEEE Wireless Personal Area Networks

Embedded Systems. 8. Communication

MOBILE COMPUTING. Jan-May,2012. ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala.

WPAN/WBANs: ZigBee. Dmitri A. Moltchanov kurssit/elt-53306/

Bluetooth. Basic idea

Bluetooth. The Bluetooth Vision. Universal Wireless Connectivity. Universal Wireless Connectivity

IEEE Wireless LANs Part I: Basics

WIRELESS-NETWORK TECHNOLOGIES/PROTOCOLS

WIRELESS TECHNOLOGIES

Wireless Protocols for IoT Part II: IEEE Wireless Personal Area Networks

Bluetooth SIG Liaison Report May 2009

Inside Bluetooth. Host. Bluetooth. Module. Application RFCOMM SDP. Transport Interface. Transport Bus. Host Controller Interface

Junseok Kim Wireless Networking Lab (WINLAB) Konkuk University, South Korea

Wireless# Guide to Wireless Communications. Objectives

Introduction to Bluetooth Low Energy

CHAPTER 12 BLUETOOTH AND IEEE

Wireless Personal Area Networks

AT THE END OF THIS SECTION, YOU SHOULD HAVE AN UNDERSTANDING OF THE

Communication Systems. WPAN: Bluetooth. Page 1

Modulation. Propagation. Typical frequency bands

Solving the Interference Problem due to Wireless LAN for Bluetooth Transmission Using a Non- Collaborative Mechanism. Yun-Ming, Chiu 2005/6/09

PM0257. BlueNRG-1, BlueNRG-2 BLE stack v2.x programming guidelines. Programming manual. Introduction

CHAPTER 3 BLUETOOTH AND IEEE

Wireless Networked Systems

Wireless Sensor Networks

Wireless and Mobile Networks

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

MOBILE COMPUTING. Bluetooth 9/20/15. CSE 40814/60814 Fall Basic idea

Special Course in Computer Science: Local Networks. Lecture

Wireless Personal Area Networks & Wide Area Networks

Objectives of the Bluetooth Technology

Bluetooth 5 Presenter Tomas O Raghallaigh )

Wireless Communications

By FaaDoOEngineers.com

Bluetooth Low Energy. Fillipe Resina Marcela Terakado Ricardo Guimarães. Institute of Mathematics and Statistics - University of São Paulo

SE 4C03 Winter 2005 Bluetooth Wireless Network Technology

Wireless LANs & PANs Case Study: Bluetooth & IEEE W.lan.4

CS123 - Communication

Energy Efficient Mobile Compu4ng Building low power sensing devices with Bluetooth low energy. Simo Veikkolainen Nokia May 2014

Feasibility of a Bluetooth Based Structural Health Monitoring Telemetry System

Bluetooth. Renato Lo Cigno

Implementing A Bluetooth Stack on UEFI

When is Bluetooth not Bluetooth?

Ah-Hoc, PAN, WSN,... Introduction Bluetooth ( ) Zigbee ( ) Renato Lo Cigno

Redes Inalámbricas Tema 2.B Wireless PANs: Bluetooth

Seminar: Mobile Systems. Krzysztof Dabkowski Supervisor: Fabio Hecht

Inside Bluetooth Low Energy

STA-MU-A0028S (MiniCard-USB version)

Wireless LANs/data networks

Bluetooth. Quote of the Day. "I don't have to be careful, I've got a gun. -Homer Simpson. Stephen Carter March 19, 2002

Wireless Local Area Networks (WLANs) Part I

ECE 435 Network Engineering Lecture 8

Wireless (NFC, RFID, Bluetooth LE, ZigBee IP, RF) protocols for the Physical- Data Link layer communication technologies

Wireless Protocols Overview

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

KW41Z IEEE and BLE Coexistence Performance

Ad Hoc Nets - MAC layer. Part II TDMA and Polling

Bluetooth: Technology and Applications. Yang Bo, CTTL SYS, CAICT

Lecture Objectives. Lecture and Bluetooth technology. Agenda. IEEE b. Characteristics. Center Frequencies

A Study Wireless Communication Domain

Bluetooth. Bluetooth Basics Bluetooth and Linux Bluetooth at AG Tech. Dr.-Ing. H. Ritter, 7.1

STA-UI-A003D (USB version)

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

Message acknowledgement and an optional beacon. Channel Access is via Carrier Sense Multiple Access with

DASH7 ALLIANCE PROTOCOL - WHERE RFID MEETS WSN. public

What is a personal area network?

Wireless Networking: An Introduction. Hongwei Zhang

System Level Analysis of the Bluetooth standard

Structure of the Lecture

Sensor Application for Museum Guidance

Wireless Local Area Network. Internet Protocol Suite

Bluetooth Tutorial. Bluetooth Introduction. Bluetooth Technology

Chapter 1. Uses of Computer Networks Network Hardware Network Software Reference Models Example Networks Network Standardization. Revised: August 2011

CSC 4900 Computer Networks: Wireless Networks

Module 5. Embedded Communications. Version 2 EE IIT, Kharagpur 1

A Routing Protocol and Energy Efficient Techniques in Bluetooth Scatternets

Introduction to Bluetooth

Simulation of Bluetooth Network

Performance Evaluation of Bluetooth Low Energy Communication

Transcription:

Wireless Protocols for IoT Part I: Bluetooth and Bluetooth Smart Raj Jain Professor of CSE Washington University in Saint Louis Saint Louis, MO 63130 Jain@cse.wustl.edu Audio/Video recordings of this class lecture are available on-line at: 11-1

Overview 1. Wireless Personal Area Networks (WPANs) 2. IEEE 802.15 Projects 3. Bluetooth: Packet Format, Energy Management 4. Bluetooth Protocol Stack, Application Profiles 5. Bluetooth LE: Protocol Stack, PHY, MAC 6. Bluetooth and WiFi Coexistence Note: This is 1 st in a series of lectures on WPANs. ZigBee and other networks are discussed in subsequent lectures. 11-2

Wireless Personal Area Networks (WPANs) 10m or less 802.16e Nomadic 802.20 Mobile Wide Area Network (WAN) 802.21 Handoff 802.22 WRAN Metropolitan Area Network (MAN) 2G, 2.5G, 3G Cellular 802.16/WiMAX Fixed Wireless MAN Local Area Network (LAN) 802.11 Wi-Fi Personal Area Network (PAN) 802.15.1 Bluetooth 802.15.4 ZigBee 802.15.6 Body Area Networks 11-3

WPAN: Design Challenges Battery powered: Maximize battery life. A few hours to a few years on a coin cell. Dynamic topologies: Short duration connections and then device is turned off or goes to sleep No infrastructure Avoid Interference due to larger powered LAN devices Simple and Extreme Interoperability: Billions of devices. More variety than LAN or MAN Low-cost: A few dollars 11-4

IEEE 802.15 Projects IEEE 802.15.1-2005: Bluetooth 1.2 IEEE 802.15.2-2003: Coexistence Recommended Practice IEEE 802.15.3-2003: High Rate (55 Mbps) Multimedia WPAN IEEE 802.15.3a: Ultra-Wide Band Phy - disbanded IEEE 802.15.3b-2005: MAC Interoperability IEEE 802.15.3c-2009: High Rate (>1Gbps) mm Wave PHY IEEE 802.15.3d: 100 Gbps point-to-point Phy IEEE 802.15.3e: High-Rate close proximity point-to-point MAC and PHY IEEE 802.15.4-2011: Low Rate (250kbps) WPAN - ZigBee IEEE 802.15.4e-2012: MAC Enhancements 11-5

IEEE 802.15 Projects (Cont) IEEE 802.15.4f-2012: PHY for Active RFID IEEE 802.15.4g-2012: PHY for Smart Utility Networks IEEE 802.15.4h: 802.15.4 Corrigendum 1 IEEE 802.15.4i: 802.15.4 Roll-up to include 15.4a, c & d IEEE 802.15.4j-2013: Medical Body Area Network 2.36-2.4 GHz IEEE 802.15.4k-2013: Low Energy Critical Infrastructure Monitoring PHY IEEE 802.15.4m-2014: TV White Spaces PHY IEEE P802.15.4n: China Medical Band PHY IEEE P802.15.4p-2014: Positive Train Control (Rail Communications & Control) PHY IEEE P802.15.4q: Ultra Low Power PHY 11-6

IEEE 802.15 Projects (Cont) IEEE 802.15.4r: Common Ranging (Distance Measurement) Protocol IEEE 802.15.4s: System resource usage IEEE 802.15.4t: High rate PHY IEEE 802.15.4u: 865-867 MHz band in India IEEE 802.15.5-2009: Mesh Networking. Full/partial meshes. Range Extension IEEE 802.15.6-2012: Body Area Networking. Medical and entertainment. Low power IEEE 802.15.7-2011: Visible Light Communications IEEE 802.15.7r1: Optical wireless (infrared, ultraviolet, visible light) IEEE P802.15.8: Peer Aware Communications 11-7

IEEE 802.15 Projects (Cont) IEEE P802.15.9: Key Management Protocol IEEE P802.15.10: Layer 2 (Mesh) Routing IEEE 802.15 SG12: Consolidated Link Layer Control study group IEEE 802.15 IG6T: Consolidate Link Layer Control interest group IEEE 802.15 IGdep: Enhanced Dependability interest group IEEE 802.15 IGguide: Guide for 15.4 use interest group IEEE 802.15 IGhrrc: High Rate Rail Communications interest group IEEE 802.15 ITTHz: Terahertz interest group IEEE 802.15 SCwng: Wireless Next-Generation standing committee IEEE 802.15 SCmaint: Maintenance standing committee 11-8

Li-Fi Optical wireless using light Localized Secure High SNR Dense reuse No electromagnetic interference Good for EMI sensitive environments, e.g., planes Ref: N. Serafimovski, What is Li-Fi?, Jan 2015, https://mentor.ieee.org/802.15/dcn/15/15-15-0107-01-007a-lifi-definition.pptx 11-9

Bluetooth Started with Ericsson's Bluetooth Project in 1994 for radiocommunication between cell phones over short distances Named after Danish king Herald Blatand (AD 940-981) who was fond of blueberries Intel, IBM, Nokia, Toshiba, and Ericsson formed Bluetooth SIG in May 1998 Version 1.0A of the specification came out in late 1999. IEEE 802.15.1 approved in early 2002 is based on Bluetooth Later versions handled by Bluetooth SIG directly Key Features: Lower Power: 10 ma in standby, 50 ma while transmitting Cheap: $5 per device Small: 9 mm 2 single chips 11-10

Bluetooth Versions Bluetooth 1.1: IEEE 802.15.1-2002 Bluetooth 1.2: IEEE 802.15.1-2005. Completed Nov 2003. Extended SCO, Higher variable rate retransmission for SCO + Adaptive frequency hopping (avoid frequencies with interference). Bluetooth 2.0 + Enhanced Data Rate (EDR) (Nov 2004): 3 Mbps using DPSK. For video applications. Reduced power due to reduced duty cycle Bluetooth 2.1 + EDR (July 2007): Secure Simple Pairing to speed up pairing Bluetooth 3.0+ High Speed (HS) (April 2009): 24 Mbps using WiFi PHY + Bluetooth PHY for lower rates Bluetooth 4.0 (June 2010): Low energy. Smaller devices requiring longer battery life (several years). New incompatible PHY. Bluetooth Smart or BLE Bluetooth 4.1: 4.0 + Core Specification Amendments (CSA) 1, 2, 3, 4 Bluetooth 4.2 (Dec 2014): Larger packets, security/privacy, IPv6 profile Ref: ITL, Security of Bluetooth Systems and Devices, http://csrc.nist.gov/publications/nistbul/august-2012_itl-bulletin.pdf 11-11

Bluetooth: Details Frequency Range: 2402-2480 MHz (total 79 MHz band) 23 MHz in some countries, e.g., Spain Data Rate: 1 Mbps using 1 MHz (Nominal) 720 kbps (User) Radio Frequency hopping: 1600 times/s 625 ms/hop Security: Challenge/Response Authentication. 128b Encryption TX Output Power: Class 1: 20 dbm Max. (0.1W) 100m Class 2: 4 dbm (2.5 mw) Class 3: 0 dbm (1mW) 10m Frequency Ref: http://www.bluetooth.com/, http://www.bluetooth.org/, http://grouper.ieee.org/groups/802/15/index.html 11-12 Network 1 Network 2 Time

Piconet Piconet is formed by a master and many slaves Up to 7 active slaves. Slaves can only transmit when requested by master Up to 255 Parked slaves Active slaves are polled by master for transmission Each station gets a 8-bit parked address 255 parked slaves/piconet The parked station can join in 2ms. Other stations can join in more time. Scatter net: A device can participate in multiple Pico nets Timeshare and must synchronize to the master of the current piconet. Routing protocol not defined. Ref: P. Bhagwat, Bluetooth Technology for short range wireless Apps, IEEE Internet Computing, May-June 2001, pp. 96-103, bluetooth.pdf (Must read) 11-13

Frequency Hopping Sequences Frequency 1 Frequency 2 Frequency 3 625 ms slots using a 312.5 ms clock Time-division duplex (TDD) Downstream and upstream alternate Master starts in even numbered slots only. Slaves start in odd numbered slots only Slaves can transmit in one slot right after receiving a packet from master Packets = 1 slot, 3 slot, or 5 slots long The frequency hop is skipped during a packet. 11-14

Bluetooth Packet Format Access Baseband/Link Data Code Control Header Payload 72b 54b 0-2745b Packets can be up to five slots long. 5 slots =3125 bits. Access codes: Channel access code identifies the piconet Device access code for paging requests and response Inquiry access code to discover units Header: member address (3b), type code (4b), flow control, ack/nack (1b), sequence number, and header error check (8b) 18b Header is encoded using 1/3 rate FEC resulting in 54b Synchronous traffic has periodic reserved slots. Other slots can be allocated for asynchronous traffic 11-15

Bluetooth Operational States Disconnected Standby Connecting Inquiry Page Active Transmit Connected Low Power Park Sniff Hold Standby: Initial state Inquiry: Master sends an inquiry packet. Slaves scan for inquiries and respond with their address and clock after a random delay (CSMA/CA) 11-16

Bluetooth Operational States (Cont) Page: Master in page state invites devices to join the piconet. Page message is sent in 3 consecutive slots (3 frequencies). Slave enters page response state and sends page response including its device access code. Master informs slave about its clock and address so that slave can participate in piconet. Slave computes the clock offset. Connected: A short 3-bit logical address is assigned Transmit: Standby Inquiry Page Transmit Connected Park Sniff Hold 11-17

Energy Management in Bluetooth Three inactive states: 1. Hold: No Asynchronous Connection List (ACL). Synchronous Connection Oriented (SCO) continues. Node can do something else: scan, page, inquire 2. Sniff: Low-power mode. Slave listens after fixed sniff intervals. 3. Park: Very Low-power mode. Gives up its 3-bit active member address and gets an 8-bit parked member address. Wake up periodically and listen to beacons. Master broadcasts a train of beacons periodically Sniff Park 11-18

Bluetooth Protocol Stack Application Middleware Audio Transport BNEP Applications (Profiles) TCS RFCOMM SDP L2CAP Link Manager Baseband RF RF: Frequency hopping Gaussian Frequency Shift Keying (GFSK) modulation Baseband: Frequency hop selection, connection, MAC Host Controller Interface Freq. 1010 Time FSK Freq. 1010 Time GFSK 11-19

Baseband Layer Each device has a 48-bit IEEE MAC address 3 parts: Lower address part (LAP) 24 bits Upper address part (UAP) 8 bits Non-significant address part (NAP) - 16 bits UAP+NAP = Organizationally Unique Identifier (OUI) from IEEE LAP is used in identifying the piconet and other operations Clock runs at 3200 cycles/sec or 312.5 ms (twice the hop rate) Upper Address Part Non-sig. Address Part Lower Address Part 8b 16b 24b 11-20

Bluetooth Protocol Stack (Cont) Link Manager: Negotiate parameters, Set up connections Logical Link Control and Adaptation Protocol (L2CAP): Protocol multiplexing Segmentation and reassembly Controls peak bandwidth, latency, and delay variation Host Controller Interface: Chip independent interface to Bluetooth chip. Allows same software to run on all chips. RFCOMM Layer: Presents a virtual serial port Sets up a connection to another RFCOMM Service Discovery Protocol (SDP): Devices can discover the services offered and their parameters Audio Applications (Profiles) BNEP TCS RFCOMM SDP L2CAP Link Manager Baseband Host Controller Interface 11-21 RF

Bluetooth Protocol Stack (Cont) Bluetooth Network Encapsulation Protocol (BNEP): To transport Ethernet/IP packets over Bluetooth IrDA Interoperability protocols: Allow existing IrDA applications to work w/o changes. IrDA object Exchange (IrOBEX) and Infrared Mobile Communication (IrMC) for synchronization Audio is carried over 64 kbps over SCO links over baseband Telephony control specification binary (TCS-BIN): Call control including group management (multiple extensions, call forwarding, and group calls) Application Profiles: Set of algorithms, options, and parameters. Audio Applications (Profiles) BNEP TCS RFCOMM SDP L2CAP Link Manager Baseband Host Controller Interface 11-22 RF

Application Profile Examples Headset Profile Global Navigation Satellite System Profile Hands-Free Profile Phone Book Access Profile SIM Access Profile Synchronization Profile Video Distribution Profile Blood Pressure Profile Cycling Power Profile Find Me Profile Heart Rate Profile Basic Printing Profile Dial-Up Networking Profile File Transfer Profile Ref: Bluetooth SIGn, Adopted Bluetooth Profiles, Services, Protocols and Transports, https://www.bluetooth.org/en-us/specification/adopted-specifications 11-23

Bluetooth and WiFi Coexistence Bluetooth frequency hops in 1 MHz carriers over 2402-2480 MHz (79 MHz total) WiFi uses OFDM with 52 subcarriers in 20 MHz channels in 2402-2480 MHz (3 non-overlapping channels) Most computers have both Bluetooth and WiFi Collaborative Strategies: Two networks on the same device Non-Collaborative Strategies: No common device 11-24

Collaborative Coexistence Strategies Both networks on the same equipment (Laptop or IPhone): 1. Time Division: Bluetooth skips slots when WiFi is busy, WiFi reserves time for Bluetooth between Beacons 2. Packet Traffic Arbitration: Packets are prioritized and queued on a common queue for transmission 3. Notch Filter: WiFi OFDM does not use subcarriers to which Bluetooth hops BT WiFi Notch 11-25

Non-Collaborative Coexistence Strategies Measure noise level and error rate: Random bit errors Þ Noise 1. Adaptive Packet Selection: Bluetooth uses coding (FEC and Modulation) depending upon interference. Use FEC only if noise. No FEC if interference. 2. Master Delay Policy: Bluetooth keeps track of error rates on various frequencies. Refrains from transmission on frequencies where interference is high 3. Adaptive frequency hoping: Hop over only good frequencies 4. Adaptive Notch Filter on WiFi 11-26

State Sensors periodically announce their state 30 F 55 km/hr 23 KwH Small data transfers Event triggered or polled. Gateway devices, e.g., cell phones, can transfer this data to Internet. Sensors do not need to speak IP. 11-27

Bluetooth Smart Low Energy: 1% to 50% of Bluetooth classic For short broadcast: Your body temperature, Heart rate, Wearables, sensors, automotive, industrial. Not for voice/video, file transfers, Small messages: 1Mbps data rate but throughput not critical. Battery life: In years from coin cells Simple: Star topology. No scatter nets, mesh, Lower cost than Bluetooth classic New protocol design based on Nokia s WiBree technology Shares the same 2.4GHz radio as Bluetooth Dual mode chips All new smart phones (iphone, Android, ) have dual-mode chips 11-28

2.4 GHz. 150 m open field Star topology Bluetooth Smart PHY 1 Mbps Gaussian Frequency Shift Keying Better range than Bluetooth classic Adaptive Frequency hopping. 40 Channels with 2 MHz spacing. 3 channels reserved for advertizing and 37 channels for data Advertising channels specially selected to avoid interference with WiFi channels Freq. 1010 Time FSK Freq. 1010 Time GFSK 37 0 1 2 3 4 5 6 7 8 9 10 38 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 39 Ref: J. Decuir, Bluetooth 4.0: Low Energy, 2010, http://chapters.comsoc.org/vancouver/btler3.pdf 11-29 Freq.

Bluetooth Smart MAC Two Device Types: Peripherals simpler than central Two PDU Types: Advertising, Data Non-Connectable Advertising: Broadcast data in clear Discoverable Advertising: Central may request more information. Peripheral can send data without connection General Advertising: Broadcast presense wanting to connect. Central may request a short connection. Directed Advertising: Transmit signed data to a previously connected master Peripheral Central Channel 37 Channel 38 Channel 39 Channel 37..39 Channel 37..39 Channel 37..39 Adv_Ind Adv_Ind Adv_Ind Ref: J. Decuir, Bluetooth 4.0: Low Energy, 2010, http://chapters.comsoc.org/vancouver/btler3.pdf 11-30 Scan_Req Scan_Resp Conn_Req

Bluetooth Smart MAC (Cont) After connecting, master tells slave about hopping sequence and wake up cycle All subsequent data transfers in 37 data channels Both devices can sleep between transactions Data can be encrypted. ~3 ms per transaction, 15 mw Power = 10 ma using 1.5V Þ 30mAs/transaction Þ 21.6 M transactions using 180 mah battery Þ 41.1 years with 1 transaction/minute Peripheral Advertising Channel Adv_Ind Slave Data Channels Data LL End Central Connect_Req Master Ack Ack Ack 11-31

Bluetooth Smart Protocol Stack Applications Generic Access Profile Generic Attribute Profile Attribute Protocol Security Manager Logical Link Control and Adaptation Protocol Host Controller Interface Link Layer Direct Test Mode Physical Layer Apps Host Controller Ref: J. Decuir, Bluetooth 4.0: Low Energy, 2010, http://chapters.comsoc.org/vancouver/btler3.pdf 11-32

Generic Attribute (GATT) Profile Defines data formats and interfaces with the Attribute Protocol Type-Length-Value (TLV) encoding is used Each attribute has a 16-bit Universally Unique ID (UUID) standardized by Bluetooth SIG 128-bit UUID if assigned by a manufacturer Allows any client to find a server, read/write data Allows servers to talk to generic gateways Allows security up to AES-128 Each to encode in XML Makes profile (application) development easier 11-33

Bluetooth Gateway Devices A gateway device helps connect a Bluetooth device to the Internet. Smart phone, Tablets, PC, A generic app can forward the data to the URL sent by the device 11-34

Bluetooth Smart Applications Proximity: In car, In room 303, In the mall Locator: Keys, watches, Animals Health devices: Heart rate monitor, physical activities monitors, thermometer Sensors: Temperature, Battery Status, tire pressure Remote control: Open/close locks, turn on lights Ref: E. Vlugt, Bluetooth Low Energy, Beacons and Retail, Verifone White paper, 2013, 12 pp., http://www.verifone.com/media/3603729/bluetooth-low-energy-beacons-retail-wp.pdf 11-35

Beacons Advertizing based on proximity Peripherals (your phone) broadcasts its presence if Bluetooth is turned on Primary aim of these broadcasts is to allow device discovery Advertising packets consist of a header and max 27B of payload with multiple TLV-encoded data items May include signal strength Þ Distance ios7 iphones can send/received ibeacons Can be used for customized advertising, indoor location, geofencing PayPal uses this to identify you. You can pay using a PIN and your phone. 11-36

Summary 1. Bluetooth basic rate uses frequency hoping over 79 1-MHz channels with 1, 3, 5 slots packets. 2. Three inactive states: hold, sniff, park. Has a fixed set of applications called "Profiles" 3. Bluetooth and WiFi co-exist by time-sharing or adaptive frequency notching 4. Bluetooth Smart is designed for short broadcasts by sensors. 40 2-MHz channels with 3 channels reserved for advertising. One or two-message exchanges 5. Generic attribute profile allows new applications using UUID for data types 11-37

Homework 11 Submit answer to the following Problem: Assume that in one slot in Bluetooth 256 bits of payload could be transmitted. How many slots are needed if the payload size is (a) 512 bits, (b) 728 bits, and (c) 1024 bits. Assume that the non-payload portions do not change. 11-38

Reading List: Bluetooth Kevin Townsend, Carles Cufí, Akiba, Robert Davidson, "Getting Started with Bluetooth Low Energy," O'Reilly Media, Inc., May 2014, 180 pp., ISBN:978-1-4919-4951-1 (Safari Book), Chapter 2. J. Decuir, Bluetooth 4.0: Low Energy, 2010, 62 pp., http://chapters.comsoc.org/vancouver/btler3.pdf E. Vlugt, Bluetooth Low Energy, Beacons and Retail, Verifone White paper, 2013, 12 pp., http://www.verifone.com/media/3603729/bluetoothlow-energy-beacons-retail-wp.pdf P. Bhagwat, "Bluetooth Technology for short range wireless Apps," IEEE Internet Computing, May-June 2001, pp. 96-103, http://ieeexplore.ieee.org/xpl/abstractkeywords.jsp?arnumber=935183 Logitech, Bluetooth FAQ, http://www.logitech.com/images/pdf/userguides/bluetooth-faq.pdf 11-39

References Bluetooth SIG, http://www.bluetooth.com/lowenergy Bluetooth SIG, BLUETOOTH 4.1 Features and Technical Description, 2013, https://www.bluetooth.org/enus/documents/bluetooth%204.1%20technical%20description.pdf Bluetooth SIG, "Adopted Bluetooth Profiles, Services, Protocols and Transports," https://www.bluetooth.org/en-us/specification/adoptedspecifications http://whatis.techtarget.com/definition/bluetooth-20edr ITL, "Security of Bluetooth Systems and Devices," http://csrc.nist.gov/publications/nistbul/august-2012_itl-bulletin.pdf E. Ferro and F. Potorti, ""Bluetooth and Wi-Fi wireless protocols: a survey and a comparison", Volume: 12 Issue: 1, Pages: 12-26, IEEE Wireless Communications, 2005, http://ieeexplore.ieee.org/iel5/7742/30466/01404569.pdf?tp=&arnumber=14 04569&isnumber=30466 11-40

References (Cont) P. McDermott-Wells, "What is Bluetooth?", Volume 23, Issue 5, Page(s):33-35, IEEE Potentials, 2005, http://ieeexplore.ieee.org/iel5/45/29958/01368913.pdf?tp=&arn umber=1368913&isnumber=29958 K.V.S.S.S.S. Sairam, N. Gunasekaran, and S.R. Redd, "Bluetooth in wireless communication" Volume 40, Issue 6, Page(s):90-96, IEEE Communications Magazine, June 2002, http://ieeexplore.ieee.org/iel5/35/21727/01007414.pdf?tp=&arn umber=1007414&isnumber=21727 B. Chatschik, "An overview of the Bluetooth wireless technology", Volume 39, Issue 12, Page(s):86-94, IEEE Communications Magazine, 2001, http://ieeexplore.ieee.org/iel5/35/20896/00968817.pdf?tp=&arnumber=968817&isn umber=20896 11-41

Acronyms ACL Asynchronous Connection List AES-128 Advanced Encryption Standard w 128 bit keys BLE Bluetooth Low Energy BNEP Bluetooth Network Encapsulation Protocol CAP Connection Access Profile CSA Core Specification Amendment dbm Deci-bel milli-watt DPSK Differential Phase Shift Keying EDR Enhanced Data Rate, EU European Union FEC Forward Error Correction FSK Frequency Shift Keying GATT Generic Attribute GFSK Gaussian Frequency Shift Keying GHz Giga Hertz GPS Global Positioning System HS High Speed, 11-42

Acronyms (Cont) ID Identifier IEEE Institution of Electrical and Electronics Engineers IETF Internet Engineering Task Force IG Interest Group ios Apple's idevices Operating System IP Internet Protocol IPv6 Internet Protocol version 6 IrDA Infrared Data Association IrMC Infrared Mobile Communications IrOBEX Infrared Object Exchange LAN Local Area Network LAP Lower address part LE Low Energy LTE Long Term Evolution MAC Media Access Control MAN Metropolitan Area Network 11-43

Acronyms (Cont) MB Mega Byte MHz Mega Hertz mw milli Watt NAP Non-significant address part OFDM Orthogonal Frequency Division Multiplexing OUI Organizationally Unique Identifier PAL Protocol Adaptation Layer PAN Personal Area Network PC Personal Computer PDU Protocol Data Unity PHY Physical Layer PIN Personal Identification Number RF Radio Frequency RFCOMM Radio Frequency Communication RFID Radio Frequency Identifier SC Standing Committee 11-44

Acronyms (Cont) SCO Synchronous Connection Oriented SDP Service Discovery Protocol SG Study Group SIG Special Interest Group SIM Subscriber Identity Module TCS Telephony Control Specification TDD Time-division duplex TLV Type-Length-Value TV Television TX Transmit UAP Upper address part UCD Unicast Connectionless Data URL Uniform Resource Locator USB Universal Serial Bus UUID Universally Unique Identifier uw Micro-Watt 11-45

Acronyms (Cont) WAN Wide Area Network WBS Wide Band Speed WiFi Wireless Fidelity WiMax Worldwide Interoperability for Microwave Access WPAN Wireless Personal Area Networks WRAN Wireless Regional Area Network XML Extensible Markup Language 11-46

Scan This to Get These Slides 11-47

Related Modules Internet of Things, j_10iot.htm Wireless Protocols for IoT Part II: IEEE 802.15.4 WPAN, j_12wpn.htm Wireless Protocols for IoT Part III: ZigBee, j_13zgb.htm Low Power WAN Protocols for IoT, j_14ahl.htm Audio/Video Recordings and Podcasts of Professor Raj Jain's Lectures, https://www.youtube.com/channel/ucn4-5wznp9-ruozqms-8nuw 11-48