MultiSIM 云解决方案提供商MultiSIM CSP

企业使用 MultiSIM 配置 (CSP) 管理具有双 SIM 卡单一活动配置的设备。The MultiSIM configuration service provider (CSP) is used by the enterprise to manage devices with dual SIM single active configuration. 企业可以设置有关该用户是否可以在 SIM 卡插槽之间切换的策略、指定默认插槽以及是否嵌入插槽。An enterprise can set policies on whether that user can switch between SIM slots, specify which slot is the default, and whether the slot is embedded. 此 CSP 已添加到 Windows 10 版本 1803 中。This CSP was added in Windows 10, version 1803.

下面以树格式显示 MultiSIM 配置服务提供程序。The following shows the MultiSIM configuration service provider in tree format.

./Device/Vendor/MSFT
MultiSIM
----ModemID
--------Identifier
--------IsEmbedded
--------Slots
------------SlotID
----------------Identifier
----------------IsEmbedded
----------------IsSelected
----------------State
--------Policies
------------SlotSelectionEnabled

./Device/Vendor/MSFT/MultiSIM./Device/Vendor/MSFT/MultiSIM
根节点。Root node.

ModemIDModemID
代表移动宽带调制解调器的节点。Node representing a Mobile Broadband Modem. 节点名称是调制解调器 ID。The node name is the modem ID. 调制解调器 ID 是不带大括号的 GUID,"Embedded"除外,它表示嵌入的调制解调器。Modem ID is a GUID without curly braces, with exception of "Embedded" which represents the embedded modem.

ModemID/IdentifierModemID/Identifier
调制解调器 ID。Modem ID.

支持的操作为 Get。Supported operation is Get. 值类型为字符串。Value type is string.

ModemID/IsEmbeddedModemID/IsEmbedded
指示此调制解调器是嵌入的还是外部的。Indicates whether this modem is embedded or external.

支持的操作为 Get。Supported operation is Get. 值类型为 bool。Value type is bool.

ModemID/SlotsModemID/Slots
表示调制解调器中所有的 SIM 卡插槽。Represents all SIM slots in the Modem.

ModemID/Slots/SlotIDModemID/Slots/SlotID
表示 SIM 卡插槽的节点。Node representing a SIM Slot. 节点名称为槽 ID。The node name is the Slot ID. SIM 卡插槽 ID 格式为"0"、"1"等,表示嵌入插槽的"Embedded"除外。SIM Slot ID format is "0", "1", etc., with exception of "Embedded" which represents the embedded Slot.

ModemID/Slots/SlotID/IdentifierModemID/Slots/SlotID/Identifier
槽 ID。Slot ID.

支持的操作为 Get。Supported operation is Get. 值类型为整数。Value type is integer.

ModemID/Slots/SlotID/IsEmbeddedModemID/Slots/SlotID/IsEmbedded
指示此插槽是嵌入的还是物理 SIM 卡插槽。Indicates whether this Slot is embedded or a physical SIM slot.

支持的操作为 Get。Supported operation is Get. 值类型为 bool。Value type is bool.

ModemID/Slots/SlotID/IsSelectedModemID/Slots/SlotID/IsSelected
指示是否选中此槽。Indicates whether this Slot is selected or not.

支持的操作是 Get 和 Replace。Supported operation is Get and Replace. 值类型为 bool。Value type is bool.

ModemID/Slots/SlotID/StateModemID/Slots/SlotID/State
槽状态 (未知 = 0,OffEmpty = 1,Off = 2,空 = 3,NotReady = 4,活动 = 5,错误 = 6,ActiveEsim = 7,ActiveEsimNoProfile = 8) Slot state (Unknown = 0, OffEmpty = 1, Off = 2, Empty = 3, NotReady = 4, Active = 5, Error = 6, ActiveEsim = 7, ActiveEsimNoProfile = 8)

支持的操作为 Get。Supported operation is Get. 值类型为整数。Value type is integer.

ModemID/PoliciesModemID/Policies
与调制解调器关联的策略。Policies associated with the Modem.

ModemID/Policies/SlotSelectionEnabledModemID/Policies/SlotSelectionEnabled
确定是否允许用户在手机网络设置 UI 中更改插槽。Determines whether the user is allowed to change slots in the Cellular settings UI. 默认值为 true。Default is true.

支持的操作是 Get 和 Replace。Supported operation is Get and Replace. 值类型为 bool。Value type is bool.

示例Examples

获取调制解调器Get modem

<SyncML xmlns="SYNCML:SYNCML1.2">
  <SyncBody>
    <Get>
      <CmdID>1</CmdID>
      <Item>
        <Target>
          <LocURI>
            ./Vendor/MSFT/MultiSIM
          </LocURI>
        </Target>
      </Item>
    </Get>
    <Final/> 
  </SyncBody>
</SyncML>

获取槽位Get slots

<SyncML xmlns="SYNCML:SYNCML1.2">
  <SyncBody>
    <Get>
      <CmdID>1</CmdID>
      <Item>
        <Target>
          <LocURI>
            ./Vendor/MSFT/MultiSIM/Embedded/Slots
          </LocURI>
        </Target>
      </Item>
    </Get>
    <Final/> 
  </SyncBody>
</SyncML>

获取槽状态Get slot state

<SyncML xmlns="SYNCML:SYNCML1.2">
  <SyncBody>
    <Get>
      <CmdID>1</CmdID>
      <Item>
        <Target>
          <LocURI>
            ./Vendor/MSFT/MultiSIM/Embedded/Slots/Embedded/State
          </LocURI>
        </Target>
      </Item>
    </Get>
    <Final/> 
  </SyncBody>
</SyncML>

选择插槽Select slot

<SyncML xmlns="SYNCML:SYNCML1.2">
  <SyncBody>
    <Replace>
      <CmdID>1</CmdID>
      <Item>
        <Target>
          <LocURI>
            ./Vendor/MSFT/MultiSIM/Embedded/Slots/0/IsSelected
          </LocURI>
        </Target>
        <Meta>
          <Format xmlns="syncml:metinf">bool</Format>
          <Type>text/plain</Type>
        </Meta>
        <Data>true</Data>
      </Item>
    </Replace>
    <Final/> 
  </SyncBody>
</SyncML>