Intel AMT Features > Alarm Clock > Use Cases > Create an Alarm Clock that Activates at Defined Intervals
CollapseAll image

Create an Alarm Clock that Activates at Defined Intervals

The following steps describe how to set the alarm clock to activate at a pre-defined interval (applies to Release 8.0 and later releases). The wake–up mechanism performs the equivalent of a remote control power up command.

1.  Create a local instance (see an example of the required format ) of IPS_AlarmClockOccurrence with the following parameters:

Field

Format

Description

StartTime

datetime

The value of the StartTime Datetime format requires a “T” between the date and the time and must end with “Z”. Seconds must be set to zero. For example: "yyyy-mm-ddThh:mm:00Z". The time must be later than the current time or the Set operation will be rejected.

Interval

datetime

The Interval format is PdDThHmM:

   There must be a P even if there is no hours setting. For example, P1D represents 1 day.

   The d value after the P is integer days. h and m after the T are integer hours and minutes. Valid hours are 0 to 23. Valid minutes are 0 to 59. Invalid values are rejected.

ElementName

string

A user-provided identifier. This must be unique among the defined alarms. The maximum length of the string is 32 characters. It cannot be left empty.

DeleteOnCompletion

boolean

If true, Intel AMT will delete the instance of IPS_AlarmClockOccurrence once the alarm has occurred. Usually set to false for repeated alarms.

 

2.  Retrieve the instance of AMT_AlarmClockService, where the “Name” key equals “Intel(r) AMT Alarm Clock Service”.

3.  Invoke the  AMT_AlarmClockService.AddAlarm: method with the instance of IPS_AlarmClockOccurrence created in step 1 embedded as an input parameter. The method will succeed as long as there are currently fewer than five instances of  IPS_AlarmClockOccurrence.

Instance Diagram

Classes Used in This Flow

SDK Sample

Not applicable

 

Copyright © 2006-2013, Intel Corporation. All rights reserved.