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

Communication between 2 phones is not sent through #17

Open
fmatosqg opened this issue Mar 1, 2019 · 3 comments
Open

Communication between 2 phones is not sent through #17

fmatosqg opened this issue Mar 1, 2019 · 3 comments
Assignees
Labels
Type: Enhancement New feature or request.

Comments

@fmatosqg
Copy link

fmatosqg commented Mar 1, 2019

Hi,

I picked up 2 phones and after pairing them I can connect one to another. This is confirmed on the receiving phone because the "connect" button automatically changes to "disconnect".

However after a few seconds both buttons return to "connect", followed by a message on console.

D/FlutterBluePlugin(14133): android.bluetooth.device.action.ACL_DISCONNECTED
D/FlutterBluePlugin(14133): android.bluetooth.device.action.ACL_CONNECTED
D/FlutterBluePlugin(14133): android.bluetooth.device.action.ACL_DISCONNECTED
D/FlutterBluePlugin(14133): android.bluetooth.device.action.ACL_CONNECTED
D/FlutterBluePlugin(14133): android.bluetooth.device.action.ACL_DISCONNECTED
D/FlutterBluePlugin(14133): android.bluetooth.device.action.ACL_CONNECTED
D/FlutterBluePlugin(14133): android.bluetooth.device.action.ACL_DISCONNECTED

I also tried typing something and pressing send, but I couldn't make the message show up on the other phone.

@AgainPsychoX
Copy link
Collaborator

AgainPsychoX commented May 30, 2019

The problem is the sockets can't be connected to anywhere, since they are connecting, but no one is listening.

There must be listening/server mode implemented (also in platform code). This is planned feature...

@SubasreeArvind
Copy link

Hi,
I too want to connect two android mobiles and enable chat feature amongst them using classic bluetooth however as mentioned, there isn't any listener side code in the example program.
@PsychoXIVI has there been any development/solution to this issue?

@staminna
Copy link

I also looking for this solution. @SubasreeArvind Did you manage to find out how to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

4 participants