Integrating Pairing : Identifying if a device already is bonded
- Dominant language
- Python
- Stars
- 555
- Forks
- 138
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 9
Description
I am currently Integrating the pairing functionality into my custom app.
Basically the flow would be when on_connect check if the address is in the keystore , if it is continue else pairing mode.
However I have not been able to get this check correctly done as the address of the connecting device - Android keeps changing .
I looked at the unbond.py app and it seems to remove all bonds and isnt specific to an address or device to unbond from .
Any pointers here will help .
At present I always need to unpair and repair for me to get my app to continue execution of the rest of the code.
The only time a check for if connection.is_encrypted went through was when i paired via Windows and it used the same address as previous connections.
Issue is seen on pair.py as well where when i restart the app after first pairing it doesnt progress until I unpair and repair on an Android phone.
Contributor guide
Assessment
This issue has not been assessed yet.