Clock DDF File
4/8/2010
This topic shows the Device Description Framework (DDF) file for the Clock Configuration Service Provider. Open Mobile Alliance Device Management (OMA DM) DDF files and the example in this topic are used only for OMA DM provisioning. For more information, see OMA Device Management.
The Clock Configuration Service Provider is available on Windows Mobile Professional and Windows Mobile Classic as of Windows Mobile 6.1. However, on these platforms, this Configuration Service Provider supports only the Date and Time settings (Date, Time, and TimeZone), and does not support the Alarm settings (AlarmOn, AlarmOn2, AlarmTime, AlarmTime2, and AlarmTimeout). Therefore you should omit the Alarm settings nodes from DDF files on devices running Windows Mobile Professional and Windows Mobile Classic.
Note
The first line of the DDF is the namespace reference for Microsoft custom properties. For more information, see Managing Microsoft Custom Properties (OMA DM).
<MgmtTree xmlns:MSFT="https://schemas.microsoft.com/MobileDevice/DM">
<VerDTD>1.2</VerDTD>
<Node>
<NodeName>Clock</NodeName>
<Path>./Vendor/MSFT</Path>
<DFProperties>
<DFFormat>
<node />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<Description></Description>
</DFProperties>
<Node>
<NodeName>AlarmTime</NodeName>
<DFProperties>
<AccessType>
<Get />
<Replace />
</AccessType>
<DFFormat>
<time />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<DFTitle>Alarm 1 time:</DFTitle>
<DFType>
<MIME>text/date</MIME>
</DFType>
<Description></Description>
</DFProperties>
</Node>
<Node>
<NodeName>AlarmTime2</NodeName>
<DFProperties>
<AccessType>
<Get />
<Replace />
</AccessType>
<DFFormat>
<time />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<DFTitle>Alarm 2 time:</DFTitle>
<DFType>
<MIME>text/date</MIME>
</DFType>
<Description></Description>
</DFProperties>
</Node>
<Node>
<NodeName>AlarmTimeout</NodeName>
<DFProperties>
<AccessType>
<Get />
<Replace />
</AccessType>
<DFFormat>
<time />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<DFTitle>Alarm Timeout:</DFTitle>
<DFType>
<MIME>text/plain</MIME>
</DFType>
<Description></Description>
</DFProperties>
</Node>
<Node>
<NodeName>AlarmOn</NodeName>
<DFProperties>
<AccessType>
<Get />
<Replace />
</AccessType>
<DFFormat>
<int />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<DFTitle>Alarm 1:</DFTitle>
<DFType>
<MIME>text/plain</MIME>
</DFType>
<MSFT:MinValue>0</MSFT:MinValue>
<MSFT:MaxValue>2</MSFT:MaxValue>
<Description>0=Off, 1=Every day, 2=Weekdays</Description>
</DFProperties>
</Node>
<Node>
<NodeName>AlarmOn2</NodeName>
<DFProperties>
<AccessType>
<Get />
<Replace />
</AccessType>
<DFFormat>
<int />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<DFTitle>Alarm 2:</DFTitle>
<DFType>
<MIME>text/plain</MIME>
</DFType>
<MSFT:MinValue>0</MSFT:MinValue>
<MSFT:MaxValue>3</MSFT:MaxValue>
<Description>0=Off, 1=Every day, 2=Weekdays, 3=Weekend</Description>
</DFProperties>
</Node>
<Node>
<NodeName>Time</NodeName>
<DFProperties>
<AccessType>
<Get />
<Replace />
</AccessType>
<DFFormat>
<time />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<DFTitle>Time:</DFTitle>
<DFType>
<MIME>text/plain</MIME>
</DFType>
<Description></Description>
</DFProperties>
</Node>
<Node>
<NodeName>TimeZone</NodeName>
<DFProperties>
<AccessType>
<Get />
<Replace />
</AccessType>
<DFFormat>
<int />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<DFTitle>Time zone:</DFTitle>
<DFType>
<MIME>text/plain</MIME>
</DFType>
<Description></Description>
</DFProperties>
</Node>
<Node>
<NodeName>Date</NodeName>
<DFProperties>
<AccessType>
<Get />
<Replace />
</AccessType>
<DFFormat>
<date />
</DFFormat>
<Occurrence>
<One />
</Occurrence>
<Scope>
<Permanent />
</Scope>
<MSFT:RWAccess>3</MSFT:RWAccess>
<DFTitle>Date:</DFTitle>
<DFType>
<MIME>text/date</MIME>
</DFType>
<Description>System date information</Description>
</DFProperties>
</Node>
</Node>
</MgmtTree>