Exorcisto @ 07.02.2011, 21:04
Once again about the installation under MS Windows: 1. Download and install ActivePython (~ 44 megabyte) .2. Download and install PyBluez for python 2.6.3. The archive install .apk on your phone. Also in the archive multiple files * .py. Double click to open main.py.4. BlueControl run on the phone, go to the menu. Connected to the computer.
put asset python downloaded to the same set pybluez
blue control installed on the phone, the pairing did (bluesoleil), a program on the phone sees the connection rules.
main.py opened - open the console and immediately closed.
opened main.py using Pythonwin, editing, when you start that's what it gives log
Traceback (most recent call last):
File "F: \ PROGRA ~ 1 \ Python26 \ Lib \ SITE-P ~ 1 \ PYTHON ~ 1 \ pywin \ framework \ scriptutils.py", line 325, in RunScript
exec codeObject in __main __.__ dict__
File "F: \ Program Files \ Python26 \ main.py", line 42, in
serve ()
File "F: \ Program Files \ Python26 \ main.py", line 7, in serve
server_sock = BluetoothSocket (RFCOMM)
File "F: \ PROGRA ~ 1 \ Python26 \ lib \ site-packages \ bluetooth \ msbt.py", line 24, in __init__
self._sockfd = bt.socket (bt.SOCK_STREAM, bt.BTHPROTO_RFCOMM)
IOError вЅ® вЅ® вЅ® вЅ® вЅ® вЅ® вЅ® вЅ® вЅ®
Post has been editedDarkslider - 24.02.11, 02:41