@qualithm/device - v0.12.2
    Preparing search index...

    Type Alias BrokerOptions

    MQTT gateway connection settings.

    type BrokerOptions = {
        ca?: string | string[];
        host?: string;
        port?: number;
        rejectUnauthorized?: boolean;
    }
    Index

    Properties

    ca?: string | string[]

    PEM CA bundle used to trust the gateway server certificate.

    host?: string

    Gateway host. Leave unset to use the broker the platform returned at enrollment; set it only to override that.

    port?: number

    TLS port. Overrides the enrolled broker's port; 8883 when host is set without a port.

    rejectUnauthorized?: boolean

    Whether to reject an untrusted server certificate. Defaults to true.