Slide 1

Slide 1 text

IOT LESSONS LEARNED ON IOS HUGUES BERNET-ROLLANDE @ROMPELSTILCHEN GITHUB.COM/HUGUESBR CHIEF SOFTWARE OFFICER @ WIRED BEAUTY 1

Slide 2

Slide 2 text

IOT LESSONS LEARNED @rompelstilchen TOPIC ▸BLE vs Bluetooth ▸IoT vs Connected Object ▸Not BLE tutorial 2

Slide 3

Slide 3 text

IOT LESSONS LEARNED UNIT TESTING ▸Debugging IoT is hard ▸Data transformation layer (bytes -> value) ▸Test small chunks of code @rompelstilchen

Slide 4

Slide 4 text

IOT LESSONS LEARNED IOS SIMULATOR VS BLE ▸iPhone Simulator doesn’t support BLE ▸Use Wrapper & Protocols ▸Stream fake Object (and data) @rompelstilchen

Slide 5

Slide 5 text

IOT LESSONS LEARNED DEVICE VS APP ▸Device will be slower to develop than App ▸Develop a Device Simulator ▸macOS Playground support BLE @rompelstilchen

Slide 6

Slide 6 text

IOT LESSONS LEARNED @rompelstilchen FIRMWARE ▸(Re)learn some C ▸API Specs defined by App Developer & Hardware Engineer ▸Unit Tests (again!) 6

Slide 7

Slide 7 text

IOT LESSONS LEARNED @rompelstilchen TOOLS ▸Light Blue ▸Apple Bluetooth Explorer ▸(macOS) Playground ▸Console (BTServer) 7

Slide 8

Slide 8 text

IOT LESSONS LEARNED SUMMARY ▸Simulate as much as you can ▸Apply same principles for BLE than Server ▸Unit Tests (again!) @rompelstilchen

Slide 9

Slide 9 text

IOT LESSONS LEARNED @rompelstilchen LEARN MORE ABOUT BLE ▸Core Bluetooth Programming Guide ▸WWDC (CoreBluetooth 101) ▸Zero to BLE 9 https://www.cloudcity.io/blog/2015/06/11/zero-to-ble-on-ios-part-one/ https://developer.apple.com/ - Core Bluetooth Programming Guide https://developer.apple.com/videos/play/wwdc2012/703/

Slide 10

Slide 10 text

THANK YOU! SLIDES AVAILABLE ON SPEAKER DECK: HTTP://BIT.LY/2LV3ISK HUGUES BERNET-ROLLANDE @ROMPELSTILCHEN GITHUB.COM/HUGUESBR CSO ENGINEER @ WIRED BEAUTY 10 @rompelstilchen