--- title: WirelessNetworkPreference DDF file description: View the XML file containing the device description framework (DDF) for the WirelessNetworkPreference configuration service provider. ms.date: 04/30/2025 ms.topic: generated-reference --- # WirelessNetworkPreference DDF file The following XML file contains the device description framework (DDF) for the WirelessNetworkPreference configuration service provider. ```xml ]> 1.2 WirelessNetworkPreference ./Device/Vendor/MSFT Represents information associated with wireless networks prioritization including detailed connectivity priorities for specific cellular networks with a unique PLMN ID. 99.9.99999 1.0 0x4;0x1B;0x30;0x31;0x48;0x54;0x62;0x63;0x64;0x65;0x79;0x7A;0x7D;0x7E;0x81;0x82;0x88;0x8A;0x8B;0xA1;0xA2;0xA4;0xA5;0xAB;0xAC;0xAF;0xBC;0xBF;0xCA;0xCB;0xCD;0xCF;0xD2; IsEnabled False It determines whether the wireless connectivity management policy is enabled or not. False Disable the wireless management policy. True Enable the wireless management policy. PreferCellularOverWiFi False It determines the order of preference between Wi-Fi and cellular networks. When the value is set to “False”, Wi-Fi is preferred over cellular. When the value is set to “True”, cellular is preferred over Wi-Fi. False Prefer Wi-Fi over Cellular. True Prefer Cellular over Wi-Fi. Status Nodes that indicate the status of the wireless connectivity management service. eSIMprofilesCount Count of operational eSIM profiles stored in the eUICC. eSIMprofilesMatched Count of operational eSIM profiles stored on the eUICC whose PLMN ID matches one of the ConnectionProfileIDs setup under the ConnectionProfiles node. Only matched profiles with no errors will be counted. If more than one eSIM profile with the same PLMN ID is configured on the policy and/or more than one eSIM profile with the same PLMN ID is stored in the eUICC, then they will not be counted even if there is a match. eSIMpolicyStatus An integer indicating the current status of the wireless connectivity management service. If the value is zero, there are no errors. \n\n 0 = No errors. \n 1 = No policies are configured. \n 2 = More than one policy has the same priority. \n 3 = More than one policy references the same PLMN ID. \n 4 = Invalid PLMN ID for one or more of the configured profiles. \n 5 = More than one eSIM profile stored in the eUICC with the same PLMN ID. \n 6 = Invalid configuration value for one or more of the cellular parameters. Please review CSP documentation. \n\n Warning: Any of these errors will result in a complete halt of the wireless connectivity management service. Parameters Parameters to configure the behavior of the wireless connectivity management service. CellularParameters Parameters to configure the cellular-specific behavior of the wireless connectivity management service. NetworkDiscoveryOption 0 Configures which approach should be used in the network discovery process. There are two possible values: (0) no network scan will be performed – rather, registration and connection will be attempted with each eSIM profile in descending order of preference; or (1) Network scan will be performed using the current active eSIM profile. This option works for modems that when performing a network scan show the complete list of available networks independently of which eSIM profile is active. 0 No network scan will be performed -- rather, registration and connection will be attempted with each eSIM profile in descending order of preference. 1 Network scan will be performed using the current active eSIM profile. MaxRescanIntervalInSeconds 0 Maximum time (in seconds) from the point that no connection could be established using the permissible eSIM profiles on the device to the start of the next round of network discovery attempts. A smaller interval increases network discovery frequency and can decrease battery life significantly. A value of 0 means that the device is to pick a reasonable interval per its own discretion. [0-360] PreferredProfileWakeConnectionTimerInSeconds 200 When the device is woken from sleep with the most-preferred profile already enabled, this value configures the amount of time (in seconds) before the agent will give up on waiting for connection re-establishment with the most-preferred profile and start network discovery. [30-360] ProfileRegistrationTimerInSeconds 30 When evaluating eSIM profiles for connectivity, this value configures the amount of time (in seconds) that the agent will wait for network registration before considering this profile unsatisfactory and moving on to the next one. [20-360] ScreenOffDurationToTriggerNetworkDiscoveryInMinutes 10 When the device experiences screen off and back on, this value configures the minimum duration (in minutes) of the screen off period that will trigger network discovery. [0-30] ConnectionProfiles Profiles to connect to wireless networks in a specified priority order. Unique identifier of a network preference policy. Unique ID is auto-generated. ConnectionProfileID Priority Priority of a policy compared to the others where 1 represents the highest priority. Thus, the smaller this value is, the higher preference this specific network will receive in establishing a data connection. [1-2147483647] WirelessType 0 Type of wireless network (either Cellular or Wi-Fi). 0 represents Cellular, and 1 represents Wi-Fi. Currently only cellular is supported. 0 Cellular 1 Wi-Fi Cellular Identifiers for cellular networks. PLMNID 5- or 6-digit string identifying a cellular network. It consists of the combination of Mobile Country Code (MCC) and Mobile Network Code (MNC). ^[0-9]{5,6}$ ``` ## Related articles [WirelessNetworkPreference configuration service provider reference](wirelessnetworkpreference-csp.md)