Developing Accessories for the Apple HomeKit Ecosystem

20
Developing Accessories for the Apple HomeKit Ecosystem November 2016

Transcript of Developing Accessories for the Apple HomeKit Ecosystem

Page 1: Developing Accessories for the Apple HomeKit Ecosystem

Developing Accessories for the Apple HomeKit Ecosystem

November 2016

Page 2: Developing Accessories for the Apple HomeKit Ecosystem

2 Silicon Labs Confidential

Introduction to Apple HomeKit

Apple HomeKit is a framework for communicating with and controlling connected

home accessories such as lights, locks and thermostats.

It enables users to discover, configure and control smart home accessories using

iOS devices.

It also supports remote access to accessories through iCloud when using Apple TV

or iPad as a gateway.

Page 3: Developing Accessories for the Apple HomeKit Ecosystem

3 Silicon Labs Confidential

More than 30 device types can be

built with Apple HomeKit today:

Sensors: Temperature, Humidity,

Smoke, Presence, CO etc.

Controls: Light, locks, thermostats,

garage door openers, etc.

Gateways: These connect sensors and

controls with applications

Introduction to Apple HomeKit

Page 4: Developing Accessories for the Apple HomeKit Ecosystem

4 Silicon Labs Confidential

Introduction to Apple HomeKit

Page 5: Developing Accessories for the Apple HomeKit Ecosystem

5 Silicon Labs Confidential

Wake Up

Page 6: Developing Accessories for the Apple HomeKit Ecosystem

6 Silicon Labs Confidential

HomeKit is not just a technology – but

an ecosystem:

Technology providers such as Apple, Silicon

Labs, etc.

Device vendors like: Apple, Philips, August,

Schlage, etc.

Application developers

System integrators

Devices and applications are

interoperable, allowing more

advanced smart home applications

than proprietary systems

Hunders of millions of potential users

Apple HomeKit is an Ecosystem

Page 7: Developing Accessories for the Apple HomeKit Ecosystem

7 Silicon Labs Confidential

Silicon Labs Products for Apple HomeKit

Development ToolsWireless Gecko

SoCs & Modules

and Sensors

Bluetooth

Software & SDK

Blue or Mighty Gecko

Link Layer

GAP

GATT

BGAPI

Application

ATTSM

Hardware

StackSoftware

API

Page 8: Developing Accessories for the Apple HomeKit Ecosystem

8 Silicon Labs Confidential

EFR32 Blue Gecko Platform

32-bit bus

Peripheral Reflex System

Radio

2.4 GHz w/

Balun

Integrated

PA + Balun

Packet

Trace

Energy

Management

Voltage

Reg. and

monitor

DC-DC

Converter

PoR and BoD

Clock

Management

HF RC and

Crystal Oscs

Auxiliary

RC Osc

LF Crystal Osc +

ULF and LF RC

Oscs

CPU and Memory

ARM

Cortex-M4 FPU

MPU

Flash

Program

Memory

Debug

Interface

RAM

Memory

Security

Crypto

AES, ECC,

SHA

CRC32

Serial

2x USART

I2C

I/O

External

Interrupt

Reset,

GPIO (5V)

and

wake-up

Timers and Triggers

2x Timer/

Counter

Low Energy

Timer

Pulse

Counter +

WD

Watchdog

Timer

Calendar

RTC

Cryo-timer

Analog

ADC +

ACMP

Current

DAC

MCU + Bluetooth low energy Platform

Cortex M4 with FPU and DSP instructions

Up to 32kB RAM and 256kB Flash

63 μA/MHz active, 2.1 μA sleep (EM3)

1.85–3.8 V supply with full analog performance

Integrated DC-DC buck converter

Integrated Bluetooth radio

Up to +19.5 dBm TX Power, -93 dBm RX Sensitivity

8.8 mA TX (0 dBm), 8.7 mA RX

7x7 QFN48, 5x5 QFN32 and 3x3 CSP packages

Advanced Security Features

Hardware crypto engine supports AES, ECC, SHA

Pseudo Random Number Generator

Bluetooth 4.2 Software

Bluetooth 4.2 compliant

Simultaneous central/peripheral/advertiser/scanner

Up to 8 connections and 340kbps peak throughput

Page 9: Developing Accessories for the Apple HomeKit Ecosystem

9 Silicon Labs Confidential

BGM111 BGM113 BGM12 SiP Module

Dimensions 12.9 x 15.0 x 2.2 mm 9.2 x 15.8 x 1.83 mm 6.5 x 6.5 x 1.5 mm

TX power +8 dBm +3 dBm +3 and +8 dBm

RX sensitivity: -92 dBm -92 dBm -90 dBm

Qualified Bluetooth, CE, FCC, IC,

Korea, Japan

Bluetooth, CE, FCC, IC,

Korea, Japan

Bluetooth, CE, limited modular FCC,

IC and Japan

Benefit 31 x I/O, footprint compatible with

future devices with more RAM,

Flash and Bluetooth 5.0

Small size PCB module

compatible with Bluegiga

BLE113

Ultra small module enabling small

designs still with great RF

performance. RF pin option available.

Blue Gecko Bluetooth Modules

Page 10: Developing Accessories for the Apple HomeKit Ecosystem

10 Silicon Labs Confidential

Development Kits

Blue Gecko Wireless Starter Kits (WSTKs)

Blue or Mighty Gecko SoC or Module radio board

A main board with display, USB, breakouts and

RHT sensor

Blue Gecko module starter kits come with an

expansion board, which has a foot print for the

Apple HomeKit secure element

Energy profiling, debug, firmware updates

Thunderboard Sense IoT Kit

Great platform for Apple HomeKit development

Has EFR32 Might Gecko SoC

Built-in antenna

Temperature, Humidity, Air Quality, Light,

Pressure, 6-axis inertia sensor, MEMS mic, RBG

LEDs, buttons, and more

USB for programming

Secure element can be wired to the breakouts

Page 11: Developing Accessories for the Apple HomeKit Ecosystem

11 Silicon Labs Confidential

Si1153 Proximity and Ambient Light Sensor (ALS)

Applications: Control panels, thermostats, etc.

Proximity capability enables automatic display wake on approach

Allows display to be powered down between uses, saving power

Sunlight immunity option ensures proximity sensing works in sunlight

Ambient Light Sensor enables automatic display brightness adjustment

Ensures display is readable in bright light, but not too bright at night

Si70xx Relative Humidity and Temperature Sensors

Applications: Thermostats, water leak sensors, bathroom vent fans,

home security door/window sensors, etc.

Humidity accuracy <3%

Temperature accuracy <0.3°C

0.1°C accuracy available over human body temperature range

Market leading power consumption maximizes battery life

Silicon Labs’ Environmental Sensors

TEMPERATURE HUMIDITY

AMBIENT LIGHTPROXIMITY

Page 12: Developing Accessories for the Apple HomeKit Ecosystem

12 Silicon Labs Confidential

Integrated Bluetooth Stack

Bluetooth 4.2 compliant

Simultaneous Central / Peripheral / Advertiser / Scanner

8 simultaneous connections

340kbps peak throughput

Flexible, easy-to-use APIs

BGAPI and emLib HAL for standalone mode (SoC mode)

BGAPI serial protocol for NCP over UART

Profile ToolkitTM for building GATT based profiles

BGScriptTM scripting language

Field Upgradable

Full and application only update modes

Over-the-Air Firmware Update

NCP Firmware Update over UART

Silicon Labs’ Bluetooth Software

Blue or Mighty Gecko

Link Layer

GAP

GATT

BGAPI

Application

ATTSM

Hardware

StackSoftware

API

Page 13: Developing Accessories for the Apple HomeKit Ecosystem

13 Silicon Labs Confidential

Apple HomeKit R7 Compliant Software

Implements the Apple HomeKit Accessory Protocol (HAP)

Implements Apple HomeKit security algorithms

Implements all Apple HomeKit services and characteristics

Other necessary Apple HomeKit enablers such as:

Over-the-Air update secure element interfacing etc.

Provided as a library

Adds HomeKit APIs

Adds new APIs in addtion to the Bluetooth API

HomeKit configuration

HomeKit advetisement and connection management

HomeKit security and bondings

Can be used in SoC or NCP mode

Examples Applications and Source Code

Tested and Approved by Apple

Silicon Labs’ Software for Apple HomeKit

Blue or Mighty Gecko

Link Layer

GAP

GATT

HomeKit + BGAPI

HomeKit Application

ATTSM

Hardware

StackSoftware

API

AppleHomeKit

HomeKit

Page 14: Developing Accessories for the Apple HomeKit Ecosystem

14 Silicon Labs Confidential

Simplicity Studio

An Eclipse based Silicon Labs’ IDE

Integrated IDE with code editor,

code compilation and debug

Demos and example source code

Documentation

Value-add tools

Hardware configurator

Energy Profiler

Network Analyzer

Compiler support

IAR 7.40 and newer (7.60 recommeded)

Free BGScript compiler

3rd Party Tools

IAR Embedded Workbench

Bluetooth SIG Developer Studio

Smart Phone Applications

iOS and Android reference applications for Apple HomeKit

Development Tools

Page 15: Developing Accessories for the Apple HomeKit Ecosystem

15 Silicon Labs Confidential

Apple HomeKit is licensed under

Apple’s MFI program

You have to be an MFI licensee to

access the Apple specifications, tools,

Silicon Labs’ software, and

documentation

Learn more and sign-up at: https://developer.apple.com/programs/mfi/

Developing for Apple HomeKit - Made for iPhone (MFI)

Page 16: Developing Accessories for the Apple HomeKit Ecosystem

16 Silicon Labs Confidential

Apple MFI Verification

Go to www.silabs.com/homekit

Request for our Apple HomeKit SDK access

Tell us your:

MFI account number

Company name

Primary contact person to Apple

We’ll provide you our SDK and documents

Get Our Development Kits

Blue or Mighty Gecko WSTK or Thunderboard sense

Select a SoC with 32kB RAM and 256kB Flash

All BGM module kits come with an EXP board, with a

socket for secure element

Help and Technical Support

Go to www.silabs.com/support

Submit a ticket to our support team

Developing for Apple HomeKit – Silicon Labs’ Products

Page 17: Developing Accessories for the Apple HomeKit Ecosystem

17 Silicon Labs Confidential

The end product, before going to market,

must still be approved by Apple

Devices, manuals and product packaging,

need to be sent to Apple for testing

Silicon Labs’ Apple HomeKit

implementation is tested and approved

by Apple and it passes HomeKit R7

certification tests

Contact your MFI contact for details

about the process

Developing for Apple HomeKit – Apple Review

Page 19: Developing Accessories for the Apple HomeKit Ecosystem

19 Silicon Labs Confidential

Summary

Silicon Labs’ Apple HomeKit implementation is tested and approved by Apple

and it passes HomeKit R7 certification tests

Significantly reduced development time and risk

Easier Apple approvals

Silicon Labs provides multiple offerings for Apple HomeKit accessory vendors:

Bluetooth SoCs and modules

Sensors

Bluetooth 4.2 and Apple HomeKit compliant software

Hardware and software development tools

Get started here: www.silabs.com/homekit

Page 20: Developing Accessories for the Apple HomeKit Ecosystem

Thank You

www.silabs.com

www.community.silabs.com