send and receive HEX over TTL

I will use this data to give information about the device status.

Give what information to what?

In the end I just want to be able to compare this reply

You can compare arrays, so collapsing the array into a single variable is not necessary.

I thought a variable would be suitable.

But, what type of variable?

Maybe String would be possible?

No.