Sending Hex values using arduino ide

Hello I am trying to send hex values to serial then monitoring the response I get from a old current loop device.

This is my code:

void setup() {
  // put your setup code here, to run once:

  pinMode(13, OUTPUT);
Serial.begin(4800,SERIAL_8E1);
}

void loop() {
  // put your main code here, to run repeatedly:
  delay(10000);
  byte inByte1 = 0xF1;
  byte inByte2 = 0x10;
  byte inByte3 = 0xB0;
  
  Serial.write(inByte1);
  Serial.write(inByte2);
  Serial.write(inByte3);
delay(70);

byte inByte4 = 0xE1;
 while (Serial.available()) {
    byte inChar = Serial.read();
    Serial.println(inChar);
    if(inChar == inByte4)
    {
       digitalWrite(13, !digitalRead(13));
    }
  }

}

When I run this exact hex through a fdti usb device using my windows delphi program I get a response however when I run this through the nano I am using I get no response from the device.

I also get this in my serial monitor

ñ°ñ°ñ°ñ°

This is the result I get after 4 loops. I know that this is not a well formed question but if you can see anything that would result in the hex values being sent incorrectly please let me know.

I think the serial monitor is 8N1.

Serial.begin(4800,SERIAL_8E1);

Thanks that might be it

If that is all you change, you will still get the "funny characters" instead of the hex values. Is that what you want?

Yeay, serial monitor sees every received byte as an ascii character...

I have checked the request from my delphi program by linking the usb fdti to the nano and I get out

241
16
176

and when I monitor my nano using the serial to usb I get

241
16
176

Is it possible that although they are displaying the same the output values are different as the one gets a response the other doesnt

Those appear to be the correct decimal values for those hex numbers. Is that what you want? If you want a hex output, you should use this.

  Serial.println(inByte1,HEX);
  Serial.println(inByte2,HEX);
  Serial.println(inByte3,HEX);

Maybe you need to use a proper terminal program.
I often use Realterm.

http://realterm.sourceforge.net/

Okay I have removed the link to the current loop device and have just linked the tx straight to the rx and this is my code.

void setup() {

  pinMode(13, OUTPUT);
Serial.begin(4800,SERIAL_8E1);
}

void loop() {

  byte inByte1 = 0xF1;

  delay(3600);
  Serial.println(inByte1,HEX);


delay(80);

 while (Serial.available()) {
 byte inChar = Serial.read();
    if(inChar == inByte1)
    {
       digitalWrite(13, !digitalRead(13));
    }
    delay(3600);
  }
 delay(3600);
}

Why would the led not blink?

I have now used a real program and integrated a usb to serial listener into my circuit. I am receiving the hex values perfectly F1 11 B0 E1 from my input of F1 11 B0 but when I try read those the serial buffer on the arduino is empty. Any suggestions