Error sending command with swagger

Santiago7 years ago

I try to send a comnado through swagger and I throw the following error:

can't parse JSON. Raw result:

Command >SSG01;ID=AA02;#0001;*53< is not supported in protocol taip - RuntimeException (BaseProtocol:85 < ActiveDevice:47 < DeviceManager:479 < ...)

Anton Tananaev7 years ago

You are using wrong command type.

Santiago7 years ago

Taip supports only custom messages.
Can you send custom messages from swagger?

Anton Tananaev7 years ago

I'm not sure what you mean by "from swagger". Swagger is just a documentation format.

To send custom command you need to set type to "custom" and include actual command in the "data" attribute.

Santiago7 years ago

I try to send a perosnalized command from the api but I can only set device id and the command does not allow me to enter the type.

Anton Tananaev7 years ago

Sounds like a limitation of the tools that you are using.