.getmoduletype Method

Function:

Detects and returns the Wi-Fi module type, or just returns the module type if it has already been detected earlier. Another method that causes the detection of the module type is wln.boot.

Syntax:

wln.getmoduletype() as pl_wln_module_types

Returns:

  • 0 — PL_WLN_MODULE_TYPE_GA1000.
  • 1 — PL_WLN_MODULE_TYPE_WA2000.

See Also:

Determining Wi-Fi Module Type, wln.boot