about mod develop

Forum Home Forums Development and Integration about mod develop

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16494
    Zeus
    Participant

    Hello, I have developed a Mod plugin and encountered an issue. After receiving a command, I want to return whether the command was executed successfully, but I cannot find an entry to check if the command was successfully issued to the device.

    I saw the code below.
    public CommandResult SendCommand(TeleCommand command, WriteCommandFlags flags)
    It check user right and whether the configuration is correct or not.

    Do you have any suggestion?

    I think it is important to let the sender know whether the command was executed successfully.

    #16495
    manjey73
    Participant

    It seems that the fact that the Server sends a command does not guarantee that the device executes the command. For example, an erroneous value that the device will not accept.
    It is necessary to wait for feedback from the device driver.

    #16497
    Mikhail
    Moderator

    Hello,
    To indicate whether a command is processed successfully, a device should write some data into the device tag.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.