Beginner - Sending Hex with TCP

  • Platform information:

    • OS: Linux
    • openHAB version: 2.5
  • Issue of the topic:
    I am using OpenHab for the first time and have some simple automations with two devices that use ASCII text over TCP. I had a 3rd device I need to work with which uses raw hex over TCP although the termination character is the same as the other devices.

For the ASCII Devices I would send a command like this:
DenonPOA.sendCommand(“ST12CONT”)

How can I send a command to the hex device? (eg. 21 02 00 01 F0)