Skip to content

Commit

Permalink
Fix #211: Update pairing methods
Browse files Browse the repository at this point in the history
As defined in the open source HomeKit ADK, both PairSetup and PairSetupWithAuth
are available options. The main difference lies in the necessary hardware:
PairSetupWithAuth needs an Apple co-processor for the authentication in
pairing step M4.
  • Loading branch information
Robert Schulze authored and Robert Schulze committed Feb 1, 2022
1 parent 3912f78 commit 44f7b2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions homekit/protocol/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@


class Methods(IntEnum):
# Methods (see table 4-4 page 60)
PairSetup = 1
# Methods (see open source HomneKit ADK, HAPPairingMethod (HAPPairing.h:56)
PairSetup = 0
PairSetupWithAuth = 1
PairVerify = 2
AddPairing = 3
RemovePairing = 4
Expand Down

0 comments on commit 44f7b2e

Please sign in to comment.