Receiving binary values in the tcp binding

The TCP/UDP binding v1 is now quite elderly, and unmaintained. There may well be a bug causing it to truncate at x0000, or rather some missing option feature to handle it.

The docs say

They send and receive data as ASCII strings.

which I think means you are goosed because x00 is ASCII nul character and will terminate a string.

Can’t even offer an OH3 version as it hasn’t been invented yet