18
Introduction to Oberon HomeKit SDKs

Introduction to Oberon HomeKit SDKs

Embed Size (px)

Citation preview

Page 1: Introduction to Oberon HomeKit SDKs

Introduction to

Oberon HomeKit SDKs

Page 2: Introduction to Oberon HomeKit SDKs

2

We believe that smart home devices should be trustworthy and a joy to use.

With Apple HomeKit, one can easily

set up and control smart devices.

We provide everything you need to add HomeKit support to your device.

Page 3: Introduction to Oberon HomeKit SDKs

User experience Simple and standardized installation process Dedicated Home app for all devices Siri voice commands out of the box

Security and privacy End-to-end with state-of-the-art cryptography Access from Internet is optional, not required

Connectivity Bluetooth Low Energy (BLE) and IP (WiFi, Ethernet)

Why support HomeKit?

3

Page 4: Introduction to Oberon HomeKit SDKs

Home App & Standard Interface

4

A central point of

organization for your

connected home

Page 5: Introduction to Oberon HomeKit SDKs

Controllers iPhone, iPad, iPod, and Apple Watch provide a generic HomeKit User Interface out of the box iOS API allows anyone to implement HomeKit apps

Smart home devices Apple defines the protocol for smart home devices Device manufacturers must implement this protocol (on the device side)

What is already there?

5

Page 6: Introduction to Oberon HomeKit SDKs

HomeKit protocols are hard to implement Designed for radical end-to-end security

HomeKit security is strong Usually needs fast processors with large memories

Speed and memory sizes can be critical Scaling down to low-cost microcontrollers requires massive investments into optimizations

Challenges for Smart Devices

6

Page 7: Introduction to Oberon HomeKit SDKs

Oberon microsystems provides the fastest and smallest implementation of HomeKit for Home Devices Unique correctness proofs for critical security algorithms reviewed by independent experts

Prof. W. Meier & Prof. C. Nicola: “in all parts mathematically and formally correct”

The Benchmark

7

Page 8: Introduction to Oberon HomeKit SDKs

Tim Cook, Apple CEO, on HomeKit

8

Oberon is a key partner of Apple in the HomeKit ecosystem, along with accessory and semiconductor vendors.

Page 9: Introduction to Oberon HomeKit SDKs

Licenses Fast, tiny and trustworthy HomeKit SDKs Including source code licenses

Maintenance Access to Oberon repository with software updates

Technical support

Engineering services Integration of HomeKit into your devices Apple certification support

Oberon Products & Services

9

Page 10: Introduction to Oberon HomeKit SDKs

OberonHAP software module implements the HomeKit protocol (HAP) Samples for the predefined device types Glue code for the target platform’s BLE and/or IP protocol stack(s)

Provides everything you need to add HomeKit support to your device.

Oberon HomeKit SDK

10

Page 11: Introduction to Oberon HomeKit SDKs

Where no other HomeKit Implementation goes!

Works with ≈14 KB RAM and ≈50 KB flash Simple application logic included in these numbers, but not the BLE stack Enables practical use on SoCs with ≥32 KB RAM

Feasible even on low-cost 16 MHz Cortex-M0

Footprint: Even for BLE SoCs

10.11.2016 11

Page 12: Introduction to Oberon HomeKit SDKs

Where no other HomeKit Implementation goes!

Works with ≈20 KB RAM and ≈80 KB flash Simple application logic included in these numbers, but not the IP stack nor the buffers for TCP stack and TCP connections Enables practical use on SoCs with ≥100 KB RAM Memory requirements depend on supported HomeKit profiles

Footprint: Even for WiFi SoCs

12

Page 13: Introduction to Oberon HomeKit SDKs

Speed: Pair Setup & Verify

10.11.2016 13

Core Cortex-M0 Cortex-M3 Cortus APS3RP Cortex-M4F microAptiv UP

Instruction set architecture

ARMv6-M ARMv7-M Cortus V2 ARMv7E-M with FPv4-SP

extension

MIPS32 with DSP

enhancements

Clock frequency 16 MHz 48 MHz 50 MHz 64 MHz 200 MHz

Setup phase 1 (static setup code)

3,881 ms 1,109 ms 578 ms 361 ms 97 ms

Setup phase 2

14,965 ms 4,256 ms 2,191 ms 1,338 ms 357 ms

Opening a session (authentication)

935 ms 255 ms 125 ms 52 ms 18 ms

These numbers only include the cryptographic processing. The Bluetooth Low Energy stack (or the IP stack for WiFi or Ethernet), the application logic, and iOS at the other end will add to the round-trip times as experienced by a user. Zero wait states assumed.

Page 14: Introduction to Oberon HomeKit SDKs

nRF52 microcontroller Cortex-M4F at 64 MHz 64 KB RAM and 512 KB Flash Built-in BLE radio

Nordic HomeKit SDK uses OberonHAP

https://www.nordicsemi.com/...

Example: nRF5 Platform

14

Page 15: Introduction to Oberon HomeKit SDKs

Any modern Linux platform supported HAP over IP support (WiFi, Ethernet)

Raspberry Pi as development platform Use a Raspberry Pi 3 or Raspberry Pi 1 B+ as a low-cost development board, for evaluation purposes and while developing your custom PCB

Linux Platforms

10.11.2016 15

Page 16: Introduction to Oberon HomeKit SDKs

Predefined types fan, garage door, light bulb, door lock, outlet, switch, thermostat, air quality sensor, security system, carbon monoxide sensor, contact sensor, humidity sensor, leak sensor, light sensor, motion sensor, occupancy sensor, smoke sensor, temperature sensor, window, window blinds, carbon dioxide sensor, doorbell, IP camera, air conditioner, purifier, humidifier

Custom types are possible as well

Supported Device Types

16

Page 18: Introduction to Oberon HomeKit SDKs

Our dedicated HomeKit Website:

http://oberonhap.com