Class ProvisioningClient

Constructors

Methods

  • Get the networks that are visible to the Smart Machine.

    Returns Promise<NetworkInfo[]>

    A list of networks

  • Set the network credentials of the Smart Machine, so it can connect to the internet.

    Parameters

    • type: string

      The type of network

    • ssid: string

      The SSID of the network

    • psk: string

      The network's passkey

    Returns Promise<void>

  • Set the Viam credentials of the smart machine credentials, so it connect to the Cloud.

    Parameters

    • Optionalcloud: CloudConfig

      The configuration of the Cloud

    Returns Promise<void>

MMNEPVFCICPMFPCPTTAAATR