Menu

Examples are added

Kidong Lee
2004-04-11
2013-04-08
  • Kidong Lee

    Kidong Lee - 2004-04-11

    I added two simple examples, sender and receiver in toolkit module on CVS.
    This examples are based on sample scenarios
    in SyncML Reference Toolkit Manual(HTML format).
    It's located toolkit/src/examples in CVS repository.

    If you have any opinions, let me know about it.

    Thanks,
    Kidong Lee

     
    • Zhiyong Ma

      Zhiyong Ma - 2008-06-03

      Can i get more examples? for example: smlStatusCmd,smlGetCmd,smlPutCmd.

      Thank u.

       
    • Zhiyong Ma

      Zhiyong Ma - 2008-06-04

      I have viewed the examples.And now I can communicate,send and receive data between pc and my Windows Mobile.

      But when I used the smlStatusCmd  API to return operation Status,I'm not clear about how to fill SmlStatus_t struct.When I received smlStatusCmd and parse the command with smlProcessData, the error returned is 0x200b(/**< Document does not conform to SyncML DTD  */).Could I get a complete example including smlAddCmd and smlStatusCmd or a example including smlGetCmd and smlResultsCmd?

      Thanks a lot,
      Zhiyong Ma

       
    • Zhiyong Ma

      Zhiyong Ma - 2008-06-04

      Hi Kidong ,
         I examined my code and found that I did something wrong.If I use API smlStatusCmd or smlGetCmd which is just a message,then I should not use the function myStartSync and the function myEndSync.And now I tested smlStatusCmd or smlGetCmd successfully.

      Thanks,
      Zhiyong Ma

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.