Skip to content

Commit

Permalink
Do not exit after pairing is finished
Browse files Browse the repository at this point in the history
Android performs additional service
discovery during pairing, otherwise
pairing fails.
  • Loading branch information
benquike committed Nov 11, 2023
1 parent 46d6242 commit ccd77ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,8 @@ async def pair(
await connection.pair()
else:
await connection.authenticate()
return
except ProtocolError as error:
print(color(f'Pairing failed: {error}', 'red'))
return
else:
if mode == 'le':
# Advertise so that peers can find us and connect
Expand Down

0 comments on commit ccd77ef

Please sign in to comment.