Message

Defines a MNO formatted message that contains the parsing rules necessary for Windows 8 to parse the message.

Element hierarchy

<Messages>
<Message>

Syntax

<Message Silent? = boolean : "true"
         RuleId? = token >

  <!-- Child elements -->
  ( ( SMSBearer+,
      USSDBearer?
    )
  | USSDBearer
  ),
  Pattern,
  Locale?,
  Units?,
  Fields?

</Message>

Key

?   optional (zero or one) :   default value +   required (one or more)

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
RuleId

The MNO defined rule ID for this message that is passed back within a NetworkOperatorNotificationEventDetails event for message identification.

token No
Silent

If true, the message is relayed only to the MNO application. Otherwise, false, the message is relayed to SMS clients and visible to the user.

boolean No true

 

Child Elements

Child Element Description
Fields

Defines values that describe the subscriber's plan and data usage.

Locale

Defines the message country code in the form "en-us" using ISO-3166.

Pattern

Defines a regular expression describing the contents of the decoded human-readable message.

SMSBearer

Defines bearer types allowed for SMS messages.

USSDBearer

Defines bearer types allowed for USSD messages.

Units

Defines how to interpret the unit fields corresponding to each number field. Carriers may specify a whitespace-delimited list of tokens corresponding to each of the supported multipliers.

 

Parent Elements

Parent Element Description
Messages

Contains a set of MNO messages that are parsed by Windows 8 and may be signaled to the user.

 

Remarks

Must be at least one bearer of either type, but multiple SMS bearers permitted.

Requirements

Value
Namespace http://www.microsoft.com/networking/CarrierControl/WWAN/v1