1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2023 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<!-- These resources are around just to allow their values to be customized 18 for different hardware and product builds for Thread Network. All 19 configuration names should use the "config_thread" prefix. 20--> 21 22<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> 23 <!-- Sets to {@code true} to enable Thread on the device by default. Note this is the default 24 value, the actual Thread enabled state can be changed by the {@link 25 ThreadNetworkController#setEnabled} API. 26 --> 27 <bool name="config_thread_default_enabled">true</bool> 28 29 <!-- Whether to use location APIs in the algorithm to determine country code or not. 30 If disabled, will use other sources (telephony, wifi, etc) to determine device location for 31 Thread Network regulatory purposes. 32 --> 33 <bool name="config_thread_location_use_for_country_code_enabled">true</bool> 34 35 <!-- Specifies the UTF-8 vendor name of this device. If this value is not an empty string, it 36 will be included in TXT value (key is 'vn') of the "_meshcop._udp" mDNS service which is 37 published by the Thread service. A non-empty string value must not exceed length of 24 UTF-8 38 bytes. 39 --> 40 <string translatable="false" name="config_thread_vendor_name">Android</string> 41 42 <!-- Specifies the 24 bits vendor OUI of this device. If this value is not an empty string, it 43 will be included in TXT (key is 'vo') value of the "_meshcop._udp" mDNS service which is 44 published by the Thread service. The OUI can be represented as a base-16 number of six 45 hexadecimal digits, or octets separated by hyphens or dots. For example, "ACDE48", "AC-DE-48" 46 and "AC:DE:48" are all valid representations of the same OUI value. 47 --> 48 <string translatable="false" name="config_thread_vendor_oui"></string> 49 50 <!-- Specifies the UTF-8 product model name of this device. If this value is not an empty 51 string, it will be included in TXT (key is 'mn') value of the "_meshcop._udp" mDNS service 52 which is published by the Thread service. A non-empty string value must not exceed length of 24 53 UTF-8 bytes. 54 --> 55 <string translatable="false" name="config_thread_model_name">Thread Border Router</string> 56 57 <!-- Specifies vendor-specific mDNS TXT entries which will be included in the "_meshcop._udp" 58 service. The TXT entries list MUST conform to the format requirement in RFC 6763 section 6. For 59 example, the key and value of each TXT entry MUST be separated with "=". If the value length is 60 0, the trailing "=" may be omitted. Additionally, the TXT keys MUST start with "v" and be at 61 least 2 characters. 62 63 Note, do not include credentials in any of the TXT entries - they will be advertised on Wi-Fi 64 or Ethernet link. 65 66 An example config can be: 67 <string-array name="config_thread_mdns_vendor_specific_txts"> 68 <item>vab=123</item> 69 <item>vcd</item> 70 </string-array> 71 --> 72 <string-array name="config_thread_mdns_vendor_specific_txts"> 73 </string-array> 74</resources> 75