Bouke / HAP

Swift implementation of the Homekit Accessory Protocol
https://boukehaarsma.nl/HAP/
MIT License
364 stars 50 forks source link

Generated from macOS 10.14.4b3 #78

Closed gbrooker closed 5 years ago

gbrooker commented 5 years ago

Update to the Generated HAP structures from 10.14.4 beta 3. This has changes required to support the new Television accessory type supported by iOS 12.2

gbrooker commented 5 years ago

In the latest beta the currentVisibilityState characteristic has a range of 0 to 3. I've added a couple of enumerations to the Generated.swift and to the Inspector which creates it to permit them to be used.

I have also added the correct characteristic settings required to get a Television accessory recognised by iOS 12.2b3.

Bouke commented 5 years ago

Overall looks good to me. I guess it's hard to say whether the current TV Accessory configuration is finalized by Apple?

gbrooker commented 5 years ago

I think there is at least another beta due soon, as there seem to be a few bugs in the current remote interface. No changes to the HAP definitions between iOS 12.2 beta 2 and beta 3. I'll keep this PR updated until 12.2 final is released, and then we can merge it into the master.

gbrooker commented 5 years ago

Replaced by PR #82