Hi Anuj, On 14.04.2014, at 17:52, Anuj <acd...@gmail.com> wrote:
> Hi, > Thanks Patrick and Lukas for answering my query. > Can you specify the point(function) in code where Devinf is completed and > ready for sending to server(wbxml format). The complete SyncML message in XML or WBXML format is read from libsynthesis' buffers using GetSyncMLBuffer() (see engineinterface.h). The DevInf WBXML/XML is actually created when the engine calls TDevInfResultsCommand::issue() or TDevInfPutCommand::issue(). If you want to extend/manipulate devInf, for whatever reason, I'd strongly recommend not to try messing with WBXML binary data, but change the way the SyncML Toolkit's internal representation of the devInf is created (the structs that contain the data which is then converted to WBXML/XML by the SyncML Toolkit). This happens in TSyncSession::getLocalDevInfItem(), which in turn calls TSyncSession::newDevInf() where the basic info is filled in, and then newLocalCTCapList() and newDevInfDataStoreList() are called to create the datastore and CTCap lists. Best Regards, Lukas Zeller, plan44.ch l...@plan44.ch - www.plan44.ch
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ os-libsynthesis mailing list os-libsynthesis@synthesis.ch http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis