On Tue, 08 Sep 2009, Lukas Zeller wrote:

> I assume that you introduced the new step to create the progress  
> events reflecting the resend of data, and that you don't need to read  
> the data a second time (otherwise it would probably have failed).
Yes, I don't need to reread the data from the engine, just buffering it.
> 
> So my suggestion is to modify your STEPCMD_RESENDDATA to return  
> STEPCMD_RESENDDATA instead of STEPCMD_SENDDATA to indicate that this  
> is not the same:
> 
> - After receiving STEPCMD_SENDDATA from the API you MUST read new data  
> via
>    GetSyncMLBuffer/RetSyncMLBuffer/ReadSyncMLBuffer
> - Whereas after STEPCMD_RESENDDATA you MAY NOT try to access the  
> buffer again.
> 
> I'll merge your patch with the above modification into our master -  
> please let me know if you see a problem with this.
Nice, no problem. 
> Best Regards,
> Lukas
> 
> Lukas Zeller ([email protected])
> -
> Synthesis AG, SyncML Solutions  & Sustainable Software Concepts
> [email protected], http://www.synthesis.ch
> 
> 

-- 
Regards,

Chen Congwu
Moblin China Development


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

Reply via email to