Hi,
I have the same problem of njonesy, but I run on linux machine (gentoo) with bluez, ussp-push, rfcomm, hci, sdp.
On phone (6600) i have PythonForSeries60.SIS (from PythonForSeries60_for_2ndEd_SIS.zip)
I can transfer files from gentoo to 6600 (with a usb-bluetooth key) but I can't establish a connection with bt_console.py script.
First, I configure a serial port in gentoo with the command:
Code:
sdptool add-channel=2 SP
and then set up an rfcomm port to receive the communications:
Code:
rfcomm listen /dev/rfcomm0 2
Now, launch Python on 6600 and run bt_console.py and crash
My stack trace error (on phone) is very similar to njonesy:
Code:
File "C:\System\Apps\Python\default.py", line 48, in menu_action f()
File "C:\System\Apps\Python\default.py", line 32, in query_and_exec execfile(os.path.join(this_dir, script_list[index]), globals())
File "C:\System\Apps\Python\bt_console.py", line 9, in ? btconsole.main()
File "C:\System\libs\btconsole.py", line 321, in main run()
File "C:\System\libs\btconsole.py", line 304, in run sock=connect()
File "C:\System\libs\btconsole.py", line 129, in connect
addr,services=socket.bt_discover()
error: (2, 'No such file or directory')
P.S:
http://crschmidt.nt/blog/archives/11/bluetooth-console/
Help me, please