Script (for IPv4):
Code: Select all
socat TCP-LISTEN:50000,reuseaddr,fork,max-children=1 file:/dev/ttySC0,raw,b9600,csize=2,nonblock,echo=0
Code: Select all
socat TCP6-LISTEN:50000,reuseaddr,fork,max-children=1 file:/dev/ttySC0,raw,b9600,csize=2,nonblock,echo=0
Connection over IPv4 is fine, I'm able to communicate with the meter.
IPv6 results in "300003101 Bad Connection to iSerial".
I verified that the TCP port is open in both cases (IPv4 & IPv6).
Please advise if I'm doing something wrong here. Thanks.