|
2010-05-12
, 16:41
|
|
Posts: 35 |
Thanked: 37 times |
Joined on Nov 2009
@ Alcanena / Portugal
|
#2
|
|
2010-05-15
, 08:20
|
Posts: 2 |
Thanked: 0 times |
Joined on May 2010
|
#3
|
does anybody know, how to invoke serial connection from python?
"rfcomm connect /dev/rfcomm0 11:22:33:44:55:66" works, i'd like to accomplish same inside python program.
but the python script I found here http://permalink.gmane.org/gmane.lin...ez.kernel/4725 keeps failing and saying
"Traceback (most recent call last):
File "bl_test.py", line 21, in <module>
node = serial.Connect(service)
File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 622, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.Failed: No record found
"