What's the exact difference b\w homekit & external accessory framework?

881 views Asked by At

I am new to ios,and i have a doubt that whether implementation of homekit/healthkit frameworks needs the involvement of the external accessory framework. I mean with the homekit/healthkit framework whether we can directly communicate with the MFi devices,with out the involvement of external accessory framework??. ......pls do guide.

Thanks in advance.. :)

1

There are 1 answers

6
Samir On

Homekit Framework used to communicate between HAP (Homekit Accessory protocol) enabled accessory and iOS device. Like Lightbulb, Door lock, Bridge (which further connects to zigbee/zwave devices).

External Accessory framework used to communicate with external hardware/device using dock connector or bluetooth. Like Heartrate monitor, Smart Thermometer etc.

iOS application can connect to HAP enabled device which has implemented MFi authentication using Homekit framework. There's no need to include/use external accessory framework.

However if HAP Accessory(bridge/Garage door) has wifi, then iOS app requires to use External accessory framework.

For Healthkit, to connect with external accessory (Like, Heart rate monitor) which generally has bluetooth / dock connector you may require to use External Accessory framework.