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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Can i get more examples? for example: smlStatusCmd,smlGetCmd,smlPutCmd.
Thank u.
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
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