2.2.7.2 Alert

The Alert element specifies the SyncML command to send custom content information to the recipient. Alert provides a mechanism for communicating content information, such as state information or notifications to an application on the recipient device. Use of the Alert command also provides a standard method for specifying non-standard extended commands beyond those defined in this document. For more details see [OMA-DMRP1.2.1].

The following alert types are supported:

  • 1200 - SERVER-INITIATED MGMT - Server-initiated device management session.

  • 1201 - CLIENT-INITIATED MGMT - Client-initiated device management session.

  • 1222 - NEXT MESSAGE - Request for the next message of a large object package.<14>

  • 1223 - SESSION ABORT - Informs recipient that the sender wishes to abort the DM session.

  • 1224 - CLIENT EVENT - Informs server that an event has occurred on the client.

  • 1225 - NO END OF DATA - End of Data for chunked object not received.

  • 1226 - GENERIC ALERT - Generic client generated alert with or without a reference to a Management Object.

The element has the following syntax.

 <Alert>(CmdID, Data, Item)</Alert>

The <Correlator> element, as defined in [OMA-SyncMLRP1.2.2], is not supported.

Parent Elements: Atomic (section 2.2.7.3), SyncBody (section 2.2.4.3)

Restrictions: The CmdID (section 2.2.3.2) element type is required and specifies the unique identifier for the SyncML message for the command.

  • The Data (section 2.2.5.1) element specifies the custom content to send to the recipient.

  • The Type element in the Alert element supports a custom type: com.microsoft/MDM/LoginStatus. See [MSDN-OMA-LOGSTAT] for more details.

Content Model: (CmdID, Data, Item)

Attributes: None.