Still plugging away at TCP…
Trying to get a sensor working on my Onkyo…
I can SEND commands fine, but I want to read a response from a tcp command…and every time a connection is made to the Onkyo, it responds with a string, which immediately populates the regex response - I need it to ignore the connection response and just show the response to what I send…
I know telnet uses “waitfor” but tcp can’t do that.
Ironically on another tcp device, I DO want the connection response - and can get that with a tcp command of “0x” and nothing else - as it doesn’t send anything, and just reads.
Any ideas?