Changes for BNAÖ case 41, 42, 16.
This commit is contained in:
parent
4eabff268e
commit
40848344f5
@ -1058,15 +1058,15 @@ char T_datif::loadRecDataFromFrame()
|
|||||||
//if (RdDleng>50) // 1.8.23 nach Verlängerung des Datensatzes um 20byte falsch!!!
|
//if (RdDleng>50) // 1.8.23 nach Verlängerung des Datensatzes um 20byte falsch!!!
|
||||||
//{
|
//{
|
||||||
gpi_storeVaultRecord(readAddress, receivedData ); // always/max 64byte
|
gpi_storeVaultRecord(readAddress, receivedData ); // always/max 64byte
|
||||||
/*
|
/*
|
||||||
qDebug()<<"datif cmd38 got vault data. blockNr: "<<readAddress;
|
qDebug()<<"datif cmd38 got vault data. blockNr: "<<readAddress;
|
||||||
if (readAddress==5)
|
if (readAddress==0)
|
||||||
for (nn=0; nn<64; nn+=8)
|
for (nn=0; nn<64; nn+=8)
|
||||||
{
|
{
|
||||||
qDebug()<<receivedData[nn]<<" "<<receivedData[nn+1]<<" "<<receivedData[nn+2]<<" "<<receivedData[nn+3]<<" "
|
qDebug()<<receivedData[nn]<<" "<<receivedData[nn+1]<<" "<<receivedData[nn+2]<<" "<<receivedData[nn+3]<<" "
|
||||||
<<receivedData[nn+4]<<" "<<receivedData[nn+5]<<" "<<receivedData[nn+6]<<" "<<receivedData[nn+7];
|
<<receivedData[nn+4]<<" "<<receivedData[nn+5]<<" "<<receivedData[nn+6]<<" "<<receivedData[nn+7];
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
//}
|
//}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -1085,17 +1085,35 @@ char T_datif::loadRecDataFromFrame()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 41: // get BNA parameters
|
||||||
|
if (RdDleng>50)
|
||||||
|
{
|
||||||
|
gpi_storeBnaParams(receivedData);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 21: // readback version strings of all Json-File in DC
|
case 21: // readback version strings of all Json-File in DC
|
||||||
//
|
//
|
||||||
gpi_storeJsonVersion(readAddress, receivedData);
|
gpi_storeJsonVersion(readAddress, receivedData);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 116: // get BNA current collection
|
||||||
|
if (RdDleng>7)
|
||||||
|
{
|
||||||
|
gpi_storeBnaCollection(receivedData);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 42: // get BNA box content and value of types
|
||||||
|
// qDebug()<< "CAmaster datif_got 42 ";
|
||||||
|
// for (uctmp=0; uctmp<64; uctmp++)
|
||||||
|
// qDebug()<<receivedData[uctmp]<<" ";
|
||||||
|
|
||||||
|
if (RdDleng>60)
|
||||||
|
{
|
||||||
|
gpi_storeBnaContent(receivedData);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
readSource=0; // 17.05.2023: to avoid multiple recording
|
readSource=0; // 17.05.2023: to avoid multiple recording
|
||||||
|
Loading…
Reference in New Issue
Block a user