Is it possible to set serial port (RS232) line termination character which decimal value is 255 in C++? Tying to communicate with Nextion touch screen, where command lines should be terminated by 0xFF 0xFF 0xFF
characters (without spaces).
<code>private: System::IO::Ports::SerialPort^ serialPort = (gcnew System::IO::Ports::SerialPort("COM6"));
this->serialPort->NewLine = "xFFxFFxFF" ; // Not working - 255 character replaced by 0x3f
</code>
<code>private: System::IO::Ports::SerialPort^ serialPort = (gcnew System::IO::Ports::SerialPort("COM6"));
this->serialPort->NewLine = "xFFxFFxFF" ; // Not working - 255 character replaced by 0x3f
</code>
private: System::IO::Ports::SerialPort^ serialPort = (gcnew System::IO::Ports::SerialPort("COM6"));
this->serialPort->NewLine = "xFFxFFxFF" ; // Not working - 255 character replaced by 0x3f