You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issues pairing my accessory to the controller, it's seems that the pairing method is not supported by the accessory, while looking at the code i noticed a conflict in the values stated in file homekit/protocol/methods.py and the HAP-spec.
For example in HAP-spec, the PairSetup is 0, while in methods.py it is 1.
I dont know if the spec that i have is 100% accurate since it's Non-Commercial, can anyone confirm which values are the correct ones.
The text was updated successfully, but these errors were encountered:
I think our constant is set based on an earlier version of the spec that predates soft auth (i.e. when all devices had an apple chip).
Some devices work if you pass 0, some work if you pass 1. There is no definitive documentation on which to use when. My theory was if the zeroconf data sets bit 1 on ff (the SupportsAppleAuthenticationCoprocessor flag) then it should be 1, otherwise it should be 0. But in practice it seems to be that iOS will pass 0 if no bits are set on ff, otherwise it will use 1.
There are some devices that seem to support neither scheme though.
I'm having issues pairing my accessory to the controller, it's seems that the pairing method is not supported by the accessory, while looking at the code i noticed a conflict in the values stated in file homekit/protocol/methods.py and the HAP-spec.
For example in HAP-spec, the PairSetup is 0, while in methods.py it is 1.
I dont know if the spec that i have is 100% accurate since it's Non-Commercial, can anyone confirm which values are the correct ones.
The text was updated successfully, but these errors were encountered: