Check whether the serial port communication parameters of both the sending and receiving sides are the same, to be strictly consistent Oh.
Receive the data in HEX mode with the serial port assistant and see if it is the same as what you sent.
The following picture shows the interface of GXi Fiberhome Serial Assistant.