Am Sonntag 20 Mai 2007 01:05 schrieb Christian W. Zuckschwerdt:
> ok. Have a look at the ObexFTP API (client example)
>
>     http://dev.zuckschwerdt.org/openobex/wiki/ObexFtpExampleClientC
>
> I will make your project simpler and easier. Rough example:
>
> char **device_list = obexftp_discover_bt();
> char *device = <select one device>
> int channel = obexftp_scan_bt(device, OBEX_OBJPUSH_SVCLASS_ID);
> obexftp_client_t *cli = NULL;
> cli = obexftp_open(OBEX_TRANS_BLUETOOTH, NULL, NULL, NULL);
> ret = obexftp_connect_push(cli, device, channel);
> ret = obexftp_put_file(cli, path, remotename);
> ret = obexftp_disconnect(cli);
> obexftp_close(cli);

I don't think that SDP-specific stuff should be part of the obexftp API:
- another protocol
- another layer

HS

-------------------------------------------------------------------------
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

Reply via email to