Closed GoogleCodeExporter closed 8 years ago
Please provide the exact code that produces the problem, and the exact error
message.
Original comment by ashu...@gmail.com
on 17 Mar 2009 at 5:13
I am running the exact code for rfcomm-server.py located in the wiki. It seems
like
it is opening the socket but it is not in discoverable mode. Are you supposed to
disable ms bluetooth? if not making it discoverable through the windows
bluetooth
obviously works but with the standard computer name and not the name that I
assign
with Pybluez. Moreover if I do not make it discoverable with the windows
bluetooth
software I cannot advertise a service using rfcomm. I dont get any errors, but
simply
cant find the computer using my phone. Any help will be appreciated.
Original comment by keyur8...@gmail.com
on 17 Mar 2009 at 8:28
Don't run bluetooth/__init__.py directly. If you're doing this because you saw
it in
some documentation, let me know where so that I can correct the author.
There is a tutorial on how to use PyBluez, please use that and the examples
distributed with PyBluez to learn.
http://people.csail.mit.edu/albert/bluez-intro/
Original comment by ashu...@gmail.com
on 18 Mar 2009 at 4:14
Original comment by ashu...@gmail.com
on 18 Mar 2009 at 4:14
Issue 16 has been merged into this issue.
Original comment by ashu...@gmail.com
on 18 Mar 2009 at 4:14
I am following your examples located int the pybluez package. Specifically
example
rfcomm-server under the simple examples folder. The output i get in windows and
ubuntu is "waiting for connection on RFCOMM channel1 but it is not in
discoverable
mode. I am not able to find it using any bluetooth devices. I have been reading
your
book on google books and trying to follow your examples for the past 1.5 weeks
but
yet unable to make my computer discoverable. Please let me know if you can
help.
Original comment by keyur8...@gmail.com
on 18 Mar 2009 at 5:42
PyBluez does not have an API for setting device discoverability. This is
something
you'd do manually with your operating system. See the documentation for the
bluetooth stack you're using on how to do that.
Original comment by ashu...@gmail.com
on 18 Mar 2009 at 5:54
Thank you for your help, I really appreciate that. I im trying to find the
documentation now on toggling discovery mode from python using ms stack. Please
let
me know if you have a handy source for that. Thanks again.
Original comment by keyur8...@gmail.com
on 18 Mar 2009 at 11:25
Original issue reported on code.google.com by
keyur8...@gmail.com
on 16 Mar 2009 at 8:28