新增 dll 通过串口获取 EF3固件版本号

This commit is contained in:
zhengxuan.zhang
2022-10-12 16:13:53 +08:00
parent 82115577c2
commit abc78bfa0b
18 changed files with 792 additions and 703 deletions
@@ -175,6 +175,7 @@ DWORD CPSerial::Open()
// Setup the port according to the stored parameters
if (ProgramPort(m_Port, m_Baud, m_Parity, m_Bits, m_StopBits, m_HandShake))
{
TRACE(_T("CmmIO> Port OPEN %s\n", m_Port), Ok);
// Setup the timeouts
CommTimeOut.ReadIntervalTimeout = 25;
CommTimeOut.ReadTotalTimeoutMultiplier = 1;