基线:UDP 收包长度校验 + SQLite 表描述符重构 + 清理设计文档

This commit is contained in:
zjk
2026-08-19 22:31:23 +08:00
parent e455e2e9da
commit 7819ea621f
8 changed files with 486 additions and 1139 deletions
+2 -1
View File
@@ -342,12 +342,13 @@ bool LowerCommManager::listenThreadFunc()
{
try
{
memset(Buff, 0, sizeof(Buff));
int nRead = m_udpComm->udpScoket->iRecieveMessage(Buff, sizeof(Buff));
cout<<MOOS::ConsoleColours::yellow()<< "RECEVE DATA COUNT:" << nRead << MOOS::ConsoleColours::reset() << endl;
if(nRead > 0)
{
try {
if(m_udpComm->pushMsgToQueue(Buff))
if(m_udpComm->pushMsgToQueue(Buff, nRead))
{
//更新当前状态
if(!updatePoweSystemStates())