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
300
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
670
Enriched UI using ARKit
huguesbr
1
140
Enriched UI using ARKit
huguesbr
0
110
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
620
Parse is dead, long live Parse!
huguesbr
0
610
Other Decks in Programming
See All in Programming
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
280
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
3
860
rails newと同時に型を書く
aki19035vc
5
710
Simple組み合わせ村から大都会Railsにやってきた俺は / Coming to Rails from the Simple
moznion
3
2.3k
Rubyでつくるパケットキャプチャツール
ydah
0
180
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
140
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
890
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
180
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
240
DMMオンラインサロンアプリのSwift化
hayatan
0
190
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
710
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
174
51k
Agile that works and the tools we love
rasmusluckow
328
21k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
Gamification - CAS2011
davidbonilla
80
5.1k
Rails Girls Zürich Keynote
gr2m
94
13k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
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