Searched refs:expectedCRC (Results 1 – 4 of 4) sorted by relevance
22 static unsigned short expectedCRC; variable169 if (expectedCRC != 0) { in GetByte()192 expectedCRC = 0; in ispVM()199 expectedCRC = crc; in ispVM()249 if (cRetCode == 0 && expectedCRC != 0 && in ispVM()250 (expectedCRC != g_usCalculatedCRC)) { in ispVM()251 printf("Expected CRC: 0x%.4X\n", expectedCRC); in ispVM()
75 uint16_t expectedCRC = generateCRC(); in validate() local76 if (expectedCRC != crc) in validate()78 throw ModbusCRCException(expectedCRC, crc); in validate()
87 explicit ModbusCRCException(uint16_t expectedCRC, uint16_t crc) : in ModbusCRCException() argument89 "CRC mismatch, expected: " + std::to_string(expectedCRC) + in ModbusCRCException()
445 auto expectedCRC = (configuration->crcUser << 16) | configuration->crcMulti; in checkMTPCRC() local456 lg2::hex, expectedCRC); in checkMTPCRC()458 co_return crc == expectedCRC; in checkMTPCRC()