HTTP standard driver wait response

When you send the HTTP command via the script, for example
IR.GetDevice('DEVICE').Send(['GET,/remoteAction=11,']);
This command make some action. But if the controlled device doesn't confirm the command receiving by some response, driver will wait for this response about 5 seconds. In this 5 seconds you can not send any other commands to the device.
The driver is not waiting for 5 seconds becauseit is getting something back from the device.

The problem is that the HTTP driver waits for data anyway, the variant without data after the request was not provided.
You can use TCP driver instead of HTTP to send commands, it is not waiting for ~5 seconds.

Example of HTTP request
GET /wiki/HTTP HTTP/1.0\r\n
Host: ru.wikipedia.org\r\n
\r\n
Example for iRidium (TCP):
IR.GetDevice("DEVICE").Send(['GET /wiki/HTTP HTTP/1.0\r\nHost: ru.wikipedia.org\r\n\r\n']);

Эта статья помогла вам?

Сервис поддержки клиентов работает на платформе UserEcho