hi, i need to send an HEX string to my IP controller, based on the feedback 00 or 01 => i can do something else
but how do i need to represent the payload?
i have tried as example :
ED6330\n
or
\xED\x63\x30\n
i have it at the moment working with a curl shell command to a PHP script, but want to use the TCP sensor now instead
i do now, whats also works
curl -o http:\something.php
i get the as output 00 or 01
in my php.file i do something like
$in = hex2bin(ED6330);
socket_write($socket, $in, strlen($in));
# - platform: tcp
# name: Prog2
# host: 192.168.0.10
# port: 1001
# timeout: 5
# payload: ""