maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   PyBluez on n800 (https://talk.maemo.org/showthread.php?t=11178)

Khertan 2007-10-31 10:51

PyBluez on n800
 
Hi,

I'm trying to connect on my phone on the channel 9 with :

bt = bluetooth.BluetoothSocket(bluetooth.RFCOMM)
bt.connect(("xx:xx:xx:xx:xx:xx", 9))

but i always get the same error : (16, 'Device or ressource busy')

I don't know why, as this channel is for obex and file tranfer from file manager use obex to send file to my phone and it s work.

Someone have already use successfully pybluez on an n800 ?

Thanks

yerga 2007-10-31 20:15

Re: PyBluez on n800
 
Works for me.
It asks for a confirmation from the phone and if you accept it, connects perfectly.


Cheers.


All times are GMT. The time now is 06:35.

vBulletin® Version 3.8.8