obexftp - Multiples hci and using specify hci

Help
2007-08-23
2013-05-01
  • Hi,

    I have two dongles bluetooth in my computer (hci0 and hci1).   
    It is possible use hci1 for transfer file to my mobile using obexftp?
    Whenever it effected the transference I see that it this using hci0.

    Thanks,
    Addo

     
    • Yes, it is possible with OBexFTP 0.22 (get rc6, see wiki->downloads). Then try
      obexftp --hci hci1 ...

       
      • Thanks :D

        I'm using python binding,  also it is possible?

        Addo

         
        • Please contact me by mail. I'd really like input on the python bindings since I don't code python myself. The quickest thing would be to add a connectfrom(hci, device, port) maybe.

           
      • Compile ObexFTP-0.22-rc6 and execute command line:

        xp-5001:~/obexftp-0.22# obexftp --hci hci1 -b 00:13:FD:BB:22:3F -p /usr/share/wallpapers/Water01.jpg --channel 9
        Browsing 00:13:FD:BB:22:3F ...
        obexftp: symbol lookup error: obexftp: undefined symbol: obexftp_browse_bt_src

        xp-5001:~/obexftp-0.22# obexftp -V
        ObexFTP 0.22

        But error obexftp_browse_bt_src, using libraries:

        ii  libopenobex1                      1.3-3                      OBEX protocol library
        ii  libopenobex1-dev                  1.3-3                      OBEX protocol library - development files

        It's correct ?

        Thanks
        Addo

         
        • Manuel Naranjo
          Manuel Naranjo
          2007-08-29

          You sure you installed the app again, after compiling?

           
          • I did not understand the question ? Sorry :(

            I effected the following sequence:

            wget http://triq.net/obexftp/obexftp-0.22-rc6.tar.bz2
            tar xvfj obexftp-0.22-rc6.tar.bz2
            export OPENOBEX_LIBS="-L/usr/lib -lopenobex"
            export OPENOBEX_CFLAGS="-I/usr/include/openobex/ -I/usr/include"
            ./configure --prefix=/usr
            make
            make install

            I'm using Debian

            Sorry my bad english :(

             
        • Looks like you got another version of the ObexFTP libs installed. Try to find (debian package manager) and remove them. Otherwise run the obexftp command with strace -eopen and look for the culprit.

           
          • Thanks Christian ,

            Remove all obexftp version and libs, recompile and running :'D

            Att,
            Addo

             
    • Maulin
      Maulin
      2008-02-07

      Guys,

      Did you manage to get this working in the python binding? I've been playing around with the python bindings but couldnt find any methods in the API which allowed me to specify which device I'm using to connect with, can you offer any advice?

      Thanks,

      Rob