Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Christian Zuckschwerdt <Christian@Zuckschwerdt.org> - 2008-08-08 21:26:17
|
Hi Sylvestre, you may be using an old version. The current release has an optional third argument to connect() when used from bindings. See http://dev.zuckschwerdt.org/obexftp/browser/trunk/swig/client.i line 113ff. It was introduced in r196 a year ago http://dev.zuckschwerdt.org/obexftp/changeset/196 The src arg can either be a number (which will be passed as a string) or the name like hci0. Btw. Changes to a public interface (API) are best done in a compatible way. That's why it has many functions with just slightly different signatures now. Am 08.08.2008 um 23:07 schrieb Sylvestre Mergulhão: > I'm testing sending files with obexftp and push with the Ruby wrapper. > I saw thats there is no support for sending a file with an especific > hci device. I'm thinking on how to do this. I thought thats the easier > is to redefine obexftp_connect_push in obexftp/client.h to use direct > obexftp_connect_src (and not obexftp_connect_uuid) receiving the hci > as parameter. regards, Christian |