hap-java / HAP-Java

Java implementation of the HomeKit Accessory Protocol
MIT License
153 stars 82 forks source link

Stop advertising after pairing #22

Closed andrelcm closed 7 years ago

andrelcm commented 7 years ago

Why the server stop advertising after a device is paired? Isn't it possible to pair more devices to it?

andylintner commented 7 years ago

Nope, it's a restriction of HomeKit that it can only be paired once. The pairing gets shared via iCloud to your other devices, and you can invite other users via iOS settings.

They started enforcing this in iOS 8 - if we didn't change the advertisement to indicate it was already paired, iOS refused to connect.

andrelcm commented 7 years ago

Ok, thank you for the quick response and for the great job.