• Protocols
  • [Test protocol | Telnet] How to change response object.

Hi all ,
I have following situation:

  1. I have a device with test channel (tcp)
  2. I add a command in command queue with hex value
  3. I connect to device via telnet
  4. Get auto response with same hex in result object

Log message:
...
properties : Object
{
hex : "123"
}
response : Object
{
hex : "123"
}

I want to get following response :
...
properties : Object
{
hex : "123"
}
response : "123"

Could you tell me how I can do it ?
Thanks in advance.

    Hello. Please do not use the test protocol for production. This protocol is designed for testing purposes only.

      Yes I know, and I need to test some function. I use it not for production

        It just simulated device. Not real

          As I said before, this protocol is not intended for real use. And it always responds to the command with an echo.

            Write a Reply...