GithubHelp home page GithubHelp logo

Cannot advertise service about pybluez HOT 8 CLOSED

edwynzn avatar edwynzn commented on September 3, 2024
Cannot advertise service

from pybluez.

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Please provide the exact code that produces the problem, and the exact error 
message.

Original comment by [email protected] on 17 Mar 2009 at 5:13

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
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 [email protected] on 17 Mar 2009 at 8:28

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
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 [email protected] on 18 Mar 2009 at 4:14

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024

Original comment by [email protected] on 18 Mar 2009 at 4:14

  • Changed state: Invalid
  • Removed labels: Priority-Medium, Type-Defect

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Issue 16 has been merged into this issue.

Original comment by [email protected] on 18 Mar 2009 at 4:14

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
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 [email protected] on 18 Mar 2009 at 5:42

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
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 [email protected] on 18 Mar 2009 at 5:54

from pybluez.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
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 [email protected] on 18 Mar 2009 at 11:25

from pybluez.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.