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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hugues Bernet-Rollande
September 23, 2016
Programming
0
330
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
740
Enriched UI using ARKit
huguesbr
1
150
Enriched UI using ARKit
huguesbr
0
140
IoT & iOS - Lessons learned - Meetup Internet of Things - Usine.IO -
huguesbr
0
130
IoT & iOS - Lessons learned - Cocoaheads
huguesbr
0
160
IoT & iOS - Lessons learned
huguesbr
1
1.8k
Build your UI Developer Toolbox using Playgrounds
huguesbr
0
680
Parse is dead, long live Parse!
huguesbr
0
660
Other Decks in Programming
See All in Programming
CSC307 Lecture 08
javiergs
PRO
0
670
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
SourceGeneratorのススメ
htkym
0
200
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
130
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
720
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
740
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
How to make the Groovebox
asonas
2
1.9k
Visualization
eitanlees
150
17k
Tell your own story through comics
letsgokoyo
1
810
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
200
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
For a Future-Friendly Web
brad_frost
182
10k
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
So, you think you're a good person
axbom
PRO
2
1.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
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