|
|
@@ -34,7 +34,7 @@ int CLNBuffer::HasPack()
|
|
|
CString imei;
|
|
|
if (pContext) if (((CLNContext*)pContext)->m_mapImei.size()) imei = ((CLNContext*)pContext)->m_mapImei.begin()->first;
|
|
|
CSimpleLog::Error(fmt::format("[设备]{}未找到7B丢弃数据{}:({}){}", imei, m_nPos,
|
|
|
- CSimpleLog::GetHexString(m_pBuffer, m_nPos), CString((char*)m_pBuffer, m_nPos)).c_str());
|
|
|
+ CString((char*)m_pBuffer, m_nPos), CSimpleLog::GetHexString(m_pBuffer, m_nPos)).c_str());
|
|
|
m_nPos = 0;
|
|
|
return 0;
|
|
|
}
|
|
|
@@ -43,7 +43,7 @@ int CLNBuffer::HasPack()
|
|
|
CString imei;
|
|
|
if (pContext) if (((CLNContext*)pContext)->m_mapImei.size()) imei = ((CLNContext*)pContext)->m_mapImei.begin()->first;
|
|
|
CSimpleLog::Error(fmt::format("[设备]{}找到7B丢弃7B之前的数据{}:({}){}", imei, nStart,
|
|
|
- CSimpleLog::GetHexString(m_pBuffer, nStart), CString((char*)m_pBuffer, nStart)).c_str());
|
|
|
+ CString((char*)m_pBuffer, nStart), CSimpleLog::GetHexString(m_pBuffer, nStart)).c_str());
|
|
|
m_nPos -= nStart;
|
|
|
memmove(m_pBuffer, m_pBuffer + nStart, m_nPos);
|
|
|
nStart = 0;
|
|
|
@@ -58,7 +58,7 @@ int CLNBuffer::HasPack()
|
|
|
CString imei;
|
|
|
if (pContext) if (((CLNContext*)pContext)->m_mapImei.size()) imei = ((CLNContext*)pContext)->m_mapImei.begin()->first;
|
|
|
CSimpleLog::Error(fmt::format("[设备]{}找7D丢弃7B之前的数据{}:({}){}", imei, i,
|
|
|
- CSimpleLog::GetHexString(m_pBuffer, i), CString((char*)m_pBuffer, i)).c_str());
|
|
|
+ CString((char*)m_pBuffer, i), CSimpleLog::GetHexString(m_pBuffer, i)).c_str());
|
|
|
m_nPos -= i;
|
|
|
memmove(m_pBuffer, m_pBuffer + i, m_nPos);
|
|
|
nStart = 0;
|