Closed rblenkinsopp closed 2 years ago
Sorry to chase, but is this MR likely to be reviewed soon? I have a number of other changes which I would like to submit but wanted to see how this one progressed. If it's unlikely to be looked at soon I'll continue on a fork for the time being, and can always look to raise further MRs later.
Sorry for not looking into this earlier.
I've refactored hc and made a new library out of it. The new library is available as hap. I've included your pull request with commit brutella/hap@eec8501
Thanks for your work. 🎉
Great, thanks! The refactor looks like it addresses a number of other issues that I wanted looked at, great work :)
As described in "6.3.3 Characteristic Objects" section of the HAP Specification.
This is required for characteristics that are enumeration values and when a service doesn't support all the possible enumeration values.
This has been tested with the following code (for which it was required) with an iOS client and results in the expected behavior:
This descriptor should only be used for
UInt8
and for Apple-defined characteristics, but this is not enforced in this PR.