Re: stuck with PyOBEX

2009-05-05 Thread alejandro
Ejla! I have sent you a mail (in case you check it often like me :-)) "David Boddie" wrote in message news:gtkhdr$ob...@get-news01.get.basefarm.net... > On Sunday 03 May 2009 10:33, alejandro wrote: > >> Yes! >> >>> I'll send you an updated version to try if you would like to test it. > > My mai

Re: stuck with PyOBEX

2009-05-03 Thread David Boddie
On Sunday 03 May 2009 10:33, alejandro wrote: > Yes! > >> I'll send you an updated version to try if you would like to test it. My mails to you keep getting returned, so I've put it here: http://www.boddie.org.uk/david/Projects/Python/PyOBEX/Software/PyOBEX-0.21.zip Please let me know if it wo

Re: stuck with PyOBEX

2009-05-03 Thread alejandro
Yes! > I haven't tried to run it under Windows. I just assumed that > BluetoothSocket > would have the same API on both Linux and Windows. > > Looking around, it seems that this is something we can work around: > > http://svn.navi.cx/misc/trunk/laserprop/client/BluetoothConduit.py > > I'll send y

Re: stuck with PyOBEX

2009-05-02 Thread David Boddie
On Saturday 02 May 2009 14:25, alejandro wrote: > I am having problems with connect() it says that it doesn't have sendall > atribute. > > Error: > > Traceback (most recent call last): > File "novi_pokusaj.py", line 25, in > client.connect() > File "C:\Python25\lib\PyOBEX\client.py", li

Re: stuck with PyOBEX

2009-05-02 Thread alejandro
I am having problems with connect() it says that it doesn't have sendall atribute. Error: Traceback (most recent call last): File "novi_pokusaj.py", line 25, in client.connect() File "C:\Python25\lib\PyOBEX\client.py", line 356, in connect return Client.connect(self, header_list = [

Re: stuck with PyOBEX

2009-04-29 Thread David Boddie
On Wednesday 29 April 2009 07:42, alejandro wrote: > So I should connect trough pybluez and send with obex?? Yes, or you could try lightblue: http://lightblue.sourceforge.net/ I've updated PyOBEX to try and be a bit more flexible when it comes to Bluetooth socket implementations, so you might

Re: stuck with PyOBEX

2009-04-29 Thread Дамјан Георгиевски
> This module asks the socket module for AF_BLUETOOTH... in the socket > module there is no such thing as AF_BLUETOOTH. Could it be that the > person that made PyOBEX modified his socket module and forgot to give > his socket module? Or am I missing something? Maybe AF_BLUETOOTH > stands for someth

Re: stuck with PyOBEX

2009-04-29 Thread Jorgen Grahn
On Tue, 28 Apr 2009 18:52:38 +0200, Diez B. Roggisch wrote: > alejandro wrote: [AF_BLUETOOTH] >> Can you tell me what is it? Maybe I can search it and pass it in another >> way... if it is an address or protocol name > > I'm not entirely sure, but I guess no, you can't simply pass it in. >

Re: stuck with PyOBEX

2009-04-28 Thread alejandro
So I should connect trough pybluez and send with obex?? "David Boddie" wrote in message news:gt80qd$mb...@get-news01.get.basefarm.net... > On Tuesday 28 April 2009 18:34, Diez B. Roggisch wrote: > >>> This module asks the socket module for AF_BLUETOOTH... in the socket >>> module there is no suc

Re: stuck with PyOBEX

2009-04-28 Thread David Boddie
On Tuesday 28 April 2009 18:34, Diez B. Roggisch wrote: >> This module asks the socket module for AF_BLUETOOTH... in the socket >> module there is no such thing as AF_BLUETOOTH. Could it be that the >> person that made PyOBEX modified his socket module and forgot to give his >> socket module? Or a

Re: stuck with PyOBEX

2009-04-28 Thread alejandro
The problem with Pybluez is that the module serves only to get the addresses, ports, protocols... that the device uses but can't send or recive files. So I am stuck again :-( Maybe I should use dll-s and again another thing to learn... :-) -- http://mail.python.org/mailman/listinfo/python-

Re: stuck with PyOBEX

2009-04-28 Thread David Robinow
On Tue, Apr 28, 2009 at 12:36 PM, alejandro wrote: > Can you tell me what is it? Maybe I can search it and pass it in another > way... if it is an address or protocol name > >> AF_BLUETOOTH seems to be specific to *nix-systems. At least under debian >> and >> ubuntu, I've got it defined. >> >>

Re: stuck with PyOBEX

2009-04-28 Thread Diez B. Roggisch
alejandro wrote: > Can you tell me what is it? Maybe I can search it and pass it in another > way... if it is an address or protocol name I'm not entirely sure, but I guess no, you can't simply pass it in. Unix uses streams as abstraction for a lot of things - all kinds of devices for exampl

Re: stuck with PyOBEX

2009-04-28 Thread alejandro
Can you tell me what is it? Maybe I can search it and pass it in another way... if it is an address or protocol name > AF_BLUETOOTH seems to be specific to *nix-systems. At least under debian > and > ubuntu, I've got it defined. > > So it seems it is not supported under windows - you should

Re: stuck with PyOBEX

2009-04-28 Thread Diez B. Roggisch
alejandro wrote: > So I installed the module and tryed to make it work but... > It gave me: > > Traceback (most recent call last): > File "first.py", line 24, in > client2.connect() > File "C:\Python25\lib\PyOBEX\client.py", line 359, in connect > return Client.connect(self, header_l

stuck with PyOBEX

2009-04-28 Thread alejandro
So I installed the module and tryed to make it work but... It gave me: Traceback (most recent call last): File "first.py", line 24, in client2.connect() File "C:\Python25\lib\PyOBEX\client.py", line 359, in connect return Client.connect(self, header_list = [headers.Target(uuid)]) Fi