Skip to Content

Managing Device Subscription for SUP-DOE using Generated Code

The username and password shall be the SAP Machine login details. A little tweak is required in the OnlineLogin method in demoDatabase where the loop count of the for loop should be reduced from 6000 to 10.

Ignore the exceptions thrown from the LoginToSync method. I am still working on finding the reasons for it. You should be able to see the device registered in SCC on successful execution. To unsubscribe, just call demoDatabase.Unsubscribe(). You can check the subscription status using demoDatabase.isSubscribed() method anytime. The snippet works well with Windows Mobile and Win32 platforms. Presently I have only tried with C#. In case there is a difference on the other platforms or I find a better implementation, I will be posting them.

You must be Logged on to comment or reply to a post.