mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
use correct constant for matching the qualifier of interrogation
the cause of transmission and qualifier of interrogation share the numeric meanings, e.g the QOI for "station" equals the COT for "interrogated by station". Thus the previous code was not wrong, but still confusing to the reader.
This commit is contained in:
parent
a019465109
commit
54037c89e5
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ bool SlaveNode::onInterrogation(IMasterConnection connection, CS101_ASDU asdu, u
|
|||
|
||||
switch (qoi) {
|
||||
// send initial values for all signals
|
||||
case CS101_COT_INTERROGATED_BY_STATION: {
|
||||
case IEC60870_QOI_STATION: {
|
||||
IMasterConnection_sendACT_CON(connection, asdu, false);
|
||||
|
||||
this->logger->info("received general interrogation");
|
||||
|
|
Loading…
Add table
Reference in a new issue