Hendrik :
as you recomended to me, i use "Eclipse" IDE to write a small test programme 
on linux MDV2007, i make it less linear whith more function and it work, i 
list my folders, get a .jpg file with some "poluate" byte but i have 
it(already the same problem with VB under windoze).
Definitly i NEED the AT+CPROT=0 to work corectly,without my phone never give 
obex answer.
there is any comment
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
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.


>From: Hendrik Sattler <[EMAIL PROTECTED]>
>To: "surfzoid surfzoid" <[EMAIL PROTECTED]>
>CC: [email protected]
>Subject: Re: [openobex-users] debugging M341i
>Date: Sat, 14 Oct 2006 00:51:30 +0200
>
>Am Freitag 13 Oktober 2006 13:48 schrieb surfzoid surfzoid:
> > Do you want to say when i send some packet to my /dev/ircomm0 the packet
> > was modified by the IRDA driver before to be send my phone ? or if i 
>send
> > byte(0) = 80 the phone receive the byte value 80 ?
>
>Modified is not the correct word but you will use the serial port emulation
>and not IrOBEX.
>
> > >like test with obexftp, use the -i switch and _not_ -t /dev/ircomm0.
> >
> > During 1 or 2 years(can't remeber exatly but very long time ago) i try 
>with
> > -i and so much combinaison of argument and never work.
>
>So you phone does only support PUT for IrOBEX. So what? That's a valid OBEX
>implementation, just not very featureful.
>
> > But i can't imagine to send to my PC my 36 photo files one by one also 
>if i
> > know on windoze the commercial software BVRP Mobile phone tools propose 
>to
> > select the 36 files and copy it on my PC and also to delete them in one
> > operation for me.
>
>Over IrOBEX or via serial port emulation? The latter would be really sick.
>
> > I'm not sure to understand everything about difference between hard 
>layer
> > and obex profile, today i'm now sure my phone use OBEX to transfer the
> > photo and the OBEX frame (see my IRCOMM2K dump file where is all the 
>packet
> > beetwen BVRP and my phone) are possible to read and interpret like 
>describe
> > in the obex1.3.pdf documentation.
>
>IRCOMM2K adds the irda serial com port emulation because Win2k does not 
>have
>it. IrOBEX is natively supported by Win2k.
>
> > So to conclude, you think my phone use a "exotic" obex language ?
>
>No, it just does support folder browsing via IrOBEX.
>
> > Do you
> > have an idea for why i can do everythingh with obex and AT but not 
>listing a
> > folder and get multiple file with linux and can do everything on 
>windoze?
>
>No idea but you should use an systematic approach by analysing the traffic.
>Just like what you posted but a systematic approach is missing.
>Suggestion:
>Record what the windows application sends. Write a small program in Linux 
>that
>sends those bytes the same way. The phone should reply with exactly the 
>same.
>Then try to reproduce those commands by using the openobex lib. At best, it
>results in exactly the same data stream.
>
>And you'll learn something during doing that :)
>
>HS

_________________________________________________________________
Windows Live Messenger sur i-modeĀ™ : dialoguez avec vos amis depuis votre 
mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/


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