-
Notifications
You must be signed in to change notification settings - Fork 48
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
Issue in the bluetooth connectivity #36
Comments
Can you provide the code you are experiencing problems with? You can use three backticks (```) to paste code. |
this is my code, it's alerting got UUID's for device: '+ device.uuids[0] but it doesn't work or jumpsout from onConnection function because it's not alerting ('got connection'); and Here is my .apk file http://softweavertech.com/projects/android-debug-unaligned.apk . Please check it and let me know if any wrong with my code. Currently it is finding Bluetooth devices near it, but when i click on Connect button, nothing happens. Thanks |
Is the |
Yes, |
Hi, Sorry for the late reply. You can do something akin to: var onFail = function(err) {
alert('ERROR:: ' + err);
Bluetooth.set({
state: BluetoothState.Ready
});
self.$('.btn-bt-connect').button('reset');
} |
Hi, Thanks. |
I have enabled bluetooth on both devices. How to ensure that the device address is set correctly? |
Hey, I'm not sure about your use case. I haven't tested connecting to other mobile devices. Maybe the device in question is not accepting incoming connections? At least the error you're getting seems to indicate that. |
Hi, Thanks. |
You might want to check that you're running some sort of an app on the Nokia and Micromax devices, which can accept incoming connections. It's not necessarily enough that they're Bluetooth enabled, they need to also be able to accept incoming connections. |
Check #30. You're basically experiencing the same issue as the folks over there. You need to have some sort of a "slave" device, which can accept incoming connections. For example in the issue I linked the connection was succesful when the receiving end was some sort of a Bluetooth speaker, a "slave" in a sense. |
Hi! With this plugin, Can I put an android device in that "slave" mode? tnx! |
I don't think so, sorry. You can only connect to devices, not receive connections from. |
No problem. Thank you!!!!! :D |
Hi,
i have issues regarding your code. when i am connecting device with bluetooth then it jumpsout from the function ( var gotUuids = function(device) ) after alert and disconnecting the device.
please provide me a solution regarding this issue.
Thanks
The text was updated successfully, but these errors were encountered: