|
|
@@ -913,17 +913,14 @@ ErrorCodeEnum CPinPadFSM::GetEncryptText(SpReqAnsContext<PinPadService_GetInput_
|
|
|
goto Err;
|
|
|
}
|
|
|
} else if (btCh == 0x3f){
|
|
|
- if (confirm)
|
|
|
- {
|
|
|
+ if (confirm) {
|
|
|
elapsed = GetTickCount() - dwStart;
|
|
|
continue;
|
|
|
}
|
|
|
push_char(buf, &readed, '*');
|
|
|
}else{
|
|
|
Dbg("else[%d]",btCh);
|
|
|
- //continue;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
elapsed = GetTickCount() - dwStart;
|
|
|
@@ -1787,6 +1784,7 @@ bool CPinPadFSM::GetDevInfo(DevCategoryInfo &devInfo)
|
|
|
devInfo.eState = m_eDevState;
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
DevCategoryInfo info;
|
|
|
ZeroMemory(info.szModel, MAX_DEV_MODEL_LEN);
|
|
|
ZeroMemory(info.szType, MAX_DEV_TYPE_LEN);
|
|
|
@@ -1803,10 +1801,12 @@ bool CPinPadFSM::GetDevInfo(DevCategoryInfo &devInfo)
|
|
|
{
|
|
|
LOG_PINPAD_ERROR_MSG_MACRO(eErrDev, GetDevCategory);
|
|
|
}
|
|
|
+
|
|
|
ZeroMemory(devInfo.szModel,MAX_DEV_MODEL_LEN);//CM=V2.0#PM=V1.0#MID=75500001#PID=12345678#FWID=V1234567#Vendor=nantian
|
|
|
ZeroMemory(devInfo.szType,MAX_DEV_TYPE_LEN);
|
|
|
ZeroMemory(devInfo.szVendor,MAX_DEV_VENDOR_LEN);
|
|
|
CSimpleStringA tmpModel("");
|
|
|
+
|
|
|
if (m_szModel.GetLength() > 1)
|
|
|
{
|
|
|
//oilyang@20200807 add FWBID for auth&init
|