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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Feature Toggle は捨てやすく使おう
gennei
0
370
Java 21/25 Virtual Threads 소개
debop
0
300
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
The free-lunch guide to idea circularity
hollycummins
0
380
Windows on Ryzen and I
seosoft
0
410
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
170
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
250
Claude Codeログ基盤の構築
giginet
PRO
7
3.7k
飯MCP
yusukebe
0
390
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
0
160
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
670
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
140
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
How STYLIGHT went responsive
nonsquared
100
6k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
650
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Mobile First: as difficult as doing things right
swwweet
225
10k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
400
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
4 Signs Your Business is Dying
shpigford
187
22k
The Curse of the Amulet
leimatthew05
1
11k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Claude Code のすすめ
schroneko
67
220k
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