pvdao / pybluez

Automatically exported from code.google.com/p/pybluez
GNU General Public License v2.0
0 stars 0 forks source link

Example in wiki won't discover #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. python RFCOMM\ Server.py
2. python RFCOMM\ Client.py

What is the expected output? What do you see instead?
to see the string "Hello!!" on the terminal that is running "RFCOMMServer.py", 
instead I see the failed condition string "Failed to discover FoobarService"

What version of the product are you using? On what operating system?
PyBluez 0-18.1 on Ubuntu Linux 10.04

Please provide any additional information below.
this is the page I'm following, and attached are the two files mentioned above

Original issue reported on code.google.com by oday.ma...@gmail.com on 22 Jan 2012 at 1:28

Attachments:

GoogleCodeExporter commented 8 years ago
THIS, is the page i'm following, 
http://people.csail.mit.edu/albert/bluez-intro/x290.html
sorry, forgot to include it in the issue

Original comment by oday.ma...@gmail.com on 22 Jan 2012 at 1:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
aha! I changed the 8th line in RFCOMM-Client.py to become:
"service_matches = find_service ()" , did it all over and in the client 
terminal I got

"connecting to "Network Access Point Service" on 00:21:FC:71:60:05" but I do 
NOT get "Hello!!!" on the terminal that is running the server, I only get the 
usual "Listening on port 0" and that's it

Original comment by oday.ma...@gmail.com on 22 Jan 2012 at 2:21