Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to BLE on iOS
Search
Hugues Bernet-Rollande
September 23, 2016
Programming
0
280
Introduction to BLE on iOS
Slides supporting a workshop at FrenchKit introducing Bluetooth Low Energy on iOS
Hugues Bernet-Rollande
September 23, 2016
Tweet
Share
More Decks by Hugues Bernet-Rollande
See All by Hugues Bernet-Rollande
End to End Encryption for Mobile Developers
huguesbr
1
640
Enriched UI using ARKit
huguesbr
1
130
Enriched UI using ARKit
huguesbr
0
100
IoT & iOS - Lessons learned - Meetup Internet of Things - Usine.IO -
huguesbr
0
110
IoT & iOS - Lessons learned - Cocoaheads
huguesbr
0
140
IoT & iOS - Lessons learned
huguesbr
1
1.7k
Build your UI Developer Toolbox using Playgrounds
huguesbr
0
570
Parse is dead, long live Parse!
huguesbr
0
550
Other Decks in Programming
See All in Programming
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
110
Designing for tomorrow's programming workflows
honnibal
PRO
2
120
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
480
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
630
Front-end application development, Symfony-style(s)
dunglas
2
2k
Git Rebase
bkuhlmann
11
1.6k
今、知っておきたい! 生成AIエージェントの世界
elith
3
350
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
26
8.1k
使ってみよう Azure AI Document Intelligence
kosmosebi
2
270
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
220
Java 22 Overview
kishida
1
180
Featured
See All Featured
Building Effective Engineering Teams - LeadDev
addyosmani
28
1.8k
Adopting Sorbet at Scale
ufuk
67
8.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
243
20k
Building an army of robots
kneath
300
41k
Atom: Resistance is Futile
akmur
258
25k
Making Projects Easy
brettharned
108
5.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
115
18k
RailsConf 2023
tenderlove
2
530
[RailsConf 2023] Rails as a piece of cake
palkan
22
3.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
186
16k
Side Projects
sachag
451
41k
Transcript
@rompelstilchen INTRODUCTION TO BLE ON IOS HUGUES BERNET-ROLLANDE GITHUB.COM/HUGUESBR CHIEF
SOFTWARE OFFICER @ WIRED BEAUTY 1
INTRODUCTION TO BLE ON IOS @rompelstilchen SUMMARY ‣ BLE Protocol
‣ CoreBluetooth ‣ The universal battery monitor 2
@rompelstilchen BLE PROTOCOL INTRODUCTION TO BLE ON IOS 3
@rompelstilchen INTRODUCTION TO BLE ON IOS CENTRAL VS PERIPHERAL ▸
Central (Master) ▸ Peripheral (Slave) ▸ Advertising packet 4
@rompelstilchen INTRODUCTION TO BLE ON IOS DATA HIERACHY ▸ Profiles
▸ Services ▸ Characteristics ▸ Descriptors 5
@rompelstilchen INTRODUCTION TO BLE ON IOS INTERACTION ▸ Read ▸
Write (w/o response) ▸ Notify 6
@rompelstilchen COREBLUETOOTH INTRODUCTION TO BLE ON IOS 7
@rompelstilchen INTRODUCTION TO BLE ON IOS CBCENTRALMANAGER & DELEGATE ▸
State of the Bluetooth ▸ Discover a peripheral ▸ Connect to a peripheral ▸ iOS Optimization 8
@rompelstilchen INTRODUCTION TO BLE ON IOS CBPERIPHERAL & DELEGATE ▸
Discover services ▸ Discover characteristics ▸ Read / write / notify 9
@rompelstilchen THE UNIVERSAL BATTERY MONITOR INTRODUCTION TO BLE ON IOS
10
INTRODUCTION TO BLE ON IOS @rompelstilchen STEP BY STEP ▸
Discover BLE devices ▸ Connect to it ▸ Discover services ▸ Device using Battery GATT BLE profile? ▸ Read battery level ▸ Notify? 11
@rompelstilchen INTRODUCTION TO BLE ON IOS LIGHTBLUE APP ▸ Discover
devices ▸ Discover services ▸ Discover characteristics ▸ Read / write / notify ▸ … 12
@rompelstilchen INTRODUCTION TO BLE ON IOS BLUETOOTH EXPLORER ▸ Made
by Apple ▸ Discover devices ▸ Discover services ▸ Discover characteristics ▸ Read / write / notify ▸ … 13
@rompelstilchen LET’S CODE PRESENTATION AVAILABLE AT: HTTP://BIT.LY/225SIBM HUGUES BERNET-ROLLANDE @ROMPELSTILCHEN
GITHUB.COM/HUGUESBR CSO ENGINEER @ WIRED BEAUTY 14