Lorenzo,
the up to date code is at http://github.com/zuckschwerdt/obexftp/blob/master/examples/c_example.c
See also the example on the wiki: http://dev.zuckschwerdt.org/openobex/wiki/ObexFtpExampleClientC
A return of NULL indicates either a memory problem (not that likely)
or that OBEX_Init failed. (see http://github.com/zuckschwerdt/obexftp/blob/master/obexftp/client.c#L469
)
Perhaps compile ObexFTP with DEBUG enabled, see the Readme.
Am 20.09.2009 um 02:31 schrieb Lorenzo Brito Morales:
> Hi, im trying to work whit these code
> examples/c_example.c
> but im gettin null in this fucction
> cli = obexftp_open(OBEX_TRANS_BLUETOOTH, NULL, NULL, NULL); /*!!!*/
>
> i have already test the obexftp cause i send a file to my phone from
> the console..
regards,
Christian
|