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

inquiretest always throws Exception : cannot find service #16

Open
ShiverZm opened this issue Sep 23, 2020 · 7 comments
Open

inquiretest always throws Exception : cannot find service #16

ShiverZm opened this issue Sep 23, 2020 · 7 comments

Comments

@ShiverZm
Copy link

No description provided.

@Agamnentzar
Copy link
Owner

Do you have bluetooth receiver connected to your computer ?

@ShiverZm
Copy link
Author

the same,
always throws Exception:

  • Message "(10108) This service does not exist. The service is not found in the specified namespace. \r\n" std::basic_string,std::allocator >

@ShiverZm
Copy link
Author

in a addition, i comment this "cout << "\tchannel ID: " << inq->SdpSearch(d.address) << endl",it can work

@ShiverZm
Copy link
Author

And win10-connect-Android always throws Exception:Cannot Connect: (10064) The socket operation failed because the target host was down. it broke down at "connect" return -1, i surely they are connected.

My iphone never is like this, it can work but that is not i want. i want comunicate with android app.

@Agamnentzar
Copy link
Owner

Yeah, SdpSearch seems to not work correctly, you can just use value of 1 for channel id. Also be aware that this library connect using COM protocol, so it will only connect to devices that support that protocol.

@ShiverZm
Copy link
Author

Could you mind telling me something about bluetooth-add-service by sdp?i dont know how to nearly

@Agamnentzar
Copy link
Owner

I don't know anything about that

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

2 participants