.domain Property

Function:

Sets or returns the domain (area of the world) in which this device is operating. This defines the list of channels on which the Wi-Fi interface will be allowed to active-scan (wln.activescan) or associate (wln.associate) with wireless networks.

Type:

Enum (pl_wln_domains, byte)

Value Range:

  • 0 — PL_WLN_DOMAIN_FCC (default): FCC (US). GA1000: channels 1-11 of the 2.4GHz range; WA2000: the same plus channels 52-64, 100-140, 149-165 of the 5.0GHz range.
  • 1 — PL_WLN_DOMAIN_EU: European Union. GA1000: channels 1-13 of the 2.4GHz range; WA2000: the same plus channels 52-64, 100-140, 149-165 of the 5.0GHz range.
  • 2 — PL_WLN_DOMAIN_JAPAN: Japan. GA1000: channels 1-14 of the 2.4GHz range; WA2000: the same plus channels 34-36 of the 5.0GHz range.

On the WM2000, the following values are also available:

  • 3 — PL_WLN_DOMAIN_AG: Antigua and Barbuda
  • 4 — PL_WLN_DOMAIN_AR: Argentina
  • 5 — PL_WLN_DOMAIN_AW: Aruba
  • 6 — PL_WLN_DOMAIN_AU: Australia
  • 7 — PL_WLN_DOMAIN_AT: Austria
  • 8 — PL_WLN_DOMAIN_BS: Bahamas
  • 9 — PL_WLN_DOMAIN_BB: Barbados
  • 10 — PL_WLN_DOMAIN_BM: Bermuda
  • 11 — PL_WLN_DOMAIN_BR: Brazil
  • 12 — PL_WLN_DOMAIN_BE: Belgium
  • 13 — PL_WLN_DOMAIN_BG: Bulgaria
  • 14 — PL_WLN_DOMAIN_CA: Canada
  • 15 — PL_WLN_DOMAIN_KY: Cayman Islands
  • 16 — PL_WLN_DOMAIN_CL: Chile
  • 17 — PL_WLN_DOMAIN_CN: China
  • 18 — PL_WLN_DOMAIN_CO: Colombia
  • 19 — PL_WLN_DOMAIN_CR: Costa Rica
  • 20 — PL_WLN_DOMAIN_CY: Cyprus
  • 21 — PL_WLN_DOMAIN_CZ: Czech Republic
  • 22 — PL_WLN_DOMAIN_DK: Denmark
  • 23 — PL_WLN_DOMAIN_DO: Dominican Republic
  • 24 — PL_WLN_DOMAIN_EC: Ecuador
  • 25 — PL_WLN_DOMAIN_SV: El Salvador
  • 26 — PL_WLN_DOMAIN_FI: Finland
  • 27 — PL_WLN_DOMAIN_FR: France
  • 28 — PL_WLN_DOMAIN_DE: Germany
  • 29 — PL_WLN_DOMAIN_GR: Greece
  • 30 — PL_WLN_DOMAIN_GU: Guam
  • 31 — PL_WLN_DOMAIN_GT: Guatemala
  • 32 — PL_WLN_DOMAIN_HT: Haiti
  • 33 — PL_WLN_DOMAIN_HN: Honduras
  • 34 — PL_WLN_DOMAIN_HK: Hong Kong
  • 35 — PL_WLN_DOMAIN_HU: Hungary
  • 36 — PL_WLN_DOMAIN_IS: Iceland
  • 37 — PL_WLN_DOMAIN_IN: India
  • 38 — PL_WLN_DOMAIN_ID: Indonesia
  • 39 — PL_WLN_DOMAIN_IE: Ireland
  • 40 — PL_WLN_DOMAIN_IL: Israel
  • 41 — PL_WLN_DOMAIN_IT: Italy
  • 42 — PL_WLN_DOMAIN_JP: Japan
  • 43 — PL_WLN_DOMAIN_JO: Jordan
  • 44 — PL_WLN_DOMAIN_LV: Latvia
  • 45 — PL_WLN_DOMAIN_LI: Liechtenstein
  • 46 — PL_WLN_DOMAIN_LT: Lithuania
  • 47 — PL_WLN_DOMAIN_LU: Luxembourg
  • 48 — PL_WLN_DOMAIN_MY: Malaysia
  • 49 — PL_WLN_DOMAIN_MT: Malta
  • 50 — PL_WLN_DOMAIN_MA: Morocco
  • 51 — PL_WLN_DOMAIN_MX: Mexico
  • 52 — PL_WLN_DOMAIN_NL: Netherlands
  • 53 — PL_WLN_DOMAIN_NZ: New Zealand
  • 54 — PL_WLN_DOMAIN_NO: Norway
  • 55 — PL_WLN_DOMAIN_PE: Peru
  • 56 — PL_WLN_DOMAIN_PT: Portugal
  • 57 — PL_WLN_DOMAIN_PL: Poland
  • 58 — PL_WLN_DOMAIN_RO: Romania
  • 59 — PL_WLN_DOMAIN_RU: Russia
  • 60 — PL_WLN_DOMAIN_SA: Saudi Arabia
  • 61 — PL_WLN_DOMAIN_CS: Serbia and Montenegro
  • 62 — PL_WLN_DOMAIN_SG: Singapore
  • 63 — PL_WLN_DOMAIN_SK: Slovakia
  • 64 — PL_WLN_DOMAIN_SI: Slovenia
  • 65 — PL_WLN_DOMAIN_ZA: South Africa
  • 66 — PL_WLN_DOMAIN_KR: South Korea
  • 67 — PL_WLN_DOMAIN_ES: Spain
  • 68 — PL_WLN_DOMAIN_SE: Sweden
  • 69 — PL_WLN_DOMAIN_CH: Switzerland
  • 70 — PL_WLN_DOMAIN_TW: Taiwan
  • 71 — PL_WLN_DOMAIN_TR: Turkey
  • 72 — PL_WLN_DOMAIN_GB: United Kingdom
  • 73 — PL_WLN_DOMAIN_UA: Ukraine
  • 74 — PL_WLN_DOMAIN_AE: United Arab Emirates
  • 75 — PL_WLN_DOMAIN_US: United States
  • 76 — PL_WLN_DOMAIN_VE: Venezuela

See Also:

Bringing Up the Wi-Fi Interface, Selecting Domain, wln.band


Details

As this is a Device Configuration Block (DCB) property, changing its value requires that the device be restarted for the changes to take effect.

A tip note icon.Starting from TiOS v4.02, this property has been deprecated for the WS1102.


.domain Property

Details