• Send a command request to the remote device. The behaviors are different for device and virtual device. For virtual device, the command will be sent to all bound peers. For device, the command will only be sent to the specified device.

    Accodingly, a virtual device may receive multiple responses, one from each bound peer.

    Parameters

    • device: number

      A device.

    • cluster: LibertasClusterId

      The cluster ID.

    • command: LibertasCommand

      The command.

    • Optional argumants: LibertasCommandBody

      Optional command argumants.

      Optional
    • Optional exclude: number

      Optional. The node that shall not be updated. It shall only be used with virtual device node.

      Optional

    Returns void

    Remarks

    The value of all arguments are upto access and permission check. Error may be raised.

Generated using TypeDoc