-
Hi rayscan,
Can you please confirm what changes you made to the xcode project before you were able to build it successfully with "arch -i386 python2.6"?
I'm trying to see how this can be built so I can look at the import error.
2009-11-16 00:49:00 UTC by blammit
-
Hi,
I assume you mean "connecting client" rather than "connecting server". In the lightblue.obex.OBEXClient class you can specify the exact headers to use when sending files.
However, you'd need to control the code on the phone to actually be able to read this information, since phones normally just use the bluetooth name of the connecting device when showing "x is trying to send a file"...
2009-11-11 07:47:23 UTC by blammit
-
I've got an issue with sending files via the put method on Ubuntu 9.04. I have an application that needs to send files to mobile phones, but the name of the connecting server needs to change for different files. So, the potential recipient of the file will get the message "[insert correct name here] is trying to connect". Is there a way of sending or defining this name in the headers or...
2009-11-10 00:09:33 UTC by PeteWJ
-
I had some trouble installing the package and got around the error you have using:
arch -i386 python2.6
Seems like its defaulting incorrectly. I now have a problem when importing:
File "/bluetooth.py", line 17, in <module>
import lightblue
File "/Library/Python/2.5/site-packages/lightblue/__init__.py", line 160, in <module>.
2009-10-30 21:46:15 UTC by rayscan
-
Has anyone been able to compile LightBlue on Snow Leopard? I'm fairly new to Mac OS so I could be doing something wrong. I managed to get LightBlueAqua to compile by changing the XCode build settings so that it uses the 10.4a sdk + GCC 4.0. The compile + install works fine, however when I try to import lightblue, I get a "Bundle could not be loaded error". The problem seems to be...
2009-10-19 02:24:36 UTC by dbouchard
-
If it works from obexftp but not LightBlue, it could be that the file is being sent to an OBEX FTP server rather than an OBEX Push server on the device. The lightblue.obex.sendfile() function doesn't use the FTP protocol when connecting, which would be a problem if it is connecting to an FTP server.
2009-08-20 08:32:43 UTC by blammit
-
Hi blammit! and thanks for your reply.
I didn't test it too more, now I'm using obexftp via a subprocess function. But if you like a log, I can show you, tell me what do you like.
I send you the function to send objects via obexftp, perhaps somebody need it
"""
Send the message via the OBEX channel provided
"""
def send(self, hwaddr...
2009-08-13 09:55:26 UTC by agonzalezro
-
blammit made 5 file-release changes.
2009-08-13 09:38:01 UTC by blammit
-
blammit made 2 file-release changes.
2009-08-13 09:37:01 UTC by blammit
-
Hi Álex,
Are you sure it's sending to the correct channel for the OBEX Push service? Do you have any logs to indicate what the problem might be?
The PIN handling is done at a lower level than lightblue, so you'd have to use a different library to handle that. If you're on linux, try using the python dbus bindings for bluez.
2009-08-13 09:35:26 UTC by blammit