• Client api for IEF client.

    Parameters

    • name: string

      ief instance name

    Returns IEFClient

    Example


    import * as ief from 'ief';

    let client = ief.newClient(instanceName);
    let nodes = client.getProjectNode(projectId);
    let devices = client.getProjectDevice(projectId);
    let nodeData = client.getNode(projectId, nodeId);
    let deviceData = client.getNodeDevice(projectId, deviceID);
    let resp = client.getMSG(nodeId, topic, msg);