Hi Congwu,

I just pushed the fix for the "garbage at end of incoming message" problem. It was indeed something I fixed a while ago already in the server, and it was essentially
a one-liner (plus some explanatory comments).

Hope it works for your OBEX tests!

Best Regards,

Lukas

On Sep 15, 2009, at 3:06 , Chen Congwu wrote:

On Mon, 14 Sep 2009, Lukas Zeller wrote:

I assume you are using the GetSyncMLBuffer/RetSyncMLBuffer API (rather
than the convenience routines ReadSyncMLBuffer/WriteSyncMLBuffer).

Correct.
The thing I don't understand is the "our parser" part. Which parser
are you referring to? The libsyncml one or libsynthesis one?
libsynthesis

In libsynthesis, there's indeed the problem that the parser only reads
up to the end of SyncML, even if you pass it more data with
RetSyncMLBuffer(). And when you use GetSyncMLBuffer for send later,
you'll have the garbage in front of the new message. Is it this
scenario you are looking at?
Yes.

Anyway, I'll have a look at that problem - I fainly remember having
solved that problem already a while ago for the server or one of our
older pre-libsynthesis builds, and probably it's a small change to
activate that fix for the libsynthesis case.

That's good, Thanks!

--
Regards,

Chen Congwu
Moblin China Development


Lukas Zeller ([email protected])
-
Synthesis AG, SyncML Solutions  & Sustainable Software Concepts
[email protected], http://www.synthesis.ch





_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to