Skip to content

Check companion pairing authentication status code#2397

Open
ninjaoxygen wants to merge 1 commit intopostlund:masterfrom
ninjaoxygen:master
Open

Check companion pairing authentication status code#2397
ninjaoxygen wants to merge 1 commit intopostlund:masterfrom
ninjaoxygen:master

Conversation

@ninjaoxygen
Copy link

Adds the status code check for companion pairing authentication, raises an AuthenticationError if they are not the expected status code.


# TODO: check status code
# check status code
if resp['_pd'][2] != 4:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit uncertain what this check really is? Isn't 2 here the same as

Salt = 0x02
?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants