Professional Documents
Culture Documents
Session 701
Robert Walsh
Manager, Platform Accessories
2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.
#WWDC14
Introduction
Accessory interfaces
Accessory protocols
Whats new in iOS 8 and OS X Yosemite
Program information and wrap up
Health thermometers
Glucose meters
App-enabled accessories
Light bulbs
Wireless speakers
Blood pressure monitors
Speakers
Storage devices
Audio devices
Game controllers
Video devices
Thermostats
Cases
Health thermometers
Glucose meters
App-enabled accessories
Light bulbs
Wireless speakers
Blood pressure monitors
Speakers
Storage devices
Audio devices
Game controllers
Video devices
Thermostats
Cases
Accessory Interfaces
Wireless
Bluetooth
Wi-Fi
Wired
Lightning connector
USB
Thunderbolt 2
Headphone remote and mic
Bluetooth
iOS
Core Bluetooth
Notification Center
Core Audio
MFi Program
HealthKit
HealthKit
Bluetooth Design
Guidelines MFi Program
HomeKit
HomeKit
MFi Program
iBeacon
Core Location
iBeacon Licensing
iOS
Core Bluetooth
Notification Center
Core Audio
MFi Program
HealthKit
HealthKit
Bluetooth Design
Guidelines MFi Program
HomeKit
HomeKit
MFi Program
iBeacon
Core Location
iBeacon Licensing
iOS
Core Bluetooth
Notification Center
Core Audio
MFi Program
HealthKit
HealthKit
Bluetooth Design
Guidelines MFi Program
HomeKit
HomeKit
MFi Program
iBeacon
Core Location
iBeacon Licensing
Classic Bluetooth
Support for standard features
iOS
OS X App framework
Classic Bluetooth
Support for extended features on iOS
For more information
Headset battery level indication
iAP
Access to media library
Access to location
Proprietary communication with apps
Direct users to App Store when accessory is paired
Game controllers
MFi Program
Wi-Fi
Wi-Fi Alliance certification
802.11a/b/g, 802.11n, 802.11ac
Dual-band operation
2.4 and 5 GHz
IPv6
Lightning Connector
Lightning headphone module
Richer controls, including iTunes Radio
App-enabled headphones
USB
All current Macs ship with USB 3 ports
All current Macs support 5 Gbps per port
900 mA per port for device power
and charging
High performance storage devices
should use UAS
Built-in driver support for XHCI 1.0
compliant host controllers
Thunderbolt 2
High speed data and 4K video on one cable
PCI Express and DisplayPort protocol
Dual-channel, bi-directional 20 Gbps per port
Up to 10W for bus-powered devices
Daisy chain up to six devices per port
Certification program ensures high
quality devices
Refer to Thunderbolt Device Driver
Programming Guide
HealthKit Accessories
Terry Worley
Software Engineer, HealthKit team
Developing Native
HealthKit Accessories
Developing Native
HealthKit Accessories
Adhere to Bluetooth Low Energy GATT Specifications
Developing Native
HealthKit Accessories
Adhere to Bluetooth Low Energy GATT Specifications
Best practices
Developing Native
HealthKit Accessories
Adhere to Bluetooth Low Energy GATT Specifications
Best practices
Implement optional fields within the services, e.g. the heart rate field within the blood
Developing Native
HealthKit Accessories
Adhere to Bluetooth Low Energy GATT Specifications
Best practices
Implement optional fields within the services, e.g. the heart rate field within the blood
Developing Native
HealthKit Accessories
Adhere to Bluetooth Low Energy GATT Specifications
Best practices
Implement optional fields within the services, e.g. the heart rate field within the blood
Developing Native
HealthKit Accessories
Adhere to Bluetooth Low Energy GATT Specifications
Best practices
Implement optional fields within the services, e.g. the heart rate field within the blood
}];
Demo
Heart rate monitor
Jorge Moriigo
Software Engineer, HealthKit team
Related Sessions
Health
and
Fitness
Get
Together
Introducing HealthKit
Mission
Tuesday 10:15AM
Folsom
Tuesday 4:30PM
HomeKit Accessories
Kevin McLaughlin
Wireless Software Engineering
HomeKit
HomeKit
Bring exciting new accessories to our users
HomeKit
Bring exciting new accessories to our users
Provide consistent user experience
HomeKit
Bring exciting new accessories to our users
Provide consistent user experience
Learn about APIs at HomeKit session
Security
Bi-directional authentication
Per-session encryption
Security
Bi-directional authentication
Per-session encryption
Characteristics
Power state
Lights
Lock state
Door locks
Target state
Thermostats
Brightness
IP camera controls
Model number
Switches
Current temperature
Custom
Custom
Characteristics
Power state
Lights
Lock state
Door locks
Target state
Thermostats
Brightness
IP camera controls
Model number
Switches
Current temperature
Custom
Custom
Bluetooth LE
IP
L2CAP
TCP
Bluetooth LE
IP
HTTP
L2CAP
TCP
Bluetooth LE
IP
Generic Attribute
Profile (GATT)
JSON
HTTP
L2CAP
TCP
Bluetooth LE
IP
Generic Attribute
Profile (GATT)
JSON
HTTP
L2CAP
TCP
Bluetooth LE
IP
Generic Attribute
Profile (GATT)
JSON
HTTP
L2CAP
TCP
Bluetooth LE
IP
Generic Attribute
Profile (GATT)
Encryption
Boundary
JSON
HTTP
L2CAP
TCP
Bluetooth LE
IP
IP Details
IP Details
Remote access through HomeKit
IP Details
Remote access through HomeKit
Bonjour for accessory discovery
IP Details
Remote access through HomeKit
Bonjour for accessory discovery
A single IP accessory may present multiple accessories
Enables bridges
Bridge is responsible for translating to and from HAP
IP Details
Remote access through HomeKit
Bonjour for accessory discovery
A single IP accessory may present multiple accessories
Enables bridges
Bridge is responsible for translating to and from HAP
Protocol Security
End-to-end encryption
Initial setup secured directly between iOS and accessory
Perfect forward secrecy
Standard cryptography
Security Details
!
Algorithm
Description
!
Secure
Remote Password (SRP)
Ed25519
Curve25519
HKDF-SHA-512
!
ChaCha20-Poly1305
Next Steps
Next Steps
MFi program
Access to HomeKit specifications for
Next Steps
MFi program
Access to HomeKit specifications for
AirPlay
AirPlay
Audio handling changes
Accessory side skew compensation
Buffer underrun handling
AirPlay
Audio handling changes
Accessory side skew compensation
Buffer underrun handling
Summary
HealthKit
HomeKit
Media playback enhancements for accessories
App-driven Wireless Accessory Configuration
References
MFi Program
http://developer.apple.com/mfi/
iBeacon
http://developer.apple.com/ibeacon/
Bluetooth Accessory Design Guidelines for Apple Products
http://developer.apple.com/bluetooth/
Case Design Guidelines for Apple Devices
http://developer.apple.com/resources/cases/
More Information
Stephen Chick
iPhone Evangelist
chick@apple.com
Craig Keithley
MFi and I/O Technologies Evangelist
keithley@apple.com
Mark Tozer
Desktop Technologies Evangelist
tozer@apple.com
Apple Developer Forums
http://devforums.apple.com
Related Sessions
Whats
New
in
Core
Location
Introducing
HomeKit
Adopting
AirPrint
Designing
for
Game
Controllers
Introducing HealthKit
Mission
Tuesday 10:15AM
Marina
Tuesday 2:00PM
Marina
Tuesday 4:30PM
Pacific Heights
Friday 9:00AM
Mission
Friday 10:15AM
Labs
Accessories
and
I/O
Technologies
Lab
I/O
Technologies
Lab
Accessories
and
I/O
Technologies
Lab
HomeKit
Lab
HealthKit
Lab
Core OS Lab A
Tuesday 9:00AM
Core OS Lab A
Tuesday 11:30AM
Core OS Lab A
Thursday 11:30AM
Core OS Lab A
Thursday 12:45PM
Services Lab A
Thursday 12:45PM
Services Lab B
Friday 9:00AM