I think you can disable the software flow control.
With software ﬂow control (host to host), two ASCII characters are given special meanings. The character 0x13 (ControlS or DC3 or XOFF) when sent across the serial link tells the other side to stop sending. The character 0x11 (Control-Q or DC1 or XON) tells the other side to resume sending. When oftware ﬂow control is in use, it follows that these characters cannot be sent as part of the data stream.
When sending API packets it isn’t possible to avoid the need to include the software control characters. For instance, checksums and addresses can contain any values. Therefore the API escape mode (AP=2) exists. In this mode the
character 0x7d is deﬁned as the escape character. When a host wants to transmit 0x11 or 0x13 it transmits the escape
character ﬁrst, and then the desired character XORed with 0x20