Hi, On Feb 2, 2010, at 8:45 AM, Kleint Friedemann (Nokia-D-Qt/Berlin) wrote:
> Hi, > >> On Feb 2, 2010, at 4:15 AM, ext Krishna Achugatla wrote: >> >> >> I want to start working with the Qt-Creator feature "File uploading with >> USB using OBEX, preferable without PCSuite". Below I mention the idea of >> my approach. Please let us know if the approach is right. >> >> On the target (device) side, PC suite service supports the data transfer >> using OBEX with USB connection. It is mentioned in the wiki of >> "usbservices" package >> https://developer.symbian.org/wiki/index.php/USB_Services_Package(usbservi >> ces) (look for the PC Suite section). On the host (PC) side, PCCAPI from >> forum nokia >> (Nokia_PC_Connectivity_API_3.2.zip<http://sw.nokia.com/id/502d4c5f-6f1f-4b >> 0f-b1a4-ef282259fb7c/PC_Suite_Connectivity_API_3.2.zip>) gives the >> connection framework for communication with device using USB. The idea is, >> Qt-Creator using the PCCAPI on the host, able to communicate to the device >> and transfer the file. This way the dependency on the PC Suite application >> on the host can be avoided. >> >> Are we in the right direction or totally out of sync?. > > Qt Creator currently communicates via Trk (not requiring PC suite to be > installed). The only thing Qt Creator needs at the moment from PCSuite/OviSuite is the device driver. Which is probably also available independently. > In the source tree, under tests/manual/trklauncher, there is a > little command line tool called trklauncher that can be used to transfer > installation packages and install them. It should be much less work to > modify > this tool to be able to copy arbitrary files. The advantage of using OBEX would be the faster upload though (some factor 7 or 8 afair). I had a look at PCCAPI and hesitated to pursue that further since it is pure Windows API, plain OBEX would probably be easier to port+maintain in the future. The funny part is that if you happen to have PCSuite installed (and most probably running), it blocks the OBEX channel. No idea if this is different for the PCSuite connectivity API. -- Eike Ziller Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
