Upgrade to Pro — share decks privately, control downloads, hide ads and more …

IoT & iOS - Lessons learned - Meetup Internet o...

IoT & iOS - Lessons learned - Meetup Internet of Things - Usine.IO -

Hugues Bernet-Rollande

March 02, 2017
Tweet

More Decks by Hugues Bernet-Rollande

Other Decks in Programming

Transcript

  1. IOT LESSONS LEARNED UNIT TESTING ▸Debugging IoT is hard ▸Data

    transformation layer (bytes -> value) ▸Test small chunks of code @rompelstilchen
  2. IOT LESSONS LEARNED IOS SIMULATOR VS BLE ▸iPhone Simulator doesn’t

    support BLE ▸Use Wrapper & Protocols ▸Stream fake Object (and data) @rompelstilchen
  3. IOT LESSONS LEARNED DEVICE VS APP ▸Device will be slower

    to develop than App ▸Develop a Device Simulator ▸macOS Playground support BLE @rompelstilchen
  4. IOT LESSONS LEARNED @rompelstilchen FIRMWARE ▸(Re)learn some C ▸API Specs

    defined by App Developer & Hardware Engineer ▸Unit Tests (again!) 6
  5. IOT LESSONS LEARNED SUMMARY ▸Simulate as much as you can

    ▸Apply same principles for BLE than Server ▸Unit Tests (again!) @rompelstilchen
  6. 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/
  7. THANK YOU! SLIDES AVAILABLE ON SPEAKER DECK: HTTP://BIT.LY/2LV3ISK HUGUES BERNET-ROLLANDE

    @ROMPELSTILCHEN GITHUB.COM/HUGUESBR CSO ENGINEER @ WIRED BEAUTY 10 @rompelstilchen