Hi, since you are already programming C it might ber better to use the ObexFTP API. It's really simple if you just want file transfers. See /usr/include/obexftp/client.h and ./obexftp/apps/obexftp.c
E.g. something like (you need to copy this from obexftp.c) cli = obexftp_open(transport, NULL, info_cb, NULL); obexftp_connect(cli, device, channel) // then a couple of obexftp_list(cli, localname, remotename); obexftp_get(cli, localname, remotename); // finally obexftp_disconnect(cli); obexftp_close(cli); You can read error codes from each function and get status updates via the info_cb callback. Outline your requirements and we can make a complete and minimal example. regards, Christian [EMAIL PROTECTED] schrieb: > Im making a C program to send archive with bluetooth. > > sprintf(comando_obex,"obexftp -b %s -B %d -U -p %s", MAC_dev, > canal_obex_object_push, objeto); > system(comando_obex); > > Then the question is about what is the best way to do it. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Openobex-users mailing list [email protected] http://lists.sourceforge.net/lists/listinfo/openobex-users
