• Send a command response to the remote device. The response may have already been sent, either automatically or from another task. In that case this function does nothing.

    Parameters

    • device: number

      A device.

    • seq: number

      Sequence number.

    • cluster: LibertasClusterId

      The cluster ID.

    • command: LibertasCommand

      The command.

    • Optional argumants: LibertasCommandBody

      Optional command argumants.

      Optional
    • Optional target: number

      Optional. 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. So far, this API shall only be used for virtual devices. The standard shall be designed in a way that a command shall only be responded with a default rsp, which will render this API useless.

Generated using TypeDoc