/** * Local control adapter interface for node communication over LAN. */ export interface ESPCDFLocalControlAdapterInterface { /** * Checks if the node is connected. */ isConnected(nodeId: string): Promise; /** * Connects to the node with local control parameters. */ connect(nodeId: string, baseUrl: string, securtiyType: number, pop?: string, username?: string): Promise>; /** * Sends data to the specified path on the node. */ sendData(nodeId: string, path: string, data: string): Promise; } export type ESPLocalControlAdapterInterface = ESPCDFLocalControlAdapterInterface;