Set a timeout for obex.sendfile()

Help
xu long
2008-06-15
2013-04-25
  • xu long
    xu long
    2008-06-15

    In my test,if the client doesn't response to my obex.sendfile(),I should wait for nearly a minute,I think this could be avoided by set a timeout parameter,but I don't know how to carry out,please give me a hand!

     
    • blam
      blam
      2008-06-22

      This isn't supported in the API yet, but you might be able to modify the source to do this. What platform are you using?

       
    • xu long
      xu long
      2008-06-23

      I use Ubuntu7.10,what should I do?

       
    • blam
      blam
      2008-06-27

      Trying tinkering with the "timeout" in the code in src/linux/lightblueobex_client.c.

       
    • blam
      blam
      2008-06-27

      Try tinkering with the "timeout" in the code in src/linux/lightblueobex_client.c.