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
320
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
710
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
130
IoT & iOS - Lessons learned - Cocoaheads
huguesbr
0
150
IoT & iOS - Lessons learned
huguesbr
1
1.8k
Build your UI Developer Toolbox using Playgrounds
huguesbr
0
650
Parse is dead, long live Parse!
huguesbr
0
630
Other Decks in Programming
See All in Programming
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
820
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
240
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
370
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
690
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
260
iOSアプリ開発で 関数型プログラミングを実現する The Composable Architectureの紹介
yimajo
2
210
ReadMoreTextView
fornewid
1
480
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
570
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
380
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
330
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
190
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
580
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
330
24k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
We Have a Design System, Now What?
morganepeng
53
7.7k
Bash Introduction
62gerente
614
210k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Done Done
chrislema
184
16k
Facilitating Awesome Meetings
lara
54
6.4k
4 Signs Your Business is Dying
shpigford
184
22k
Navigating Team Friction
lara
187
15k
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