Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug on Blue-Pair App: Bluetooth fails to pair device again after disconnected from other device #17

Closed
gutzygwin opened this issue Mar 4, 2018 · 1 comment
Assignees
Labels

Comments

@gutzygwin
Copy link

Expected behavior

Blue pair is an open source andriod app which is meant for pairing and finding nearby Bluetooth devices with the aid of an in-built Bluetooth accessory on the mobile device. Bluetooth is expected to connect and pair Bluetooth devices upon use of Bluetooth conveniently.

Actual behavior

Upon pairing the Bluetooth using blue pair application, and then disconnecting the connection (or unpairing the devices) from other devices, blue pair fails to pair again with that particular Bluetooth devices and as such will keep showing this message "bluetooth device has already been paired" whereas it hasn't been paired and other devices remain unconnected.

Screenshot_20180304-002456.png

How to reproduce

  • Download the Blue pair from Google playstore.
  • open the app and search for Bluetooth device and pair with another mobile phone using the Bluetooth settings on the other device.
  • Pair both devices.
  • Unpair from the other device from Bluetooth settings.
  • Reload the "mobile device with blue pair app" and try pairing again with the app.
  • App fails to pair again and shows the mesaage "Bluetooth device has already been paired" , whereas the device isn't pairing.

  • Browser: Google Playstore/Blue-Pair
  • Operating system: Andriod 7.0 . Infinix Note 4.

Recording Of The Bug

https://youtu.be/4ZXn33MQGqQ



Posted on Utopian.io - Rewarding Open Source Contributors

@aurasphere
Copy link
Owner

aurasphere commented Mar 4, 2018

Hey @gutzygwin ,

thank you very much for taking your time to open this very detailed and well-written issue.

I've looked into this and reproduced the steps you wrote but I haven't been able to find any bugs in this workflow. I've also noticed that the video you attached is a little bit different from the steps you enumerated. So, let me address both cases:

Youtube Video: Pairing two devices and then restarting Bluetooth

In this case, the devices are supposed to be still paired after turning the Bluetooth back on. Please be aware that Bluetooth pairing and connection are not the same.

  • Pairing: required only once until the devices are unpaired.
  • Connection: required each time a Bluetooth device turn off and on again or after the connection is lost (through an explicit disconnection request for example)

This app performs only the former operation since the latter is usually tied to a specific service one device exposes and this is out of Blue Pair's scope.

Steps on "How to reproduce" section

I've been following this steps but I didn't have any luck on reproducing the issue. Here's what I've done:

  1. Pair a device from Blue Pair
  2. Unpair the same device from Android's settings
  3. Pair again the device from Blue Pair

Here's a video recording of this so you can tell me if I missed something.

Also, I find that some devices (like my computer) automatically fail the second pair attempt if you perform the unpairing from only one side (in my case, I've unpaired the PC from the Android device but I couldn't connect again until I've also removed the Android device from the PC). Please let me know if this was also your case.

Feel free to reply or close the issue. Thank you again for your report and your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants