Hierarchy

  • Netif

Constructors

Properties

Methods

Constructors

Properties

apiModuleName: string
device: Device

Methods

  • Requests netif.get_scaninfo (list of WiFi networks).

    Note that timeoutInSeconds is sent in the request and is not the actual network timeout. The network timeout for the request is calculated by adding the default network timeout to timeoutInSeconds.

    Parameters

    • refresh: boolean = false

      request device's cached results

    • timeoutInSeconds: number = 10

      timeout for scan in seconds

    • Optional sendOptions: SendOptions

    Returns Promise<unknown>

    parsed JSON response

Generated using TypeDoc