I have a question on accessing already existing paired bluetooth connections...
How can a remote service detect an already paired connection and await a file transfer from it?
In all comments on stackoverflow, on tutorials, ebooks or on google there is always shown how to create a new connection using sockets and so on, but no word about accessing to an existing one.
Is it possible at all? If yes, can you also tell/show me how? At the moment I have no clue how to get started with it.
Would be great if someone can help me get started :)
Pairing just means that the two devices have authenticated eachother. It does not imply an open socket connection.
After pairing, comes connecting: One side creates a server socket and the other device can then connect to it with a client socket.
I think the confusion is coming from the blending of two concepts: "already paired" with "already connected". Pairing just means they are authenticated. The devices cannot connect without first pairing, but pairing does not connect the devices.
To make an app wait for a file transfer it would go something like this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With