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

Pairing problem with Android #8

Closed
scloby opened this issue Jun 28, 2013 · 10 comments
Closed

Pairing problem with Android #8

scloby opened this issue Jun 28, 2013 · 10 comments

Comments

@scloby
Copy link

scloby commented Jun 28, 2013

Hello,
when I use the .connect function and a MAC address allready associated (to my android 4.0.4 galaxy tab 10.1) the system allways ask me for the pin code of the bluetooth device.

When I write the pin code the connection work correctly, but if I close the connection and reopen it the system ask me the PIN.

I checked at the system settings and the device is correctly paired.

Please help me :(

Thanks

Francesco

@CalebMuhia
Copy link

Hello,

I too have the same problem with the device pairing, hope it get fixed soon or does someone already have a workaround for this?

Thanks
Muhia

@don
Copy link
Owner

don commented Jul 11, 2013

@CalebMuhia what hardware are you using? What Android version?

@scloby
Copy link
Author

scloby commented Jul 11, 2013

@don Can I give you some more informations to resolve this issue?

Thanks

@CalebMuhia
Copy link

Hi @don,

 i have a GT-p7500 samsung galaxy tab running android 4.0.4, the app

does the same on some other devices that we own,
i really appreciate any help,

Thanks

Muhia

On Fri, Jul 12, 2013 at 2:45 AM, Francesco Medda
notifications@github.comwrote:

@don https://github.com/don Can I give you some more informations to
resolve this issue?

Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-20850310
.

Muhia Njoroge
254 751-459803
skype:muhia.john.njoroge
Ovtygen Web Solutions
personal website: http://muhia-njoroge.herokuapp.com/
http://ke.linkedin.com/pub/caleb-njoroge/24/a4/aa0

(__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
http://ke.linkedin.com/pub/caleb-njoroge/24/a4/aa0

@don
Copy link
Owner

don commented Jul 13, 2013

@CalebMuhia I found a GT-P7510 with 4.0.4, I'l try and duplicate the problem in the next few days

@CalebMuhia
Copy link

Thanks a lot @don,

On Sat, Jul 13, 2013 at 7:07 AM, Don Coleman notifications@github.comwrote:

@CalebMuhia https://github.com/CalebMuhia I found a GT-P7510 with
4.0.4, I'l try and duplicate the problem in the next few days


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-20914348
.

Muhia Njoroge
254 751-459803
skype:muhia.john.njoroge
Ovtygen Web Solutions
personal website: http://muhia-njoroge.herokuapp.com/
http://ke.linkedin.com/pub/caleb-njoroge/24/a4/aa0

(__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
http://ke.linkedin.com/pub/caleb-njoroge/24/a4/aa0

@scloby
Copy link
Author

scloby commented Jul 17, 2013

Thanks @don :)

@don
Copy link
Owner

don commented Jul 24, 2013

@scloby @CalebMuhia I am able to duplicate the problem on a GT-P7510 Samsung Tab using with a Seeed Studio Bluetooth shield.

Here's some more info http://kenneththorman.blogspot.com/2013/06/android-403-and-404-bluetooth-pairing.html

I'll work on a solution

@CalebMuhia
Copy link

Hi @don,
i really appreciate your effort in helping us solve the problem, i will
take a look at the info too, see if there is anything i can do,

Thanks a lot man, this will go a long way in helping us solve the problem,

On Wed, Jul 24, 2013 at 5:26 PM, Don Coleman notifications@github.comwrote:

@scloby https://github.com/scloby @CalebMuhiahttps://github.com/CalebMuhiaI am able to duplicate the problem on a GT-P7510 Samsung Tab using with a
Seeed Studio Bluetooth shield.

Here's some more info
http://kenneththorman.blogspot.com/2013/06/android-403-and-404-bluetooth-pairing.html

I'll work on a solution


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-21488366
.

Muhia Njoroge
254 751-459803
skype:muhia.john.njoroge
Ovtygen Web Solutions
personal website: http://muhia-njoroge.herokuapp.com/
http://ke.linkedin.com/pub/caleb-njoroge/24/a4/aa0

(__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
http://ke.linkedin.com/pub/caleb-njoroge/24/a4/aa0

@don
Copy link
Owner

don commented Sep 18, 2013

@scloby @CalebMuhia Based on the info in http://kenneththorman.blogspot.com/2013/06/android-403-and-404-bluetooth-pairing.html it looks like Android 4.0.3 and 4.0.4 have a problem with the Secure Bluetooth connection. I was able to get the GT-P7510 to prompt every time for the Bluetooth password.

I modified a local copy to use an Insecure Bluetooth connection and it works on the Galaxy Tab without prompting the user.

In order to make a patch, I need to work out what the JavaScript API will look like. I'm thinking something like

bluetoothSerial.connectInsecure(macAddress, success , failure);

@don don closed this as completed in 45de643 Sep 18, 2013
don added a commit that referenced this issue Sep 18, 2013
Fixes #8 - add connectInsecure
Fixes #9 - fix logic
Update docs
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

No branches or pull requests

3 participants