Yes, I see what you mean. The serial data is sent by the receiver (COM15) and received by the emitter (COM14). Is the sender COM15 is sending hex data, but the receiver is reading binary data?
Here are the pertinent serial.write() serial.read() portions:
Serial writing:
myNumber.UL = results->value;
Serial.write(&myNumber.B,4);
//Serial.print(myNumber.UL, HEX);
Readback:
void loop() {
int x = 0;
while (x < 4) {
if (Serial.available()) myNumber.B[x++] = Serial.read();
} Serial.print(myNumber.UL, HEX);
if (x==3) irsend.sendNEC(myNumber.UL, 32);