Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a wifi_connect_v1.

Hierarchy

  • wifi_connect_v1

Implements

Index

Constructors

Properties

password: string

wifi_connect_v1 password.

service: string

wifi_connect_v1 service.

Methods

  • toJSON(): {}
  • Converts this wifi_connect_v1 to JSON.

    Returns {}

    JSON object

    • [k: string]: any
  • Creates a new wifi_connect_v1 instance using the specified properties.

    Parameters

    Returns wifi_connect_v1

    wifi_connect_v1 instance

  • Decodes a wifi_connect_v1 message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Reader | Uint8Array

      Reader or buffer to decode from

    • Optional length: number

    Returns wifi_connect_v1

    wifi_connect_v1

  • Decodes a wifi_connect_v1 message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Reader | Uint8Array

      Reader or buffer to decode from

    Returns wifi_connect_v1

    wifi_connect_v1

  • Encodes the specified wifi_connect_v1 message. Does not implicitly verify messages.

    Parameters

    • message: Iwifi_connect_v1

      wifi_connect_v1 message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

  • Encodes the specified wifi_connect_v1 message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: Iwifi_connect_v1

      wifi_connect_v1 message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

  • Creates a wifi_connect_v1 message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns wifi_connect_v1

    wifi_connect_v1

  • Creates a plain object from a wifi_connect_v1 message. Also converts values to other types if specified.

    Parameters

    • message: wifi_connect_v1

      wifi_connect_v1

    • Optional options: IConversionOptions

    Returns {}

    Plain object

    • [k: string]: any
  • verify(message: {}): null | string
  • Verifies a wifi_connect_v1 message.

    Parameters

    • message: {}

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc