From 40848344f52e3a84cdc9817c535e65ef96d7304e Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 14 Nov 2023 08:39:15 +0100 Subject: [PATCH] =?UTF-8?q?Changes=20for=20BNA=C3=96=20case=2041,=2042,=20?= =?UTF-8?q?16.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/datIf.cpp | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/src/datIf.cpp b/src/datIf.cpp index 194b261..8b7b71e 100644 --- a/src/datIf.cpp +++ b/src/datIf.cpp @@ -1058,15 +1058,15 @@ char T_datif::loadRecDataFromFrame() //if (RdDleng>50) // 1.8.23 nach Verlängerung des Datensatzes um 20byte falsch!!! //{ gpi_storeVaultRecord(readAddress, receivedData ); // always/max 64byte - /* +/* qDebug()<<"datif cmd38 got vault data. blockNr: "<50) + { + gpi_storeBnaParams(receivedData); + } + break; case 21: // readback version strings of all Json-File in DC // gpi_storeJsonVersion(readAddress, receivedData); 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()<60) + { + gpi_storeBnaContent(receivedData); + } + break; } readSource=0; // 17.05.2023: to avoid multiple recording