Added the ability for GVRET serial to try both normal mode and ESP32 mode.

This way it basically automatically detects the proper connection type to use
and uses that mode to connect. That allows both types to work transparent
to the user. They select GVRET and the serial port and away they go.
This commit is contained in:
Collin Kidder
2018-07-22 19:28:51 -04:00
parent a10388d652
commit 2c8e9716a6
2 changed files with 47 additions and 32 deletions
+1
View File
@@ -84,6 +84,7 @@ protected:
bool isAutoRestart;
bool continuousTimeSync;
bool useTcp;
bool espSerialMode; //special serial mode for ESP32 based boards - no flow control and much slower serial baud speed
QSerialPort *serial;
QTcpSocket *tcpClient;
QUdpSocket *udpClient;