Hello
In a smart serial protocol that have ip as ANY, im receiving data from many source, when i send a command obviously it is send it to all the device, I’m read about use the after response, using this method the command have to wait until the device send a message?
its the only way to send commands to multi device or there is and other type of connection?
There is an example of how put the commands with the after-response trigger?
Thanks
Juan
Hi Juan,
It's indeed correct that DataMiner sends to all connected clients in a smart-serial connector that is configured as server, when the action is not the result of an 'after response' trigger. This is explained here. I don't immediately have an example unfortunately.
If you want to send something to a specific client, it's probably best to add a second connection to your connector. Then you could use the 'dynamic ip' option on that second connection, to first set the destination IP and port before sending the command. See this page for more information.
hi Tom, there ir a way to capture the IP from the incoming connecion?