@espressif/rainmaker-base-cdf
    Preparing search index...

    Interface ESPTransportInterface

    interface ESPTransportInterface {
        getParams(payload: Record<string, any>): Promise<Record<string, any>>;
        setParam(payload: Record<string, any>): Promise<ESPAPIResponse>;
    }
    Index

    Methods

    • Gets parameters from the node.

      Parameters

      • payload: Record<string, any>

        The payload containing parameters to get.

      Returns Promise<Record<string, any>>

      A promise that resolves to the API response.

    • Sets a parameter value on the node.

      Parameters

      • payload: Record<string, any>

        The payload containing parameters to set.

      Returns Promise<ESPAPIResponse>

      A promise that resolves to the API response.