Let me complete the example given for the node when you use V_IR_SEND.
In order to send IR codes you need to transform the
code in an unsigned long:
    char ircode[11] = {0};  // in case your code takes the form of 0xE0E0FF0F
    ...
    if (message.type == V_IR_SEND) {
      String hexstring = message.getString();
      hexstring.toCharArray(ircode, sizeof(ircode));
      ...
      // get the code as an unsigned long
      unsigned long code = strtoul(ircode, NULL, 0);
      // with IRLib send the code to TV
      sendSAMSUNG(code);
      ...
Very simple, ** but is hard to find an example**!