Definition at line 136 of file wg0x.h.
Verify CRC stored in actuator info structure.
ActuatorInfo now constains two CRCs. Originally all devices had EEPROMS with 264 byte pages, and only crc264 was used. However, support was need for EEPROM with 246 byte pages. To have backwards compatible support, there is also a CRC of first 252 (256-4) bytes.
Devices configure in past will only have 264 byte EEPROM pages, and 264byte CRC. Newer devices might have 256 or 264 byte pages. The 264 byte EEPROMs will store both CRCs. The 256 byte EEPROMs will only store the 256 byte CRC.
Thus:
- Old software will be able to use 264 byte EEPROM with new dual CRC.
- New software will be able to use 264 byte EEPROM with single 264 byte CRC
- Only new sofware will be able to use 256 byte EEPROM
- Parameters:
-
com | EtherCAT communication class used for communicating with device |
- Returns:
- true if CRC is good, false if CRC is invalid
Definition at line 130 of file wg0x.cpp.