Am Donnerstag 19 Oktober 2006 01:27 schrieb surfzoid surfzoid:
> I don't why but if i need to set path to a folder i can't send the sequence
> packet
> 0x49(FOR I),0x4D(FOR M),0x41(FOR A),0x47(G),0x45(E),0x53(S), in fact the
> ASCII hexa code equivalent of the string.
> i need to put null charactere between each letter and more strange two
> other null charactere at the end like this :
> 0x00,0x49,0x00,0x4D,0x00,0x41,0x00,0x47,0x00,0x45,0x00,0x53,0x00,0x00

This is simply UCS-2 unicode character encoding. In  UCS-2, each character is 
16bit (=2byte) wide.

> Another issue seem important, if i make a sleep time only for one seconde
> between each obex frame it's enouth for set path or connect, but when i
> list a folder with a lot of file or to get the file i send some get final
> data bit (0x83, 0x00, 0x03) because the obex server didn't send the file in
> once time, and here to have something correct in quantity but not fastest i
> growed my sleep time at five seconde, with less i send to earlier and the
> phone give me a NO carier or error message and finish to respond at my
> request.

So it's slow, maybe that's the problem with obexftp?

HS

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to