Allows to create new connections to devices and manages them. Alternatively, new connections can be created directly by instantiating their respective the interface classes.

Constructors

  • Returns Client

Properties

deviceInterfaces: ConnectionType[]

Array containing all created connection interfaces

Methods

  • Adds an already created connection interface to the client

    Parameters

    Returns void

  • Creates a new Bluetooth Low Enery connection interface

    Parameters

    • Optional configId: number

    Returns BleConnection

  • Creates a new HTTP(S) connection interface

    Parameters

    • Optional configId: number

    Returns HttpConnection

  • Creates a new Serial connection interface

    Parameters

    • Optional configId: number

    Returns SerialConnection

  • Removes a connection interface from the client

    Parameters

    Returns void

Generated using TypeDoc