Nick Brower 18096c7b89 Revert "updated metadata to get data metrics from new repo"
This reverts commit 60360eb6c5cf0dda13179cc134da0fde40ca447b.
2017-05-26 12:32:16 -07:00

3.1 KiB

title, description, MSHAttr, ms.author, ms.date, ms.topic, ms.prod, ms.technology
title description MSHAttr ms.author ms.date ms.topic ms.prod ms.technology
Messaging CSP Messaging CSP
PreferredSiteName:MSDN
PreferredLib:/library/windows/hardware
windows-hardware-design-content 05/02/2017 article windows-hardware windows-oem

Messaging CSP

The Messaging configuration service provider is used to configure the ability to get text messages audited on a mobile device. This CSP was added in Windows 10, version 1703.

The following diagram shows the Messaging configuration service provider in tree format.

messaging csp

./User/Vendor/MSFT/Messaging

Root node for the Messaging configuration service provider.

AuditingLevel

Turns on the "Text" auditing feature.

The following list shows the supported values:

  • 0 (Default) - Off
  • 1 - On

Supported operations are Get and Replace.

Auditing

Node for auditing.

Supported operation is Get.

Messages

Node for messages.

Supported operation is Get.

Count

The number of messages to return in the Data setting. The default is 100.

Supported operations are Get and Replace.

RevisionId

Retrieves messages whose revision ID is greater than RevisionId.

Supported operations are Get and Replace.

Data

The JSON string of text messages on the device.

Supported operations are Get and Replace.

SyncML example

 <SyncML xmlns="SYNCML:SYNCML1.2">
  <SyncBody>
    <Replace>
      <CmdID>2</CmdID>
      <Item>
        <Target>
          <LocURI>
            ./User/Vendor/MSFT/Messaging/Auditing/Messages/Count
          </LocURI>
        </Target>
        <Meta>
          <Format xmlns="syncml:metinf">int</Format>
          <Type>text/plain</Type>
        </Meta>
        <Data>100</Data>
      </Item>
    </Replace>
    <Replace>
      <CmdID>3</CmdID>
      <Item>
        <Target>
          <LocURI>
            ./User/Vendor/MSFT/Messaging/Auditing/Messages/RevisionId
          </LocURI>
        </Target>
        <Meta>
          <Format xmlns="syncml:metinf">chr</Format>
          <Type>text/plain</Type>
        </Meta>
        <Data>0</Data>
      </Item>
    </Replace>
    <Get>
      <CmdID>4</CmdID>
      <Item>
        <Target>
          <LocURI>
            ./User/Vendor/MSFT/Messaging/Auditing/Messages/Data
          </LocURI>
        </Target>
      </Item>
    </Get>
    <Final/>
  </SyncBody>
</SyncML>