On Wed, 11 Feb 2009, GianPiero Puccioni wrote: > Li, Zhigang wrote: > > ..... > > >> I have seen it but I don't know python, in fact I forgot to say the program should be > >> a small command line C program, something like "opush 00:11:9F:4B:A1:D9 text.txt" > >> as I have to use it in bash script. > > ./send-files [target address] /home/text.txt > > > Unfortunately I cannot use it as I cannot compile obexd (my linux is a little outdated and > my libglib is too old). That's why I was trying to write my own C prog as I used Bluez > before for another project. you could use 'obexftp' or 'obexapp' either directly or as examples to do this, both use 'openobex' library. See http://openobex.triq.net/ http://www.geocities.com/m_evmenkin/ (obexapp was written for FreeBSD and provides server capability also but perhaps it would be possible to adapt it to bluez..) iain -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html