Setting the Alarm Example for OMA DM
This example sets the alarm time on the device and turns the alarm on.
<Replace>
<CmdID>1</CmdID>
<Item>
<Target><LocURI>./Vendor/MSFT/Clock/AlarmOn</LocURI></Target>
<Data>1</Data>
</Item>
<Item>
<Target><LocURI>./Vendor/MSFT/Clock/AlarmTime</LocURI></Target>
<Data>06:30:00Z</Data>
<!-- Time format is UTC, note the use of Z instead of AM or PM.
For example, 4:25 PM in UTC is 16:25Z -->
</Item>
</Replace>
See Also
Clock Configuration Service Provider Examples for OMA DM | OMA DM Provisioning Files
Send Feedback on this topic to the authors