Developing Accessories for the Apple HomeKit Ecosystem November 2016
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. 2 Silicon Labs Confidential
Introduction to Apple HomeKit 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 3 Silicon Labs Confidential
Introduction to Apple HomeKit 4 Silicon Labs Confidential
Wake Up 5 Silicon Labs Confidential
Apple HomeKit is an Ecosystem 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 6 Silicon Labs Confidential
Silicon Labs Products for Apple HomeKit Application BGAPI GATT API GAP SM ATT Stack Software Hardware Link Layer Blue or Mighty Gecko Wireless Gecko SoCs & Modules and Sensors Bluetooth Software & SDK Development Tools 7 Silicon Labs Confidential
EFR32 Blue Gecko Platform MCU + Bluetooth low energy Platform CPU and Memory ARM Cortex-M4 FPU MPU Flash Program Memory Clock Management HF RC and Crystal Oscs Energy Management Voltage Reg. and monitor Security Crypto AES, ECC, SHA Cortex M4 with FPU and DSP instructions Up to 32kB RAM and 256kB Flash 63 μa/mhz active, 2.1 μa sleep (EM3) Debug Interface RAM Memory Auxiliary RC Osc LF Crystal Osc + ULF and LF RC Oscs DC-DC Converter PoR and BoD CRC32 1.85 3.8 V supply with full analog performance Integrated DC-DC buck converter Integrated Bluetooth radio 32-bit bus Up to +19.5 dbm TX Power, -93 dbm RX Sensitivity 8.8 ma TX (0 dbm), 8.7 ma RX Peripheral Reflex System 7x7 QFN48, 5x5 QFN32 and 3x3 CSP packages Serial 2x USART I/O External Interrupt Timers and Triggers 2x Timer/ Counter Low Energy Timer Analog ADC + ACMP Radio 2.4 GHz w/ Balun Advanced Security Features Hardware crypto engine supports AES, ECC, SHA Pseudo Random Number Generator I2C Reset, GPIO (5V) and wake-up Pulse Counter + WD Calendar RTC Watchdog Timer Cryo-timer Current DAC Integrated PA + Balun Packet Trace Bluetooth 4.2 Software Bluetooth 4.2 compliant Simultaneous central/peripheral/advertiser/scanner Up to 8 connections and 340kbps peak throughput 8 Silicon Labs Confidential
Blue Gecko Bluetooth Modules 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 Benefit Bluetooth, CE, FCC, IC, Korea, Japan 31 x I/O, footprint compatible with future devices with more RAM, Flash and Bluetooth 5.0 Bluetooth, CE, FCC, IC, Korea, Japan Small size PCB module compatible with Bluegiga BLE113 Bluetooth, CE, limited modular FCC, IC and Japan Ultra small module enabling small designs still with great RF performance. RF pin option available. 9 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 10 Silicon Labs Confidential
Silicon Labs Environmental Sensors 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 PROXIMITY TEMPERATURE AMBIENT LIGHT HUMIDITY 11 Silicon Labs Confidential
Silicon Labs Bluetooth Software Integrated Bluetooth Stack Bluetooth 4.2 compliant Simultaneous Central / Peripheral / Advertiser / Scanner 8 simultaneous connections 340kbps peak throughput Application BGAPI Flexible, easy-to-use APIs BGAPI and emlib HAL for standalone mode (SoC mode) BGAPI serial protocol for NCP over UART Profile Toolkit TM for building GATT based profiles BGScript TM scripting language Field Upgradable Full and application only update modes Over-the-Air Firmware Update NCP Firmware Update over UART API Stack Software Hardware GAP SM GATT ATT Link Layer Blue or Mighty Gecko 12 Silicon Labs Confidential
Silicon Labs Software for Apple HomeKit 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 HomeKit Application HomeKit + BGAPI AppleHomeKit 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 API HomeKit Stack Software GAP SM GATT ATT Link Layer Examples Applications and Source Code Tested and Approved by Apple Hardware Blue or Mighty Gecko 13 Silicon Labs Confidential
Development Tools 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 14 Silicon Labs Confidential
Developing for Apple HomeKit - Made for iphone (MFI) 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/ 15 Silicon Labs Confidential
Developing for Apple HomeKit Silicon Labs Products 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 16 Silicon Labs Confidential
Developing for Apple HomeKit Apple Review 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 17 Silicon Labs Confidential
Additional Resources Silicon Labs for Apple HomeKit HomeKit introduction HomeKit enabled products Getting started using HomeKit HomeKit WWDC14 video Siri voice commands HomeKit developer guide 18 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 19 Silicon Labs Confidential
Thank You www.silabs.com www.community.silabs.com