Compartilhar via


Setting the Alarm Example

4/8/2010

This example sets the alarm time on the device and turns the alarm on.

Code Example

<characteristic type="clock">
   <parm name="AlarmOn" value="1"/>
   <parm name="AlarmTime" value="06:30:00Z"/>  
   <!-- Time format is UTC, note the use of Z instead of AM or PM.
        For example, 4:25 PM in UTC is 16:25Z -->
</characteristic>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

See Also

Tasks

Clock Configuration Service Provider Examples for OMA Client Provisioning

Reference

Clock Configuration Service Provider