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
310
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
690
Enriched UI using ARKit
huguesbr
1
140
Enriched UI using ARKit
huguesbr
0
120
IoT & iOS - Lessons learned - Meetup Internet of Things - Usine.IO -
huguesbr
0
120
IoT & iOS - Lessons learned - Cocoaheads
huguesbr
0
150
IoT & iOS - Lessons learned
huguesbr
1
1.7k
Build your UI Developer Toolbox using Playgrounds
huguesbr
0
640
Parse is dead, long live Parse!
huguesbr
0
630
Other Decks in Programming
See All in Programming
国漢文混用体からHolloまで
minhee
1
140
AtCoder Heuristic First-step Vol.1 講義スライド
terryu16
3
1.1k
AHC045_解説
shun_pi
0
420
タイムゾーンの奥地は思ったよりも闇深いかもしれない
suguruooki
1
440
AWS で実現する安全な AI エージェントの作り方 〜 Bedrock Engineer の実装例を添えて 〜 / how-to-build-secure-ai-agents
gawa
8
580
安全に倒し切るリリースをするために:15年来レガシーシステムのフルリプレイス挑戦記
sakuraikotone
5
2.6k
サービスクラスのありがたみを発見したときの思い出 #phpcon_odawara
77web
4
590
AIコードエディタの基盤となるLLMのFlutter性能評価
alquist4121
0
190
趣味全開のAITuber開発
kokushin
0
180
新卒から4年間、20年もののWebサービスと 向き合って学んだソフトウェア考古学
oguri
8
7.1k
Devinのメモリ活用の学びを自社サービスにどう組み込むか?
itarutomy
0
2k
S3静的ホスティング+Next.js静的エクスポート で格安webアプリ構築
iharuoru
0
220
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Thoughts on Productivity
jonyablonski
69
4.6k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7.1k
Practical Orchestrator
shlominoach
186
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
8
720
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.1k
What's in a price? How to price your products and services
michaelherold
245
12k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Language of Interfaces
destraynor
157
24k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.6k
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