Name of connecting server

Help
Anonymous
2009-11-10
2013-04-25

  • Anonymous
    2009-11-10

    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?

     
  • blam
    blam
    2009-11-11

    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" messages.