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 " is trying to connect". Is there a way of sending or defining this name in the headers or something, using Lightblue?
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" messages.
Log in to post a comment.