• Send a default 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: LibertasClusterCmd | LibertasCommand

      The command.

    • status: number

      Status code.

    • 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. If the standard is designed in a way that a command shall only be responded with default rsp, then the framework shall automatically respond, which makes this call unnecessary.

    Right now the device must be a virtual device. It may change in the future.

Generated using TypeDoc